Hi Christophe,
 
Have you try something like this:
 
<plugin>
     <artifactId>maven-eclipse-plugin</artifactId>
     <groupId>org.apache.maven.plugins</groupId>
     <version>2.3</version>
     <configuration>
      <additionalBuildCommands>
       <buildcommand>
        com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder
       </buildcommand>
      </additionalBuildCommands>
      <additionalProjectnatures>
       <projectnature>
        com.atlassw.tools.eclipse.checkstyle.CheckstyleNature
       </projectnature>
      </additionalProjectnatures>
      <additionalConfig>
       <!-- Checkstyle configuration files -->
       <file>
        <name>.checkstyle</name>
        <content>
         <![CDATA[
         <?xml version="1.0" encoding="UTF-8"?>
          <fileset-config file-format-version="1.2.0" simple-config="true">
           <local-check-config name="MyCheckstyleConfig" 
location="checkstyle.xml" type="external" description="">
            <additional-data name="protect-config-file" value="false"/>
           </local-check-config>
           <fileset name="tous" enabled="true" 
check-config-name="MyCheckstyleConfig" local="true">
            <file-match-pattern match-pattern="." include-pattern="true"/>
           </fileset>
          </fileset-config>
         ]]>
        </content>
       </file>
      </additionalConfig>
     </configuration>
    </plugin>   
 
 
where <content> is the content of the file generated by Eclipse: ..checkstyle 
at the project root directory.
 
_______________________________________________________________________________
Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 95 55 92 / www.capgemini.com <http://www.capgemini.com/> 
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice / FRANCE
Join the Collaborative Business Experience
_______________________________________________________________________________
Please consider the environment and do not print this email unless absolutely 
necessary. Capgemini encourages environmental awareness.

________________________________

De: Christophe Hamerling - EBM WebSourcing [mailto:[EMAIL PROTECTED]
Date: ven. 25/05/2007 09:24
À: maven ml
Objet : Can Eclipse plugin generate checkstyle configuration?



Hi,

I can not find any information on the web on the checkstyle integration
in eclipse plugin.
I have followed the custom checkstyle coonfiguration as described here
http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/custom-developed-checkstyle.html

I wonder if the eclipse plugin can include my custom checkstyle
configuration in the generated eclipse files.

Thank you

Christophe
--
*Christophe Hamerling*
PEtALS research engineer / Community manager   

*Work:* +33 5 61 28 56 46
        *Email:* [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
*IM:* christophe.hamerling (Skype)
*http://www.linkedin.com/in/chamerling
*My blog <http://www.ebmwebsourcing.com/chamerling>* *
* *    
        *eBM WebSourcing* <http://www.ebmwebsourcing.com 
<http://www.ebmwebsourcing.com/> >
10 avenue de l'Europe
<http://maps.google.com/maps?q=10+avenue+de+l%27Europe%2CRamonville+St+Agne%2C31520%2CFrance&hl=en>
Ramonville St Agne, 31520 France


       





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.

Reply via email to