My guess is that your configuration is in the wrong place. Have you read
the "Maven 3 Compatibility Notes" and "Maven 3 and Site Plugin"?

https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes

https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+and+site+plugin

Is the snippet below from the <build> or from the <reporting> section of
your POM?

On 2010-10-15 23:52, Thiessen, Todd (Todd) wrote:
> Is anyone else having trouble with the maven-checkstyle-plugin with maven 
> 3.0? Specifically with using a custom rule set. The following snippet would 
> find our custom rules in 2.2.1 but does not in 3.0.
> 
>         <plugin>
>           <groupId>org.apache.maven.plugins</groupId>
>           <artifactId>maven-checkstyle-plugin</artifactId>
>           <version>2.6</version>
>           <configuration>
>              <violationSeverity>warning</violationSeverity>
>              <consoleOutput>true</consoleOutput>
>           </configuration>
>           <executions>
>              <execution>
>                 <id>checkstyle-main</id>
>                 <phase>verify</phase>
>                 <goals><goal>check</goal></goals>
>              </execution>
>           </executions>
>           <dependencies>
>             <dependency>
>               <groupId>groupid.of.rules</groupId>
>               <artifactId>artifactid.of.rules</artifactId>
>               <version>version.of.rules</version>
>             </dependency>
>           </dependencies>
>         </plugin>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to