You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by pt...@apache.org on 2008/04/07 18:50:06 UTC
svn commit: r645607 - in /jakarta/cactus/trunk: framework/pom.xml
integration/pom.xml
Author: ptahchiev
Date: Mon Apr 7 09:50:05 2008
New Revision: 645607
URL: http://svn.apache.org/viewvc?rev=645607&view=rev
Log:
moved the checkstyle in plugins section.
Modified:
jakarta/cactus/trunk/framework/pom.xml
jakarta/cactus/trunk/integration/pom.xml
Modified: jakarta/cactus/trunk/framework/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/framework/pom.xml?rev=645607&r1=645606&r2=645607&view=diff
==============================================================================
--- jakarta/cactus/trunk/framework/pom.xml (original)
+++ jakarta/cactus/trunk/framework/pom.xml Mon Apr 7 09:50:05 2008
@@ -29,12 +29,33 @@
<packaging>pom</packaging>
<artifactId>cactus.core.framework</artifactId>
<build>
- <plugins>
- <plugin>
+ <plugins>
+ <!-- Apply checkstyle rules and fail the build in case of errors. The checkstyle config
+ files are taken from the build-tools JAR module -->
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cactus</groupId>
+ <artifactId>cactus.build.tools</artifactId>
+ <version>${version}</version>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <consoleOutput>true</consoleOutput>
+ <configLocation>build-tools/checkstyle.xml</configLocation>
+ <headerLocation>build-tools/checkstyle.license</headerLocation>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
- </plugins>
+ </plugins>
</build>
<dependencies>
@@ -85,33 +106,4 @@
<module>framework-wrappers</module>
<module>framework-uberjars</module>
</modules>
- <build>
- <pluginManagement>
- <!-- Apply checkstyle rules and fail the build in case of errors. The checkstyle config
- files are taken from the build-tools JAR module -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.apache.cactus</groupId>
- <artifactId>cactus.build.tools</artifactId>
- <version>${version}</version>
- </dependency>
- </dependencies>
- <configuration>
- <consoleOutput>true</consoleOutput>
- <configLocation>build-tools/checkstyle.xml</configLocation>
- <headerLocation>build-tools/checkstyle.license</headerLocation>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </pluginManagement>
- </build>
</project>
Modified: jakarta/cactus/trunk/integration/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/integration/pom.xml?rev=645607&r1=645606&r2=645607&view=diff
==============================================================================
--- jakarta/cactus/trunk/integration/pom.xml (original)
+++ jakarta/cactus/trunk/integration/pom.xml Mon Apr 7 09:50:05 2008
@@ -34,7 +34,7 @@
<module>eclipse</module>
</modules>
<build>
- <pluginManagement>
+ <plugins>
<!-- Apply checkstyle rules and fail the build in case of errors. The checkstyle config
files are taken from the build-tools JAR module -->
<plugin>
@@ -60,7 +60,7 @@
</execution>
</executions>
</plugin>
- </pluginManagement>
+ </plugins>
</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org