开发者

Maven2 WTP version for Eclipse

开发者 https://www.devze.com 2023-03-11 14:03 出处:网络
I want to use Maven 2 for buliding Web App using Spring 3.05 and Hibernate 3.6 on Tomcat 6 and JDK 1.6.20

I want to use Maven 2 for buliding Web App using Spring 3.05 and Hibernate 3.6 on Tomcat 6 and JDK 1.6.20

In order to convert Maven WEb Project to Eclipse Web Project I need to use the following command:

mvn -Dwtpversion=[something] eclipse:eclipse

In Maven+ Eclipse documentation I can see that The plugin actually can create WTP R7, 1.0, 开发者_JAVA技巧1.5 and 2.0 configuration files.

Which version should I use in my case? What are the other versions need for? If I check in Eclipse it seems like I have WTP 3.1.1 installed.

Please elaborate.


If you are using m2eclipse - eclipse plugin for maven support, you can import the maven project to eclipse without needing to run maven eclipse plugin. This will save you the trouble of having to specify version.

0

精彩评论

暂无评论...
验证码 换一张
取 消