hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1495819 - in /httpcomponents/httpasyncclient/trunk: asl2.header hc-checkstyle.xml pom.xml
Date Sun, 23 Jun 2013 14:13:26 GMT
Author: olegk
Date: Sun Jun 23 14:13:26 2013
New Revision: 1495819

URL: http://svn.apache.org/r1495819
Log:
Changed to use shared checkstyle config v1

Removed:
    httpcomponents/httpasyncclient/trunk/asl2.header
    httpcomponents/httpasyncclient/trunk/hc-checkstyle.xml
Modified:
    httpcomponents/httpasyncclient/trunk/pom.xml

Modified: httpcomponents/httpasyncclient/trunk/pom.xml
URL: http://svn.apache.org/viewvc/httpcomponents/httpasyncclient/trunk/pom.xml?rev=1495819&r1=1495818&r2=1495819&view=diff
==============================================================================
--- httpcomponents/httpasyncclient/trunk/pom.xml (original)
+++ httpcomponents/httpasyncclient/trunk/pom.xml Sun Jun 23 14:13:26 2013
@@ -250,19 +250,43 @@
         <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>
+            <id>validate-main</id>
             <phase>validate</phase>
             <configuration>
-              <configLocation>hc-checkstyle.xml</configLocation>
+              <configLocation>hc-stylecheck/default.xml</configLocation>
+              <headerLocation>hc-stylecheck/asl2.header</headerLocation>
               <consoleOutput>true</consoleOutput>
               <failsOnError>true</failsOnError>
               <linkXRef>false</linkXRef>
-              <sourceDirectory>${basedir}/src</sourceDirectory>
+              <sourceDirectory>${basedir}/src/main</sourceDirectory>
+              <sourceDirectory>${basedir}/src/test</sourceDirectory>
+            </configuration>
+            <goals>
+              <goal>checkstyle</goal>
+            </goals>
+          </execution>
+          <execution>
+            <id>validate-examples</id>
+            <phase>validate</phase>
+            <configuration>
+              <configLocation>hc-stylecheck/minimal.xml</configLocation>
+              <headerLocation>hc-stylecheck/asl2.header</headerLocation>
+              <consoleOutput>true</consoleOutput>
+              <failsOnError>true</failsOnError>
+              <linkXRef>false</linkXRef>
+              <sourceDirectory>${basedir}/src/examples</sourceDirectory>
             </configuration>
             <goals>
               <goal>checkstyle</goal>



Mime
View raw message