Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 868 Bytes

File metadata and controls

30 lines (26 loc) · 868 Bytes

Maven-Archetype

java开发脚手架

使用教程

1,下载项目至本地

git clone https://github.com/wenzhuo4657/Maven-Archetype.git

2.进入maven项目根目录执行命令安装至本地

  mvn clean install -DskipTests

3, 本地使用

3.1.命令模式使用

mvn archetype:generate                                  \
  -DarchetypeGroupId=<archetype-groupId>                \
  -DarchetypeArtifactId=<archetype-artifactId>          \
  -DarchetypeVersion=<archetype-version>                \
  -DgroupId=<my.groupid>                                \
  -DartifactId=<my-artifactId>

3.2 idea使用 1),新建项目,找到脚手架页面

2)添加本地maven目录