MyEclipse + Maven開發Web工程的詳細配置過程

來源:互聯網
上載者:User

標籤:style   blog   http   color   os   io   ar   for   2014   

http://b-l-east.iteye.com/blog/1246482


1.workspace下

mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp

  1. D:\study\workspace4>mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp  
  2. [INFO] Scanning for projects...  
  3. ....  
  4. [INFO] Generating project in Interactive mode  
  5. Define value for property ‘groupId‘: : com.xjd  
  6. Define value for property ‘artifactId‘: : mywebapp  
  7. Define value for property ‘version‘:  1.0-SNAPSHOT: :  
  8. Define value for property ‘package‘:  com.xjd: :  
  9. Confirm properties configuration:  
  10. groupId: com.xjd  
  11. artifactId: mywebapp  
  12. version: 1.0-SNAPSHOT  
  13. package: com.xjd  
  14.  Y: : Y  
  15. ....  
  16. [INFO] BUILD SUCCESS  
  17. [INFO] -----------------------------------------  
  18. [INFO] Total time: 1:46.199s  
  19. [INFO] Finished at: Wed Nov 09 15:02:18 CST 2011  
  20. [INFO] Final Memory: 6M/15M


2.匯入該maven項目

3.增加web project

選擇工程-->MyEclipse-->Project Capabilities-->Add Web Project Capabilites




就是copy,請參看原文章好了,麻煩

MyEclipse + Maven開發Web工程的詳細配置過程

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.