* means 2.7.7/2.8.0/2.8.1/2.9.1 pattern
- archetypes_*
- lift-archetype-basic_*
- lift-archetype-blank_*
- lift-archetype-jpa-basic_*
- lift-archetype-jpa-blank-single_*
- lift-archetype-jpa-blank_*
- lift-archetype-sbt_*
Just execute this command on your console with this pattern:
mvn archetype:generate -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=-DarchetypeRepository=http://scala-tools.org/repo-releases -DremoteRepositories=http://scala-tools.org/repo-releases -DgroupId=. -DartifactId= -Dversion=1.0
If I want to use the lift-archetype-basic_2.91 to create a ebook-repo project, i will execute:
mvn archetype:generate -DarchetypeGroupId=net.liftweb -DarchetypeArtifactId=lift-archetype-basic_2.9.1 -DarchetypeRepository=http://scala-tools.org/repo-releases -DremoteRepositories=http://scala-tools.org/repo-releases -DgroupId=com.lmn -DartifactId=ebook-repo -Dversion=1.0
Note:
If http://scala-tools.org/repo-releases doesn’t work as archetype and remote repository try to use this:
https://oss.sonatype.org/content/groups/scala-tools
Resources:
No comments:
Post a Comment