There is a pretty comprehensive list of additional configs that you can add as documented on maven-eclipse-plugin page:
http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html

I would suggest that you start by adding maven-eclipse-plugin config in the root POM. It would be carried over to all of your sub maven projects. Then if you want to overwrite certain maven-eclipse-plugin configs for particular maven projects, i.e. WAR or EARs may need additional eclipse facet configs, you could simply override maven-eclipse-config for that particular pom.

Here's a sample for the maven-eclipse-plugin for root POM. Note that it's specifically targetted for Eclipse 3.2 based environment (will also work for RAD 6.x/RAD 7). Use "eclipse:rad" mojo to generate RAD WTP resources ,and "eclipse:eclipse" if you are working in Eclipse 3.2.x or higher environment. Hope this helps.

<!-- maven-eclipse-plugin config for generating WTP 1.5 settings for WAR and EARs properly -->
   <plugin>

  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-eclipse-plugin</artifactId>
  <configuration>

    <manifest>
         ${basedir}/src/main/resources/META-INF/MANIFEST.MF
    </manifest>

    <addVersionToProjectName>true</addVersionToProjectName>
    <useProjectReferences>false</useProjectReferences>

    <wtpmanifest>true</wtpmanifest>
    <wtpapplicationxml>true</wtpapplicationxml>
    <wtpversion>1.5</wtpversion>

    <additionalBuildcommands>
        
<buildcommand>com.ibm.etools.common.migration.MigrationBuilder</buildcommand>
        <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
        
<buildcommand>org.eclipse.wst.common.project.facet.core.builder</buildcommand>
        
<buildcommand>org.eclipse.wst.validation.validationbuilder</buildcommand>
    </additionalBuildcommands>
    <additionalProjectnatures>
        
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
        <projectnature>org.eclipse.jdt.core.javanature</projectnature>
        
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
        <projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature>
    </additionalProjectnatures>
    <classpathContainers>
        
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
    </classpathContainers>

    </configuration>

    </plugin>
    <!-- maven-eclipse-plugin -->

--
Salman Moghal

----- Original Message ----- From: "jeffpuro" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, March 06, 2008 12:10 PM
Subject: Adding additional information using MVN eclipse:eclipse



I need to add additional information into my project files that
"eclipse:eclipse" generates.  Is this possible to do using the eclipse
plugin for maven?

Thanks,

Jeff
--
View this message in context: http://www.nabble.com/Adding-additional-information-using-MVN-eclipse%3Aeclipse-tp15878724s177p15878724.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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]

Reply via email to