You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2013/06/17 09:30:16 UTC

svn commit: r1493664 - /httpcomponents/project/trunk/pom.xml

Author: olegk
Date: Mon Jun 17 07:30:15 2013
New Revision: 1493664

URL: http://svn.apache.org/r1493664
Log:
Added HC styleckeck dependency to Stylecheck plugin config

Modified:
    httpcomponents/project/trunk/pom.xml

Modified: httpcomponents/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/project/trunk/pom.xml?rev=1493664&r1=1493663&r2=1493664&view=diff
==============================================================================
--- httpcomponents/project/trunk/pom.xml (original)
+++ httpcomponents/project/trunk/pom.xml Mon Jun 17 07:30:15 2013
@@ -567,6 +567,32 @@ Felix bundle plugin updated: 2.3.5 -> 2.
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.9.1</version>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.httpcomponents</groupId>
+              <artifactId>hc-stylecheck</artifactId>
+              <version>1</version>
+            </dependency>
+          </dependencies>
+          <configuration>
+            <encoding>UTF-8</encoding>
+          </configuration>
+          <executions>
+            <execution>
+              <id>validate</id>
+              <phase>validate</phase>
+              <configuration>
+                <configLocation>hc-stylecheck/default.xml</configLocation>
+                <headerLocation>hc-stylecheck/asl2.header</headerLocation>
+                <consoleOutput>true</consoleOutput>
+                <failsOnError>true</failsOnError>
+                <linkXRef>false</linkXRef>
+              </configuration>
+              <goals>
+                <goal>checkstyle</goal>
+              </goals>
+            </execution>
+          </executions>
         </plugin>
       </plugins>
     </pluginManagement>