The command is:
mvn archetype:generate -DarchetypeCatalog=
http://xaloon.googlecode.com/
svn/trunk/xaloon-archetypes/archetype-catalog.xml
The page
http://www.xaloon.org/download says:
mvn archetype:generate -DarchetypeCatalog=\
http://xaloon.googlecode.com/svn/trunk/archetypes/archetype-catalog.xml
Then I get:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Clean startup application
[INFO] task-segment: [archetype:generate] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1:
http://xaloon.googlecode.com/svn/trunk/xaloon-archetypes/archetype-catalog.xml
-> xaloon-xipw (Basic xaloon startup application with JPA, Spring and
JCR support)
Choose a number: : 1
[INFO] snapshot org.xaloon:xaloon-xipw:1.5.0-SNAPSHOT: checking for
updates from xaloon-xipw-repo
[INFO] snapshot org.xaloon:xaloon-xipw:1.5.0-SNAPSHOT: checking for
updates from
repository.xaloon.org
Downloading:
http://xaloon.googlecode.com/svn/maven2/snapshots/org/xaloon/xaloon-xipw/1.5.0-SNAPSHOT/xaloon-xipw-1.5.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.xaloon:xaloon-xipw:jar:1.5.0-
SNAPSHOT' in repository xaloon-xipw-repo (
http://xaloon.googlecode.com/
svn/maven2/snapshots)
Downloading:
http://xaloon.googlecode.com/svn/maven2/releases/org/xaloon/xaloon-xipw/1.5.0-SNAPSHOT/xaloon-xipw-1.5.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.xaloon:xaloon-xipw:jar:1.5.0-
SNAPSHOT' in repository
repository.xaloon.org (http://
xaloon.googlecode.com/svn/maven2/releases)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The desired archetype does not exist (org.xaloon:xaloon-xipw:
1.5.0-SNAPSHOT)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Sat Dec 31 15:26:12 EST 2011
[INFO] Final Memory: 19M/213M
==============================================================
Starting from a clean application I get:
[INFO] Failed to resolve
artifact.
Missing:
----------
1) org.xaloon:xaloon-wicket-repository:jar:1.2-
SNAPSHOT
Try downloading the file manually from the project
website.
Then, install it using the
command:
mvn install:install-file -DgroupId=org.xaloon -
DartifactId=xaloon-wicket-repository -Dversion=1.2-SNAPSHOT -
Dpackaging=jar -Dfile=/path/to/
file
Alternatively, if you host your own repository you can deploy the
file
there:
mvn deploy:deploy-file -DgroupId=org.xaloon -DartifactId=xaloon-
wicket-repository -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/path/
to/file -Durl=[url] -
DrepositoryId=[id]
Path to
dependency:
1) org.xaloon:startup-app:war:1.2-
SNAPSHOT
2) org.xaloon:xaloon-wicket-repository:jar:1.2-
SNAPSHOT
2) org.xaloon:xaloon-wicket-jpa-components:jar:1.2-
SNAPSHOT
Try downloading the file manually from the project
website.
Then, install it using the
command:
mvn install:install-file -DgroupId=org.xaloon -
DartifactId=xaloon-wicket-jpa-components -Dversion=1.2-SNAPSHOT -
Dpackaging=jar -Dfile=/path/to/
file
Alternatively, if you host your own repository you can deploy the
file
there:
mvn deploy:deploy-file -DgroupId=org.xaloon -DartifactId=xaloon-
wicket-jpa-components -Dversion=1.2-SNAPSHOT -Dpackaging=jar -Dfile=/
path/to/file -Durl=[url] -
DrepositoryId=[id]
Path to
dependency:
1) org.xaloon:startup-app:war:1.2-
SNAPSHOT
2) org.xaloon:xaloon-wicket-jpa-components:jar:1.2-
SNAPSHOT
----------
2 required artifacts are
missing.
for
artifact:
org.xaloon:startup-app:war:1.2-
SNAPSHOT
from the specified remote
repositories:
central (
http://repo1.maven.org/
maven2),
repository.xaloon.org (
http://xaloon.googlecode.com/svn/maven2/
releases)