creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pottlin...@apache.org
Subject svn commit: r1618992 - in /creadur/whisker/trunk: apache-whisker-cli/pom.xml apache-whisker-plugin4maven/pom.xml pom.xml
Date Tue, 19 Aug 2014 21:11:13 GMT
Author: pottlinger
Date: Tue Aug 19 21:11:13 2014
New Revision: 1618992

URL: http://svn.apache.org/r1618992
Log:
WHISKER-12 Cleanup Build Infrastructure

- Adding RAT profile and RAT report to mvn-site.
- Adding animal-sniffer to check for JDK1.5.
- Upgrading dependencies.


Modified:
    creadur/whisker/trunk/apache-whisker-cli/pom.xml
    creadur/whisker/trunk/apache-whisker-plugin4maven/pom.xml
    creadur/whisker/trunk/pom.xml

Modified: creadur/whisker/trunk/apache-whisker-cli/pom.xml
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-cli/pom.xml?rev=1618992&r1=1618991&r2=1618992&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-cli/pom.xml (original)
+++ creadur/whisker/trunk/apache-whisker-cli/pom.xml Tue Aug 19 21:11:13 2014
@@ -19,67 +19,54 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
-
   <parent>
     <groupId>org.apache.creadur.whisker</groupId>
     <artifactId>apache-whisker</artifactId>
     <version>0.2-SNAPSHOT</version>
   </parent>
-
   <artifactId>apache-whisker-cli</artifactId>
   <packaging>jar</packaging>
-
   <dependencies>
     <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging-api</artifactId>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging-api</artifactId>
     </dependency>
-
     <dependency>
       <groupId>commons-cli</groupId>
       <artifactId>commons-cli</artifactId>
     </dependency>
-
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-scan</artifactId>
       <version>${project.version}</version>
     </dependency>
-
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-xml</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-model</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-velocity</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-app</artifactId>
       <version>${project.version}</version>
     </dependency>
   </dependencies>
-
-
-<!--
+  <!--
 
 =================================
 Build
@@ -90,14 +77,13 @@ Build
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-shade-plugin</artifactId>
-        <version>2.1</version>
+        <version>2.2</version>
         <executions>
           <execution>
             <phase>package</phase>
             <goals>
               <goal>shade</goal>
             </goals>
-
             <configuration>
               <transformers>
                 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
@@ -108,7 +94,7 @@ Build
                 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
                   <addHeader>true</addHeader>
                 </transformer>
-                 <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer">
+                <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer">
                 </transformer>
                 <transformer implementation="org.apache.maven.plugins.shade.resource.IncludeResourceTransformer">
                   <resource>META-INF/LICENSE</resource>
@@ -121,9 +107,34 @@ Build
       </plugin>
     </plugins>
   </build>
-
-
- <!--
+  <profiles>
+    <profile>
+      <id>rat</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <configuration>
+              <excludes>
+                <exclude>dependency-reduced-pom.xml</exclude>
+                <exclude>src/main/resources/META-INF/jdom_LICENSE</exclude>
+                <exclude>src/main/resources/META-INF/jdom_NOTICE</exclude>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+  <!--
 
 
   ================================
@@ -132,5 +143,4 @@ Build
   <name>Apache Whisker::Command Line Interface</name>
   <description>Command line interface for Apache Whisker.</description>
   <url>http://creadur.apache.org/whisker/apache-whisker-cli</url>
-
 </project>

Modified: creadur/whisker/trunk/apache-whisker-plugin4maven/pom.xml
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/apache-whisker-plugin4maven/pom.xml?rev=1618992&r1=1618991&r2=1618992&view=diff
==============================================================================
--- creadur/whisker/trunk/apache-whisker-plugin4maven/pom.xml (original)
+++ creadur/whisker/trunk/apache-whisker-plugin4maven/pom.xml Tue Aug 19 21:11:13 2014
@@ -19,16 +19,13 @@
 -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
-
   <parent>
     <groupId>org.apache.creadur.whisker</groupId>
     <artifactId>apache-whisker</artifactId>
     <version>0.2-SNAPSHOT</version>
   </parent>
-
   <artifactId>apache-whisker-plugin4maven</artifactId>
   <packaging>maven-plugin</packaging>
-
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
@@ -36,64 +33,54 @@
       <version>3.2.2</version>
     </dependency>
     <dependency>
