Problems starting

8 views
Skip to first unread message

Mansour

unread,
Dec 31, 2011, 3:29:08 PM12/31/11
to xaloon
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)

Vytautas R.

unread,
Jan 1, 2012, 2:07:17 PM1/1/12
to xal...@googlegroups.com
Hi,
 you should use release archetype:


Vytas


--
You received this message because you are subscribed to the Google Groups "xaloon" group.
To post to this group, send email to xal...@googlegroups.com.
To unsubscribe from this group, send email to xaloon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xaloon?hl=en.




--
Best regards,
Vytautas R.
-----------------------------------
www.xaloon.org
www.allcarindex.com
Reply all
Reply to author
Forward
0 new messages