commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1601531 - in /commons/proper/weaver/trunk: pom.xml src/site/markdown/building.md
Date Mon, 09 Jun 2014 23:53:38 GMT
Author: mbenson
Date: Mon Jun  9 23:53:37 2014
New Revision: 1601531

URL: http://svn.apache.org/r1601531
Log:
skin the Maven 3.2.x cat another way

Modified:
    commons/proper/weaver/trunk/pom.xml
    commons/proper/weaver/trunk/src/site/markdown/building.md

Modified: commons/proper/weaver/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/pom.xml?rev=1601531&r1=1601530&r2=1601531&view=diff
==============================================================================
--- commons/proper/weaver/trunk/pom.xml (original)
+++ commons/proper/weaver/trunk/pom.xml Mon Jun  9 23:53:37 2014
@@ -62,7 +62,6 @@ under the License.
 
     <ant.version>1.9.3</ant.version>
     <checkstyle.version>2.11</checkstyle.version>
-    <build-tools.version>${project.version}</build-tools.version>
   </properties>
 
   <developers>
@@ -388,21 +387,6 @@ under the License.
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>${checkstyle.version}</version>
-        <dependencies>
-          <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>commons-weaver-build-tools</artifactId>
-            <version>${build-tools.version}</version>
-          </dependency>
-        </dependencies>
-        <configuration>
-          <configLocation>org/apache/commons/weaver/checkstyle.xml</configLocation>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>
         <executions>
           <execution>
@@ -436,22 +420,6 @@ under the License.
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>commons-weaver-build-tools</artifactId>
-            <version>${build-tools.version}</version>
-          </dependency>
-        </dependencies>
-        <configuration>
-          <rulesets>
-            <ruleset>/org/apache/commons/weaver/pmd.xml</ruleset>
-          </rulesets>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>
         <configuration>
           <autoVersionSubmodules>true</autoVersionSubmodules>
@@ -548,20 +516,6 @@ under the License.
           </execution>
         </executions>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <dependencies>
-          <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>commons-weaver-build-tools</artifactId>
-            <version>${build-tools.version}</version>
-          </dependency>
-        </dependencies>
-        <configuration>
-          <excludeFilterFile>/org/apache/commons/weaver/findbugs-exclude-filter.xml</excludeFilterFile>
-        </configuration>
-      </plugin>
     </plugins>
   </build>
 
@@ -644,6 +598,63 @@ under the License.
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>quality</id>
+      <activation>
+        <property>
+          <name>!quality.skip</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-checkstyle-plugin</artifactId>
+            <version>${checkstyle.version}</version>
+            <dependencies>
+              <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>commons-weaver-build-tools</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+            </dependencies>
+            <configuration>
+              <configLocation>org/apache/commons/weaver/checkstyle.xml</configLocation>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-pmd-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>commons-weaver-build-tools</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+            </dependencies>
+            <configuration>
+              <rulesets>
+                <ruleset>/org/apache/commons/weaver/pmd.xml</ruleset>
+              </rulesets>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>findbugs-maven-plugin</artifactId>
+            <dependencies>
+              <dependency>
+                <groupId>${project.groupId}</groupId>
+                <artifactId>commons-weaver-build-tools</artifactId>
+                <version>${project.version}</version>
+              </dependency>
+            </dependencies>
+            <configuration>
+              <excludeFilterFile>/org/apache/commons/weaver/findbugs-exclude-filter.xml</excludeFilterFile>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <modules>

Modified: commons/proper/weaver/trunk/src/site/markdown/building.md
URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/src/site/markdown/building.md?rev=1601531&r1=1601530&r2=1601531&view=diff
==============================================================================
--- commons/proper/weaver/trunk/src/site/markdown/building.md (original)
+++ commons/proper/weaver/trunk/src/site/markdown/building.md Mon Jun  9 23:53:37 2014
@@ -34,7 +34,7 @@ avoid further surprises down the line.
 Additionally, many Maven multimodule build such as this one will be
 afflicted by <http://jira.codehaus.org/browse/MNG-5601>; to perform a build
 using Apache Maven >= 3.2.1, you can bypass this issue by specifying
-`-Dbuild-tools.version=1.0` at the command line.
+`-Dquality.skip=true` at the command line.
 
 ### Testing with security enabled
 The Privilizer is the fundamental "guinea pig" weaver module.



Mime
View raw message