disabled RAT plugin by default and updated the docs for releasing explaining how to enable it.

This commit is contained in:
Andy Taylor 2015-03-24 09:51:59 +00:00
parent 23c4d78eae
commit d30ffb79c8
2 changed files with 3 additions and 39 deletions

View File

@ -12,7 +12,7 @@ Things to do before issuing a new release:
* Bump the version numbers in example and test poms to the next release version. e.g. 6.0.0 * Bump the version numbers in example and test poms to the next release version. e.g. 6.0.0
* Build the release locally: mvn clean install -Prelease * Build the release locally: mvn clean install -DskipLicenseCheck=false -Prelease
* Test the standalone release (this should be done on windows as well as linux): * Test the standalone release (this should be done on windows as well as linux):
1. Unpack the distribution zip or tar.gz 1. Unpack the distribution zip or tar.gz

40
pom.xml
View File

@ -97,7 +97,7 @@
-Djava.net.preferIPv4Stack=true -Djava.net.preferIPv4Stack=true
</activemq-surefire-argline> </activemq-surefire-argline>
<activemq.basedir>${project.basedir}</activemq.basedir> <activemq.basedir>${project.basedir}</activemq.basedir>
<skipLicenseCheck>false</skipLicenseCheck> <skipLicenseCheck>true</skipLicenseCheck>
<skipStyleCheck>false</skipStyleCheck> <skipStyleCheck>false</skipStyleCheck>
<geronimo.jms.2.spec.version>1.0-alpha-1</geronimo.jms.2.spec.version> <geronimo.jms.2.spec.version>1.0-alpha-1</geronimo.jms.2.spec.version>
</properties> </properties>
@ -901,48 +901,12 @@
<failOnError>false</failOnError> <failOnError>false</failOnError>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<skip>${skipLicenseCheck}</skip>
<basedir>${activemq.basedir}</basedir>
<header>etc/license-header.txt</header>
<quiet>false</quiet>
<failIfMissing>true</failIfMissing>
<includes>
<include>**/*.java</include>
</includes>
<excludes>
<exclude>**/filter/impl/Identifier.java</exclude>
<exclude>**/filter/impl/Operator.java</exclude>
<exclude>**/filter/impl/RegExp.java</exclude>
<exclude>**/utils/UUID*.java</exclude>
<exclude>**/org/apache/activemq/selector/**</exclude>
<exclude>**/org/apache/activemq/utils/json/**</exclude>
<exclude>**/org/apache/activemq/utils/Base64.java</exclude>
</excludes>
<useDefaultExcludes>true</useDefaultExcludes>
<strictCheck>true</strictCheck>
<mapping>
<java>JAVADOC_STYLE</java>
</mapping>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.rat</groupId> <groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId> <artifactId>apache-rat-plugin</artifactId>
<version>0.11</version> <version>0.11</version>
<configuration> <configuration>
<skip>${skipLicenseCheck}</skip>
<excludes> <excludes>
<exclude>**/*.bin</exclude> <exclude>**/*.bin</exclude>
<exclude>**/*.log</exclude> <exclude>**/*.log</exclude>