Hi Laetitia,

Have you try your rules with Checkstyle only ? Your error seems to be an error on your rules and not an error on the maven plugins configuration.

Christophe DENEUX
Capgemini Sud - Nice

Laetitia Juers wrote:

Oops sorry, you're right ...
=========================================
I need to customize the Checkstyle plugin with some new rules. They are written
in a package and defined in a configuration XML file.

I have follow the M2 recommendations
http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html.

When i use the mvn checkstyle:checkstyle, i have this M2 error :

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Failed during checkstyle configuration
TreeWalker is not allowed as a parent of CheckNJ2EE203
[INFO] ------------------------------------------------------------------------



Thanks for advices.



Selon Rolf Strijdhorst <[EMAIL PROTECTED]>:

Sorry,
but what error this is just a link,
I think there went something wrong with your copy-past action




--

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to