Hi All,

using: Maven 2.0.4

I defined the checkstyle reporting plugin in my parent pom, and for a
specific child project I want to skip the generation of this report.
I tried this:

parent pom:

<reporting>
 <plugins>
   ...
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-checkstyle-plugin</artifactId>
     </plugin>
...
 </plugins>
</reporting>

and in the child pom

<reporting>
 <plugins>
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-checkstyle-plugin</artifactId>
       <configuration>
         <skip>true</skip>
       </configuration>
   </plugin>
 </plugins>
</reporting>


hoping that this would override the parent settings but it persists to
generate the report.

Any idea ?

regards

Jerome T.

Reply via email to