Hi again,
here my plugin configuration. Actually, it's the example given by the post
of Salman. I've added new version of the eclipse plugin and uncommented a
part I didn't understand if need it. Though, I tried versioned projects too.
:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.5-SNAPSHOT</version>
<configuration>
<!--
addVersionToProjectName>true</addVersionToProjectName>
<useProjectReferences>false</useProjectReferences-->
<wtpmanifest>true</wtpmanifest>
<wtpapplicationxml>true</wtpapplicationxml>
<wtpversion>1.5</wtpversion>
<additionalBuildcommands>
<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.wst.common.modulecore.ModuleCoreNature</projectnature>
</additionalProjectnatures>
<classpathContainers>
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
<classpathContainer>org.eclipse.jst.j2ee.internal.module.container</classpathContainer>
</classpathContainers>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<displayName>${project.name}-${project.version}</displayName>
<description>
${project.description}
</description>
<version>1.4</version>
<modules>
<webModule>
<groupId>sample-ear</groupId>
<artifactId>mca-sample-web</artifactId>
<contextRoot>mca-sample-web</contextRoot>
</webModule>
</modules>
</configuration>
</plugin>
</plugins>
--
View this message in context:
http://www.nabble.com/maven-eclipse-plugin-2.4---versioned-projects-tp15699476s177p16007425.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]