Rolf Strijdhorst wrote:
Hi I have a custom configuration.
But both the sun conventions are checked as well as my own.
I don't need the sun conventions
btw the build needs to fail on violations so I added the check goal.
here is the part of the config:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<executions>
<execution>
<id>basisregistratie styles release 1</id>
<phase>process-sources</phase>
<configuration>
<configLocation>
br_styles_release1.xml
</configLocation>
<suppressionsLocation>
suppressions.xml
</suppressionsLocation>
<failOnViolation>true</failOnViolation>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</plugin>
thanx
Rolf
Did you try the standard configuration [1] for this first?
<project>
...
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>br_styles_release1.xml</configLocation>
<suppressionsLocation>suppressions.xml</suppressionsLocation>
</configuration>
</plugin>
</plugins>
</reporting>
...
</project>
[1]http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html
--
Dennis Lundberg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]