Or you can add that to your project module's pom.xml:
<build>
<plugins>
<plugin>
<!-- No checkstyles check for this old project. Not going to javadoc
all methods which are not even all clear what they do. -->
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<failOnViolation>false</failOnViolation>
</configuration>
</plugin>
</plugins>
</build>
But be aware, that disabling the checkstyles should not be you're common
approach ;).
Better correct the checkstyles in the project (which is not always possible due
to time schedules).
Cheers
Christian
On Dec 15, 2010, at 8:53 AM, Matteo Pelucco wrote:
>
> On 15.12.2010 08:32, medikgt wrote:
>>
>>
>> Hi,
>>
>> I see. If it's more of a style problem and not a compilation problem, I
>> should be able to just disable it for now so it can compile (at least for
>> now). Where would I find the configuration for the maven-checkstyle-plugin?
>
> You can simply disable it at build time with this option:
>
> -Dcheckstyle.skip=true (command line mvn properties)
>
> Here you can find documentation..
>
> http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.html
>
> HTH,
> Matteo
>
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
Best regards,
Christian Ringele
Magnolia International Ltd.
Magnolia® - Simple Open Source Content Management
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------