-  	  <groupId>org.apache.maven.plugin-tools</groupId>
-	  <artifactId>maven-plugin-annotations</artifactId>
-	  <!-- keep in sync with maven-plugin-plugin version derived from parent -->
-	  <version>3.2</version>
+      <groupId>org.apache.maven.plugin-tools</groupId>
+      <artifactId>maven-plugin-annotations</artifactId>
+      <!-- keep in sync with maven-plugin-plugin version derived from parent -->
+      <version>3.2</version>
     </dependency>
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
     </dependency>
-
     <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging-api</artifactId>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging-api</artifactId>
     </dependency>
-
     <dependency>
       <groupId>junit</groupId>
       <artifactId>junit</artifactId>
       <scope>test</scope>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-scan</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-model</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-app</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-xml</artifactId>
       <version>${project.version}</version>
     </dependency>
-
-
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>apache-whisker-velocity</artifactId>
       <version>${project.version}</version>
     </dependency>
-
     <dependency>
       <groupId>commons-collections</groupId>
       <artifactId>commons-collections</artifactId>
     </dependency>
   </dependencies>
-
   <build>
     <plugins>
       <plugin>
@@ -126,52 +113,54 @@
           <goalPrefix>plugin</goalPrefix>
         </configuration>
       </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-site-plugin</artifactId>
-          <configuration>
-            <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
-            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
-            <relativizeDecorationLinks>false</relativizeDecorationLinks>
-            <!-- reporting plugins are configured according to new mvn3 standard -->
-            <reportPlugins>
-              <!-- Until Maven finds a way to allow inheritance... -->
-              <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-project-info-reports-plugin</artifactId>
-                <version>2.7</version>
-              </plugin>
-              <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-report-plugin</artifactId>
-                <version>2.17</version>
-              </plugin>
-              <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jxr-plugin</artifactId>
-                <version>2.4</version>
-                <configuration>
-                  <linkJavadoc>true</linkJavadoc>
-                </configuration>
-              </plugin>
-              <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-plugin-plugin</artifactId>
-                <version>3.2</version>
-              </plugin>
-              <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-javadoc-plugin</artifactId>
-                <version>2.9.1</version>
-              </plugin>
-            </reportPlugins>
-          </configuration>
-        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <configuration>
+          <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+          <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+          <relativizeDecorationLinks>false</relativizeDecorationLinks>
+          <!-- reporting plugins are configured according to new mvn3 standard -->
+          <reportPlugins>
+            <!-- Until Maven finds a way to allow inheritance... -->
+            <plugin>
+              <groupId>org.apache.rat</groupId>
+              <artifactId>apache-rat-plugin</artifactId>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-project-info-reports-plugin</artifactId>
+              <version>2.7</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-report-plugin</artifactId>
+              <version>2.17</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-jxr-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <linkJavadoc>true</linkJavadoc>
+              </configuration>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-plugin-plugin</artifactId>
+              <version>3.2</version>
+            </plugin>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-javadoc-plugin</artifactId>
+              <version>2.9.1</version>
+            </plugin>
+          </reportPlugins>
+        </configuration>
+      </plugin>
     </plugins>
-
   </build>
-
- <!--
+  <!--
 
 
   ================================
@@ -180,5 +169,4 @@
   <name>Apache Whisker::Plugin(Maven)</name>
   <description>Apache Whisker plugin for Maven.</description>
   <url>http://creadur.apache.org/whisker/apache-whisker-plugin4maven</url>
-
 </project>

Modified: creadur/whisker/trunk/pom.xml
URL: http://svn.apache.org/viewvc/creadur/whisker/trunk/pom.xml?rev=1618992&r1=1618991&r2=1618992&view=diff
==============================================================================
--- creadur/whisker/trunk/pom.xml (original)
+++ creadur/whisker/trunk/pom.xml Tue Aug 19 21:11:13 2014
@@ -16,22 +16,19 @@
   KIND, either express or implied.  See the License for the
   specific language governing permissions and limitations
   under the License.
---><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
-
   <groupId>org.apache.creadur.whisker</groupId>
   <artifactId>apache-whisker</artifactId>
   <version>0.2-SNAPSHOT</version>
   <packaging>pom</packaging>
-
-  <dependencies />
-
+  <dependencies/>
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
     <version>14</version>
   </parent>
-
   <dependencyManagement>
     <dependencies>
       <dependency>
@@ -39,43 +36,36 @@
         <artifactId>velocity</artifactId>
         <version>1.7</version>
       </dependency>
