前期的java环境安装就不再阐述了
使用步骤
java -jar project-creator-0.1.jar projectName [war]
1> 比如你要创建一个项目名字叫 smile-one,但不是web项目,指令如下
java -jar project-creator-0.1.jar smile-one
2> 比如你要创建一个项目名字叫smile-two,并且是web项目,指令如下
java -jar project-creator-0.1.jar smile-two war
会在当前目录发现一个以你项目名字的目录,导入到idea,右键pom.xml
点击make as maven peoject即可。