Maven 2 and Eclipse WTP 2.0
Currently the stable builds for Eclipse plug-in for Maven 2 ( maven-eclipse-plugin ) do not support WTP version 2.0. However, the latest snapshot of the Eclipse plug-in does already support also WTP 2.0, and seems to be fairly stable.
To enable the snapshot plug-ins (and WTP 2.0 support) first add this to your project pom.xml:
mvn -Dwtpversion=2.0 eclipse:eclipse.
To enable the snapshot plug-ins (and WTP 2.0 support) first add this to your project pom.xml:
<repositories>
<repository>
<id>apache.snapshots</id>
<url>http://people.apache.org/maven-snapshot-repository/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache.snapshots</id>
<url>http://people.apache.org/maven-snapshot-repository/</url>
</pluginRepository>
</pluginRepositories>
mvn -Dwtpversion=2.0 eclipse:eclipse.
Re: Maven 2 and Eclipse WTP 2.0
I was making one last search for WTP 2 support and found this article. I got the 2.5 plug-in and it seemed to work very well until I tried deploying an EAR to OC4J. The EAR was empty when deployed. Have you gotten this plug-in to work? If so, what did you deploy and on what app server?