put some thing like this in your root pom sothat you can setup code formater
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5-SNAPSHOT</version>
<configuration>
<workspace>${basedir}</workspace>
<wtpversion>1.5</wtpversion>
<workspaceCodeStylesURL>
http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-eclipse-plugin/src/optional/eclipse-config/maven-styles.xml
</workspaceCodeStylesURL>
</configuration>
</plugin>
.....
then run 'mvn eclipse:configure-workspace' at your root
On 10/11/07, Leo Liang <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> How can I specify the eclipse code formatter profile in POM file, so
> that the profile is activated in eclipse project generated by mvn
> eclipse:eclipse?
>
> I don't want to import the profile in Eclispe manually. I wish that
> everybody check out the code from SCM, and run mvn eclipse:eclipse,
> then he/she gets the environment ready.
>
> --
> -----------------------------------------------------------------------------------------
> Leo Liang
> E-mail: [EMAIL PROTECTED]
> -----------------------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]