-
       <dependency>
         <groupId>org.jdom</groupId>
         <artifactId>jdom</artifactId>
         <version>1.1.3</version>
       </dependency>
-
       <dependency>
         <groupId>org.apache.commons</groupId>
         <artifactId>commons-lang3</artifactId>
         <version>3.3.2</version>
       </dependency>
-
       <dependency>
         <groupId>commons-cli</groupId>
         <artifactId>commons-cli</artifactId>
         <version>1.2</version>
       </dependency>
-
       <dependency>
-          <groupId>commons-io</groupId>
-          <artifactId>commons-io</artifactId>
-          <version>2.4</version>
+        <groupId>commons-io</groupId>
+        <artifactId>commons-io</artifactId>
+        <version>2.4</version>
       </dependency>
-
       <dependency>
-          <groupId>commons-logging</groupId>
-          <artifactId>commons-logging-api</artifactId>
-          <version>1.1</version>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging-api</artifactId>
+        <version>1.1</version>
       </dependency>
-
       <dependency>
         <groupId>commons-collections</groupId>
         <artifactId>commons-collections</artifactId>
         <version>3.2.1</version>
       </dependency>
-
       <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
@@ -88,10 +78,18 @@
         <version>2.6.0</version>
         <scope>test</scope>
       </dependency>
-
+      <dependency>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <version>0.10</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>2.2</version>
+      </dependency>
     </dependencies>
   </dependencyManagement>
-
   <modules>
     <module>apache-whisker-model</module>
     <module>apache-whisker-scan</module>
@@ -101,8 +99,6 @@
     <module>apache-whisker-cli</module>
     <module>apache-whisker-plugin4maven</module>
   </modules>
-
-
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <target.jdk>1.5</target.jdk>
@@ -129,10 +125,9 @@
     <whisker.site.name>Whisker Website</whisker.site.name>
     <whisker.site.id>org.apache.creadur.whisker.site</whisker.site.id>
   </properties>
-
   <!-- ================================ Build information -->
   <build>
-  <defaultGoal>clean install</defaultGoal>
+    <defaultGoal>clean install</defaultGoal>
     <pluginManagement>
       <plugins>
         <plugin>
@@ -144,157 +139,193 @@
           </configuration>
         </plugin>
         <plugin>
