NIFI-245: make the maven plugin releasable.

Signed-off-by: joewitt <joewitt@apache.org>
This commit is contained in:
Benson Margulies 2015-01-11 08:45:25 -05:00 committed by joewitt
parent 7ded9970a2
commit 83dc133472
1 changed files with 18 additions and 11 deletions

View File

@ -163,17 +163,24 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<arguments>-P apache-release,check-licenses</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>clean compile javadoc:aggregate deploy</goals>
<preparationGoals>clean compile javadoc:aggregate verify</preparationGoals>
<tagNameFormat>@{project.version}</tagNameFormat>
<releaseProfiles>seal-jars</releaseProfiles>
<useReleaseProfile>false</useReleaseProfile>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
<executions>
<execution>
<id>default</id>
<goals>
<goal>prepare</goal>
<goal>perform</goal>
</goals>
<configuration>
<pomFileName>platform/pom.xml</pomFileName>
<arguments>-P apache-release,check-licenses</arguments>
<autoVersionSubmodules>true</autoVersionSubmodules>
<goals>deploy</goals>
<tagNameFormat>@{project.version}</tagNameFormat>
<pushChanges>false</pushChanges>
<localCheckout>true</localCheckout>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>