Subject: Maven -- Import Java WebApp project into Eclipse IDE WTP
Author: Alex_Raj
Posted on: 03/29/2012 01:33:11 PM
To convert Java web application into Eclipse IDE with the support of WTP, type in the command:
mvn eclipse:eclipse -Dwtpversion=2.0
Output:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building MyWebProject Maven Webapp 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-eclipse-plugin:2.9:eclipse (default-cli) @ MyWebProject >>>
[INFO]
[INFO] <<< maven-eclipse-plugin:2.9:eclipse (default-cli) @ MyWebProject <<<
[INFO]
[INFO] --- maven-eclipse-plugin:2.9:eclipse (default-cli) @ MyWebProject ---
[INFO] Adding support for WTP version 2.0.
[INFO] Using Eclipse Workspace: null
[INFO] Adding default classpath container: org.eclipse.jdt.launching.JRE_CONTAIN
ER
[INFO] Not writing settings - defaults suffice
[INFO] Wrote Eclipse project for "MyWebProject" to C:\HelloWorld\Maven\MyFirstWe
bProject\MyWebProject.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.254s
[INFO] Finished at: Thu Mar 28 23:19:49 PDT 2012
[INFO] Final Memory: 7M/154M
[INFO] ------------------------------------------------------------------------
Replies:
References: