Notice
Use q4e or m2eclipse instead. Now q4e and m2eclipse supports WTP directly. This project remains for history :)
Release History
- 0.1.2 (2007/08/03) - Added to proper classpath entries according to build scopes
- 0.1.1 (2007/06/26) - Fixed to display the popup menu labels correctly
- 0.1.0 (2007/05/31) - First released
Introduction
This plugin provides the integration of m2eclipse and Eclipse WTP.
M2WTP has the same goal with LibCopy, but manages J2EE module dependency instead of links(virtual file). The followings are differences from LibCopy.
- Adds maven artifacts as required J2EE modules instead of links.
- Imports from maven project model directly, so don't need Maven Classpath Container.
- Supports the dependency between maven projects in local workspace.
- Provides the different classpath types as build scopes.
This plugin requires Eclipse WTP 1.5.x or higher, m2eclipse 0.0.11.20070603-1200. m2eclipse 0.0.11 is the current snapshot version, so it is also distributed to ensure the integrity between M2WTP and m2eclipse. m2eclipse distributed here is the exactly same with m2eclipse update-dev, but later versions than 0.0.11.20070603-1200 may not compatible with m2wtp.
M2WTP is not a mature project yet, but It will be more efficient with this plugin when using Eclipse WTP and m2eclipse.
Please use the issue tracker if you have anything to suggest or find a bug.
Install
Requirements : Eclipse WTP 1.5.x or 2.0.x, J2SE 5.0 or higher
Install : Use Update Manager M2WTP Update Site
Usage
- Add Classpath Variable "M2_REPO" properly (maybe "<USER_HOME>/.m2/repository")
- Remove "Maven2 Dependencies" Classpath Container from Maven Web Project
- Right-click a Maven Web Project and Select "Add M2WTP Builder"
- modify pom.xml
- check J2EE Module Dependency in Project Properties and Web Library Classpath Container