java - What is maven-archetype-archetype and why is not available in mvnrepository? -


i trying learn maven , how create own archetypes. came across default ones provides maven. archetype "org.apache.maven.archetypes:maven-archetype-archetype" looked promising.

mvn archetype:generate \     -darchetypegroupid=org.apache.maven.archetypes \     -darchetypeartifactid=maven-archetype-archetype \     -dgroupid=my.test \     -dartifactid=my-archetype \     -dpackage=my.archetype.package \     -dversion=1.0-snapshot 

after package created there's file src/main/resources/archetype-resources/pom.xml uses groupid, artifactid , version passed parameter $ in front, this:

<groupid>$my.test</groupid> <artifactid>$my-archetype</artifactid> <version>$1.0-snapshot</version> 

after installing local repo catalog , using create new maven project based on it, still has dollar signs in it.

now wondering: archetype out-dated? it's not mentioned when search web. if not, doing wrong?

a maven-archetype-archetype archetype contains sample archetype. list of provided archetypes can found here.

i suggest using quickstart archetype if making test archetype. example, , guide set up.

i unsure why $ still present in pom.xml though.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -