As the title, is there such a maven plugin that can achieve such a function, I can manually select the required dependencies, or even generate the code automatically?
CodePudding user response:
There is https://code.quarkus.io/ for generating projects from the browser and also the quarkus
https://quarkus.io/guides/cli-tooling if you want to use a command line application
CodePudding user response:
You can create Maven project with mvn archetype:generate
command. For example:
mvn archetype:generate -DgroupId=com.roamch007 -DartifactId=my-app -DinteractiveMode=false
This command will create project in may-app
directory.
If you need specific dependencies you can create Maven Archetype, and re-use this archetype while generating new projects.
Read more: Guide to Maven Archetype