-	        <groupId>org.apache.maven.plugins</groupId>
-	        <artifactId>maven-site-plugin</artifactId>
-	        <version>3.4</version>
-	        <configuration>
-	          <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
-	          <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
-	          <relativizeDecorationLinks>false</relativizeDecorationLinks>
-	          <!-- reporting plugins are configured according to new mvn3 standard -->
-              <!-- Until Maven finds a way to allow inheritance, duplicated in plugin4maven
-->
-	          <reportPlugins>
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-checkstyle-plugin</artifactId>
-	              <version>2.12.1</version>
-	            </plugin>
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-javadoc-plugin</artifactId>
-	              <version>2.9.1</version>
-	            </plugin>
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-jxr-plugin</artifactId>
-	              <version>2.4</version>
-	              <configuration>
-	                <aggregate>true</aggregate>
-	                <linkJavadoc>true</linkJavadoc>
-	              </configuration>
-	            </plugin>
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-surefire-report-plugin</artifactId>
-	              <version>2.17</version>
-	            </plugin>
-	            <plugin>
-	              <artifactId>maven-pmd-plugin</artifactId>
-                      <!-- Later versions require Java 1.6+ -->
-	              <version>3.1</version>
-	              <configuration>
-	                <linkXRef>true</linkXRef>
-	                <sourceEncoding>utf-8</sourceEncoding>
-	                <minimumTokens>100</minimumTokens>
-	                <targetJdk>${target.jdk}</targetJdk>
-	                <excludes>
-	                  <exclude>**/generated/**/*.java</exclude>
-	                  <exclude>**/target/clover/**/*.java</exclude>
-	                </excludes>
-	              </configuration>
-	            </plugin>
-	            <!-- read changes.xml -->
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-changes-plugin</artifactId>
-	              <version>2.10</version>
-	              <reportSets>
-	                <reportSet>
-	                  <reports>
-	                    <report>changes-report</report>
-	                  </reports>
-	                </reportSet>
-	              </reportSets>
-	            </plugin>
-	            <!-- jdepend plugin -->
-	            <plugin>
-	              <groupId>org.codehaus.mojo</groupId>
-	              <artifactId>jdepend-maven-plugin</artifactId>
-	              <version>2.0</version>
-	            </plugin>
-	            <!-- cobertura plugin -->
-	            <plugin>
-	              <groupId>org.codehaus.mojo</groupId>
-	              <artifactId>cobertura-maven-plugin</artifactId>
-	              <version>2.6</version>
-	            </plugin>
-	            <!-- catch code tags -->
-	            <plugin>
-	              <groupId>org.codehaus.mojo</groupId>
-	              <artifactId>taglist-maven-plugin</artifactId>
-	              <version>2.4</version>
-	              <configuration>
-	                <tags>
-	                  <tag>TODO</tag>
-	                  <tag>todo</tag>
-	                  <tag>FIXME</tag>
-	                  <tag>fixme</tag>
-	                  <tag>REFACTOR</tag>
-	                  <tag>refactor</tag>
-	                  <tag>REVIEW</tag>
-	                  <tag>review</tag>
-	                  <tag>@todo</tag>
-	                  <tag>@deprecated</tag>
-	                </tags>
-	              </configuration>
-	            </plugin>
-	            <plugin>
-	              <groupId>org.codehaus.mojo</groupId>
-	              <artifactId>findbugs-maven-plugin</artifactId>
-	              <version>3.0.0</version>
-	            </plugin>
-	            <plugin>
-	              <groupId>org.apache.maven.plugins</groupId>
-	              <artifactId>maven-project-info-reports-plugin</artifactId>
-	              <version>2.7</version>
-	            </plugin>
-
-	          </reportPlugins>
-	        </configuration>
-	      </plugin>
-	      <!-- instrumentalization for cobertura -->
-	      <plugin>
-	        <groupId>org.codehaus.mojo</groupId>
-	        <artifactId>cobertura-maven-plugin</artifactId>
-	        <version>2.5.1</version>
-	        <executions>
-	          <execution>
-	            <goals>
-	              <goal>clean</goal>
-	            </goals>
-	          </execution>
-	        </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-scm-publish-plugin</artifactId>
-            <version>1.1</version>
-            <extensions>true</extensions>
-            <configuration>
-              <!-- svn location for publication -->
-              <pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/creadur/site/trunk/content/whisker/</pubScmUrl>
-            </configuration>
-          </plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-site-plugin</artifactId>
+          <version>3.4</version>
+          <configuration>
+            <outputEncoding>${project.build.sourceEncoding}</outputEncoding>
+            <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
+            <relativizeDecorationLinks>false</relativizeDecorationLinks>
+            <!-- reporting plugins are configured according to new mvn3 standard -->
+            <!-- Until Maven finds a way to allow inheritance, duplicated in plugin4maven
-->
+            <reportPlugins>
+              <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <version>2.12.1</version>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.9.1</version>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+                <version>2.4</version>
+                <configuration>
+                  <aggregate>true</aggregate>
+                  <linkJavadoc>true</linkJavadoc>
+                </configuration>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+                <version>2.17</version>
+              </plugin>
+              <plugin>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <!-- Later versions require Java 1.6+ -->
+                <version>3.1</version>
+                <configuration>
+                  <linkXRef>true</linkXRef>
+                  <sourceEncoding>utf-8</sourceEncoding>
+                  <minimumTokens>100</minimumTokens>
+                  <targetJdk>${target.jdk}</targetJdk>
+                  <excludes>
+                    <exclude>**/generated/**/*.java</exclude>
+                    <exclude>**/target/clover/**/*.java</exclude>
+                  </excludes>
+                </configuration>
+              </plugin>
+              <!-- read changes.xml -->
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-changes-plugin</artifactId>
+                <version>2.10</version>
+                <reportSets>
+                  <reportSet>
+                    <reports>
+                      <report>changes-report</report>
+                    </reports>
+                  </reportSet>
+                </reportSets>
+              </plugin>
+              <!-- jdepend plugin -->
+              <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jdepend-maven-plugin</artifactId>
+                <version>2.0</version>
+              </plugin>
+              <!-- cobertura plugin -->
+              <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>cobertura-maven-plugin</artifactId>
+                <version>2.6</version>
+              </plugin>
+              <!-- catch code tags -->
+              <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>taglist-maven-plugin</artifactId>
+                <version>2.4</version>
+                <configuration>
+                  <tags>
+                    <tag>TODO</tag>
+                    <tag>todo</tag>
+                    <tag>FIXME</tag>
+                    <tag>fixme</tag>
+                    <tag>REFACTOR</tag>
+                    <tag>refactor</tag>
+                    <tag>REVIEW</tag>
+                    <tag>review</tag>
+                    <tag>@todo</tag>
+                    <tag>@deprecated</tag>
+                  </tags>
+                </configuration>
+              </plugin>
+              <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>3.0.0</version>
+              </plugin>
+              <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.7</version>
+              </plugin>
+            </reportPlugins>
+          </configuration>
+        </plugin>
+        <!-- instrumentalization for cobertura -->
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>cobertura-maven-plugin</artifactId>
+          <version>2.5.1</version>
+          <executions>
+            <execution>
+              <goals>
+                <goal>clean</goal>
+              </goals>
+            </execution>
+          </executions>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-scm-publish-plugin</artifactId>
+          <version>1.1</version>
+          <extensions>true</extensions>
+          <configuration>
+            <!-- svn location for publication -->
+            <pubScmUrl>scm:svn:https://svn.apache.org/repos/asf/creadur/site/trunk/content/whisker/</pubScmUrl>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>animal-sniffer-maven-plugin</artifactId>
+        <version>1.11</version>
+        <configuration>
+          <signature>
+            <groupId>org.codehaus.mojo.signature</groupId>
+            <artifactId>java15</artifactId>
+            <version>1.0</version>
+          </signature>
+        </configuration>
+      </plugin>
     </plugins>
     <extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
