Created
December 12, 2011 19:51
-
-
Save ludovicc/1468796 to your computer and use it in GitHub Desktop.
Maven - configure the Release plugin to work with a Git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<version>2.2.1</version> | |
<configuration> | |
<autoVersionSubmodules>true</autoVersionSubmodules> | |
<!-- required for Git --> | |
<localCheckout>true</localCheckout> | |
<preparationGoals>clean verify</preparationGoals> | |
<releaseProfiles>release</releaseProfiles> | |
<goals>javadoc:jar site site-deploy deploy</goals> | |
</configuration> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment