I follow the Quick Start instructions,

  http://wicket.apache.org/quickstart.html

and execute

mvn archetype:create -DarchetypeGroupId=org.apache.wicket - DarchetypeArtifactId=wicket-archetype-quickstart - DarchetypeVersion=1.3-SNAPSHOT -DgroupId=org.my.project.wicket - DartifactId=website -DremoteRepositories=http://wicketstuff.org/maven/ repository

This works fine, but

  cd website
  mvn eclipse:eclipse -DdownloadSources=true

fails with an error (see below). Does anybody have an idea what went wrong?
Many thanks!
Kaspar

P.S. If I choose "1.3.1" instead of "1.3-SNAPSHOT", all three commands succeed.

P.P.S. I've found a post on this,

  http://www.mail-archive.com/[email protected]/msg02906.html

but can't derive a solution from it.

--
[WARNING] An error occurred during dependency resolution.
    Failed to retrieve org.apache.wicket:wicket-1.3-SNAPSHOT
Caused by: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.wicket - DartifactId=wicket \
        -Dversion=1.3-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.apache.wicket - DartifactId=wicket \
        -Dversion=1.3-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
         -Durl=[url] -DrepositoryId=[id]

Path to dependency:
        1) org.my.project.wicket:website:war:1.0-SNAPSHOT
        2) org.apache.wicket:wicket:jar:1.3-SNAPSHOT


  org.apache.wicket:wicket:jar:1.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

[INFO] Unable to read jar manifest from /Users/hbf/.m2/repository/org/ apache/wicket/wicket/1.3-SNAPSHOT/wicket-1.3-SNAPSHOT.jar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to