Skip to content

Instantly share code, notes, and snippets.

@gwenn
Created November 22, 2024 18:16
Show Gist options
  • Save gwenn/c15f6ef5fa6ebc39fea5672c08f4c338 to your computer and use it in GitHub Desktop.
Save gwenn/c15f6ef5fa6ebc39fea5672c08f4c338 to your computer and use it in GitHub Desktop.
Maven settings
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<skipJacoco>true</skipJacoco>
<checkstyle.skip>false</checkstyle.skip>
<skipPurge>true</skipPurge>
</properties>
</profile>
<profile>
<!-- https://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-network-issues.html#deploying-to-a-local-staging-directory -->
<!-- https://stackoverflow.com/questions/3298135/how-to-specify-mavens-distributionmanagement-organisation-wide/55615274#55615274 -->
<id>staging-deploy</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!--altSnapshotDeploymentRepository>local::file:./target/staging-deploy</altSnapshotDeploymentRepository>
<altReleaseDeploymentRepository>local::file:./target/staging-deploy</altReleaseDeploymentRepository-->
<altDeploymentRepository>local::file:./target/staging-deploy</altDeploymentRepository>
</properties>
</profile>
</profiles>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment