Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions java-showcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
<checkstyle.skip>true</checkstyle.skip>
<clirr.skip>true</clirr.skip>
<enforcer.skip>true</enforcer.skip>
<maven.deploy.skip>true</maven.deploy.skip>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In addition to maven.deploy.skip, it is often necessary to set skipNexusStagingDeployMojo to true when using the nexus-staging-maven-plugin (common in Google Cloud Java projects) to fully skip the deployment process. This ensures that the staging process is also bypassed.

    <maven.deploy.skip>true</maven.deploy.skip>
    <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
References
  1. In Maven aggregator POMs that are not parent POMs, it is acceptable to use skip tags to disable plugin configurations for the aggregator itself.

<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def get_version_from(
[
"google-auth-library-java",
"sdk-platform-java",
"java-showcase",
]
)

Expand Down
Loading