More respect of ASF rules
-------------------------
Key: SHINDIG-222
URL: https://issues.apache.org/jira/browse/SHINDIG-222
Project: Shindig
Issue Type: Improvement
Reporter: Vincent Siveton
I propose to integrate 2 useful Maven plugins which check ASF rules. You could
include them directly in the build or in the release profile.
Using <pluginManagement/> to specify version or default configuration is always
better in Maven world.
* Rat Maven Plugin
http://mojo.codehaus.org/rat-maven-plugin/
Goal: rat:check => Verify all java files.
Notes: You could include all files or custom files
{noformat}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
<version>1.0-alpha-3</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
<configuration>
<includes>
<include>**/*.java</include>
</includes>
</configuration>
</plugin>
{noformat}
* Geronimo Genesis Plugins :: Tools
http://geronimo.apache.org/maven/genesis/plugins/tools-maven-plugin/index.html
Goal: tools:verify-legal-files => Verify files in shindig.war
{noformat}
<plugin>
<groupId>org.apache.geronimo.genesis.plugins</groupId>
<artifactId>tools-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>verify-legal-files</id>
<phase>verify</phase>
<goals>
<goal>verify-legal-files</goal>
</goals>
<configuration>
<strict>true</strict>
</configuration>
</execution>
</executions>
</plugin>
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.