You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2013/04/12 20:16:48 UTC
svn commit: r1467392 - /accumulo/branches/1.5/pom.xml
Author: ctubbsii
Date: Fri Apr 12 18:16:48 2013
New Revision: 1467392
URL: http://svn.apache.org/r1467392
Log:
ACCUMULO-1269 Check licenses only on apache-release or check-licenses profile activation
Modified:
accumulo/branches/1.5/pom.xml
Modified: accumulo/branches/1.5/pom.xml
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/pom.xml?rev=1467392&r1=1467391&r2=1467392&view=diff
==============================================================================
--- accumulo/branches/1.5/pom.xml (original)
+++ accumulo/branches/1.5/pom.xml Fri Apr 12 18:16:48 2013
@@ -691,13 +691,8 @@
</profile>
<profile>
<!-- Automatically check for licenses.
- Deactivate with -DskipLicenseCheck -->
+ Activate with -P check-licenses -->
<id>check-licenses</id>
- <activation>
- <property>
- <name>!skipLicenseCheck</name>
- </property>
- </activation>
<build>
<plugins>
<plugin>
@@ -836,18 +831,29 @@
</dependencyManagement>
</profile>
<profile>
- <!-- Seal jars when either the apache-release profile is
- activated or when tests are skipped -->
+ <!-- Seal jars, skip tests, and do license checks when
+ the apache-release profile is activated. -->
<id>apache-release</id>
- <activation>
- <property>
- <name>skipTests</name>
- </property>
- </activation>
<properties>
<sealJars>true</sealJars>
<skipTests>true</skipTests>
</properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>verify</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>
</project>