You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/03/06 14:57:40 UTC
incubator-taverna-maven-parent git commit: optionally do rat-checks
only on release
Repository: incubator-taverna-maven-parent
Updated Branches:
refs/heads/master c230abcda -> 7963fb255
optionally do rat-checks only on release
.. and always do -Papache-release on release:*
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/commit/7963fb25
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/tree/7963fb25
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/diff/7963fb25
Branch: refs/heads/master
Commit: 7963fb255eb8066728cce6c1e0f1bf9ebc2bccd6
Parents: c230abc
Author: Stian Soiland-Reyes <st...@apache.org>
Authored: Fri Mar 6 13:57:17 2015 +0000
Committer: Stian Soiland-Reyes <st...@apache.org>
Committed: Fri Mar 6 13:57:17 2015 +0000
----------------------------------------------------------------------
pom.xml | 43 +++++++++++++++++++++++++++++++++++++------
1 file changed, 37 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-maven-parent/blob/7963fb25/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 38e25ff..f7ec735 100644
--- a/pom.xml
+++ b/pom.xml
@@ -299,14 +299,9 @@ upgraded - this leads to recursive spaghetti.
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.11</version>
<executions>
<execution>
- <id>rat-checks</id>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
+ <!-- activated by -Papache-release -->
</execution>
</executions>
<configuration>
@@ -325,10 +320,24 @@ upgraded - this leads to recursive spaghetti.
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+ <releaseProfiles>apache-release</releaseProfiles>
+ </configuration>
+ </plugin>
+
</plugins>
<pluginManagement>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.11</version>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -346,6 +355,28 @@ upgraded - this leads to recursive spaghetti.
</plugins>
</pluginManagement>
</build>
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rat-checks</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<reporting>
<plugins>
<plugin>