commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r920816 - in /commons/proper/cli/trunk: pom.xml src/conf/checkstyle.xml
Date Tue, 09 Mar 2010 11:59:53 GMT
Author: niallp
Date: Tue Mar  9 11:59:53 2010
New Revision: 920816

URL: http://svn.apache.org/viewvc?rev=920816&view=rev
Log:
Fix cli for multi-module profile

Modified:
    commons/proper/cli/trunk/pom.xml
    commons/proper/cli/trunk/src/conf/checkstyle.xml

Modified: commons/proper/cli/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/pom.xml?rev=920816&r1=920815&r2=920816&view=diff
==============================================================================
--- commons/proper/cli/trunk/pom.xml (original)
+++ commons/proper/cli/trunk/pom.xml Tue Mar  9 11:59:53 2010
@@ -230,8 +230,9 @@
           <artifactId>maven-checkstyle-plugin</artifactId>
           <version>2.1</version>
           <configuration>
-            <configLocation>src/conf/checkstyle.xml</configLocation>
+            <configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
             <enableRulesSummary>false</enableRulesSummary>
+            <headerFile>${basedir}/src/conf/HEADER.txt</headerFile>
           </configuration>
         </plugin>
         <plugin>

Modified: commons/proper/cli/trunk/src/conf/checkstyle.xml
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/conf/checkstyle.xml?rev=920816&r1=920815&r2=920816&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/conf/checkstyle.xml (original)
+++ commons/proper/cli/trunk/src/conf/checkstyle.xml Tue Mar  9 11:59:53 2010
@@ -77,7 +77,7 @@ limitations under the License.
         <!-- Checks for Headers                              -->
         <!-- See http://checkstyle.sf.net/config_header.html -->
         <module name="Header">
-            <property name="headerFile" value="src/conf/HEADER.txt"/>
+            <property name="headerFile" value="${checkstyle.header.file}"/>
         </module>
 
         <!-- Following interprets the header file as regular expressions. -->



Mime
View raw message