NIFI-245: make the maven plugin releasable. Signed-off-by: joewitt <joew...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/83dc1334 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/83dc1334 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/83dc1334 Branch: refs/heads/develop Commit: 83dc133472e36a118bc797da9e9df9f7c10d4fff Parents: 7ded997 Author: Benson Margulies <ben...@basistech.com> Authored: Sun Jan 11 08:45:25 2015 -0500 Committer: joewitt <joew...@apache.org> Committed: Sun Jan 11 14:41:10 2015 -0500 ---------------------------------------------------------------------- nar-maven-plugin/pom.xml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/83dc1334/nar-maven-plugin/pom.xml ---------------------------------------------------------------------- diff --git a/nar-maven-plugin/pom.xml b/nar-maven-plugin/pom.xml index 7d1a7e6..8ace19f 100644 --- a/nar-maven-plugin/pom.xml +++ b/nar-maven-plugin/pom.xml @@ -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>