[关闭]
@nextleaf 2018-11-07T11:05:17.000000Z 字数 875 阅读 2341

idea 使用原型模板(archetype)创建项目

未分类


archetype-catalog.xml
地址:https://repo.maven.apache.org/maven2/archetype-catalog.xml

File
New Project
Maven
create from archetype
Add Archetype

以关键字查找archetype-catalog.xml里的相关的groupId、artifactId、version等,然后填上去

添加后选中该项,创建项目。


摘自archetype-catalog.xml

  1. <archetype>
  2. <groupId>com.alexanderperucci</groupId>
  3. <artifactId>spring-grow</artifactId>
  4. <version>1.0.1</version>
  5. <description>可以生成一个安全的Spring MVC Web应用程序(XML配置)的Maven原型</description>
  6. </archetype>
  7. <archetype>
  8. <groupId>ml.rugal.archetype</groupId>
  9. <artifactId>springmvc-spring-mybatis</artifactId>
  10. <version>0.1</version>
  11. <description>一个基于Spring MVC弹簧和Mybatis的JavaEE应用原型</description>
  12. </archetype>
  13. <archetype>
  14. <groupId>net.coding.chenxiaobo</groupId>
  15. <artifactId>base-framework-archetype</artifactId>
  16. <version>1.0.0.RELEASE</version>
  17. <description>BASIC框架是Java Web框架的权限管理系统,基于Spring、Mybatis、Spring MVC、Apache SHIO</description>
  18. </archetype>

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注