mvn -DgroupId=org.epseelon.samples -DartifactId=todolist archetype:create
Can anyone explain me the command here.
- What is DgroupID?
- What is org.epseelon.samples
- What is DartifactID = todolist
- What is archetype and create.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The tokens in this command line are:
And here is the explanation:
-Dmeans define a property of the given name, which is very generic. Almost everything can be handled and configured by it.groupIdis the namespace in which your projects live. You should choose your own internet domain for it, in reversed order. For example, I usually choosede.roland_illig.*, replacing the*with the actual project name. This will lead to (redundant) complete artifact names likede.roland_illig.todolist:todolistbut is useful if I later decide to split the project into several small libraries.artifactIdis the project name itself. When you build a.jarfile, the resulting file will have this name.archetypeis the name of a Maven plug-in.createis an action that is defined by that plug-in.