Author: ptahchiev Date: Mon Apr 7 09:47:14 2008 New Revision: 645604 URL: http://svn.apache.org/viewvc?rev=645604&view=rev Log: moved the checkstyle plugin to only the modules that need checkstyle check.
Modified: jakarta/cactus/trunk/framework/pom.xml jakarta/cactus/trunk/integration/pom.xml jakarta/cactus/trunk/pom.xml Modified: jakarta/cactus/trunk/framework/pom.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/framework/pom.xml?rev=645604&r1=645603&r2=645604&view=diff ============================================================================== --- jakarta/cactus/trunk/framework/pom.xml (original) +++ jakarta/cactus/trunk/framework/pom.xml Mon Apr 7 09:47:14 2008 @@ -85,4 +85,33 @@ <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=645604&r1=645603&r2=645604&view=diff ============================================================================== --- jakarta/cactus/trunk/integration/pom.xml (original) +++ jakarta/cactus/trunk/integration/pom.xml Mon Apr 7 09:47:14 2008 @@ -33,5 +33,34 @@ <module>maven</module> <module>eclipse</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/pom.xml URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/pom.xml?rev=645604&r1=645603&r2=645604&view=diff ============================================================================== --- jakarta/cactus/trunk/pom.xml (original) +++ jakarta/cactus/trunk/pom.xml Mon Apr 7 09:47:14 2008 @@ -17,12 +17,12 @@ specific language governing permissions and limitations under the License. --> -<project> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.cactus</groupId> <artifactId>cactus</artifactId> <name>Cactus Parent Project</name> - <version>1.8.0-SNAPSHOT</version> + <version>1.8.1-SNAPSHOT</version> <packaging>pom</packaging> <url>http://jakarta.apache.org/cactus/</url> <inceptionYear>2001</inceptionYear> @@ -442,31 +442,6 @@ <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> - <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> <plugin> <executions> <execution> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]