-         <artifactId>wagon-ssh</artifactId>
-         <version>2.6</version>
+        <artifactId>wagon-ssh</artifactId>
+        <version>2.6</version>
       </extension>
     </extensions>
   </build>
-
+  <profiles>
+    <profile>
+      <id>rat</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <configuration>
+              <excludes>
+              </excludes>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
   <!-- ================================ Project information -->
-
   <name>Apache Whisker</name>
   <description>Apache Whisker wrangles legal documentation for composed applications.</description>
   <url>http://creadur.apache.org/whisker/</url>
   <inceptionYear>2011</inceptionYear>
-
   <licenses>
     <license>
       <name>Apache License, Version 2</name>
@@ -307,18 +338,15 @@
     <name>Apache Software Foundation</name>
     <url>http://www.apache.org</url>
   </organization>
-
   <!-- ================================ Environment -->
   <prerequisites>
     <maven>3.0.2</maven>
   </prerequisites>
-
   <issueManagement>
     <system>JIRA</system>
     <url>https://issues.apache.org/jira/browse/WHISKER</url>
   </issueManagement>
-  
-	<!-- TODO
+  <!-- TODO
 	<ciManagement>
 	        <system>Jenkins</system>
 	        <url>http://ci.apache.org/builders/whisker_trunk</url>
@@ -327,7 +355,6 @@
 	        https://builds.apache.org/job/Creadur-Whisker-Site/ - generate mvn site
 	</ciManagement>
 	 -->
-
   <mailingLists>
     <mailingList>
       <name>Whisker development at Apache Creadur project</name>
@@ -343,21 +370,18 @@
       <archive>http://mail-archives.apache.org/mod_mbox/creadur-commits/</archive>
     </mailingList>
   </mailingLists>
-
   <distributionManagement>
     <site>
-        <id>${whisker.site.id}</id>
-        <name>${whisker.site.name}</name>
-        <url>${whisker.site.url}</url>
+      <id>${whisker.site.id}</id>
+      <name>${whisker.site.name}</name>
+      <url>${whisker.site.url}</url>
     </site>
   </distributionManagement>
-
   <scm>
-  	<url>http://svn.apache.org/repos/asf/creadur/whisker/trunk</url>
-  	<connection>scm:svn:http://svn.apache.org/repos/asf/creadur/whisker/trunk</connection>
-  	<developerConnection>scm:svn:https://svn.apache.org/repos/asf/creadur/whisker/trunk</developerConnection>
+    <url>http://svn.apache.org/repos/asf/creadur/whisker/trunk</url>
+    <connection>scm:svn:http://svn.apache.org/repos/asf/creadur/whisker/trunk</connection>
+    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/creadur/whisker/trunk</developerConnection>
   </scm>
-
   <ciManagement>
     <system>Buildbot</system>
     <url>http://ci.apache.org/builders/whisker-trunk</url>



Mime
View raw message