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

View File

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