MyEclipse + Maven开发Web工程的详细配置过程
http://b-l-east.iteye.com/blog/1246482
1.workspace下
mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp
- D:\study\workspace4>mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp
- [INFO] Scanning for projects...
- ....
- [INFO] Generating project in Interactive mode
- Define value for property ‘groupId‘: : com.xjd
- Define value for property ‘artifactId‘: : mywebapp
- Define value for property ‘version‘: 1.0-SNAPSHOT: :
- Define value for property ‘package‘: com.xjd: :
- Confirm properties configuration:
- groupId: com.xjd
- artifactId: mywebapp
- version: 1.0-SNAPSHOT
- package: com.xjd
- Y: : Y
- ....
- [INFO] BUILD SUCCESS
- [INFO] -----------------------------------------
- [INFO] Total time: 1:46.199s
- [INFO] Finished at: Wed Nov 09 15:02:18 CST 2011
- [INFO] Final Memory: 6M/15M
3.增加web project
选择工程-->MyEclipse-->Project Capabilities-->Add Web Project Capabilites
就是copy,请参看原文章好了,麻烦
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。