RSS feed
<< Notes on Pocket Internet Explorer (Windows Mobile 2003 SE) | Home | Tip: native2ascii, Apache Ant, Eclipse and SoyLatte JVM >>

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:

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

After this run the eclipse:eclipse goal with wtpversion-property, e.g.
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?

Add a comment Send a TrackBack