Thanks for pointing out the obvious.

On 05.11.2010 09:39, Josh Kamau wrote:
THanks Uli,

I made it work by generating with 5.1* then editing the pom. I think its is
very important that being able to start up a new project for a newbie like
me to be as painless as possible. Failing on the first attempt can put
someone off will being able to succeed on first attempt is very encouraging.

Thanks

On Fri, Nov 5, 2010 at 4:35 AM, Ulrich Stärk<u...@spielviel.de>  wrote:

it's a known bug. just set the version in pom.xml to 5.2.3-SNAPSHOT or
5.2.2 (without snapshot)

Uli


On 05.11.2010 09:18, Josh Kamau wrote:

Maven cannot find any of the tapestry 5.2.* in mvn repository.

Anyone in the mailing list?


jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog=
http://tapestry.apache.org
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[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://tapestry.apache.org ->   quickstart (Tapestry 5.2.2-SNAPSHOT
Quickstart Project)
2: http://tapestry.apache.org ->   tapestry-archetype (Tapestry 4.1.6
Archetype)
Choose a number: : 1
Choose version:
1: 5.0.19
2: 5.1.0.5
3: 5.2.0
4: 5.2.1
5: 5.2.2-SNAPSHOT
Choose a number: : 3
Downloading:

http://tapestry.apache.org/org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
[INFO] Unable to find resource 'org.apache.tapestry:quickstart:jar:5.2.0'
in
repository quickstart-repo (http://tapestry.apache.org)
Downloading:

http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
56K downloaded  (quickstart-5.2.0.jar)
Define value for property 'groupId': : com.josh.tcontacts
Define value for property 'artifactId': : tcontacts
Define value for property 'version': 1.0-SNAPSHOT:
Define value for property 'package': com.josh.tcontacts:
Confirm properties configuration:
groupId: com.josh.tcontacts
artifactId: tcontacts
version: 1.0-SNAPSHOT
package: com.josh.tcontacts
Y: Y
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Fri Nov 05 04:14:01 EDT 2010
[INFO] Final Memory: 19M/148M
[INFO]
------------------------------------------------------------------------
jos...@ubuntu:~/projects$ cd t
taskone/   tcontacts/
jos...@ubuntu:~/projects$ cd tcontacts/
jos...@ubuntu:~/projects/tcontacts$ mvn clean jetty:run
[INFO] Scanning for projects...
Downloading:

http://repository.apache.org/snapshots//org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.pom
[INFO] Unable to find resource
'org.mortbay.jetty:maven-jetty-plugin:pom:6.1.9' in repository
tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.pom
4K downloaded  (maven-jetty-plugin-6.1.9.pom)
Downloading:

http://repository.apache.org/snapshots//org/mortbay/jetty/project/6.1.9/project-6.1.9.pom
[INFO] Unable to find resource 'org.mortbay.jetty:project:pom:6.1.9' in
repository tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.9/project-6.1.9.pom
11K downloaded  (project-6.1.9.pom)
Downloading:

http://repository.apache.org/snapshots//org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.jar
[INFO] Unable to find resource
'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.9' in repository
tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.jar
37K downloaded  (maven-jetty-plugin-6.1.9.jar)
[INFO]
------------------------------------------------------------------------
[INFO] Building tcontacts Tapestry 5 Application
[INFO]    task-segment: [clean, jetty:run]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Preparing jetty:run
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] Copying 3 resources
[INFO] snapshot org.apache.tapestry:tapestry-core:5.2.0-SNAPSHOT: checking
for updates from tapestry-snapshots
[INFO] snapshot org.apache.tapestry:tapestry-core:5.2.0-SNAPSHOT: checking
for updates from codehaus.snapshots
Downloading:

http://repository.apache.org/snapshots//org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/tapestry-core-5.2.0-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.tapestry:tapestry-core:pom:5.2.0-SNAPSHOT' in repository
tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://snapshots.repository.codehaus.org/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/tapestry-core-5.2.0-SNAPSHOT.pom
[INFO] Unable to find resource
'org.apache.tapestry:tapestry-core:pom:5.2.0-SNAPSHOT' in repository
codehaus.snapshots (http://snapshots.repository.codehaus.org)
Downloading:

http://repository.apache.org/snapshots//org/easymock/easymock/2.4/easymock-2.4.pom
[INFO] Unable to find resource 'org.easymock:easymock:pom:2.4' in
repository
tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://snapshots.repository.codehaus.org/org/easymock/easymock/2.4/easymock-2.4.pom
[INFO] Unable to find resource 'org.easymock:easymock:pom:2.4' in
repository
codehaus.snapshots (http://snapshots.repository.codehaus.org)
Downloading:
http://repo1.maven.org/maven2/org/easymock/easymock/2.4/easymock-2.4.pom
5K downloaded  (easymock-2.4.pom)
Downloading:

http://repository.apache.org/snapshots//org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/tapestry-core-5.2.0-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.tapestry:tapestry-core:jar:5.2.0-SNAPSHOT' in repository
tapestry-snapshots (http://repository.apache.org/snapshots/)
Downloading:

http://snapshots.repository.codehaus.org/org/apache/tapestry/tapestry-core/5.2.0-SNAPSHOT/tapestry-core-5.2.0-SNAPSHOT.jar
[INFO] Unable to find resource
'org.apache.tapestry:tapestry-core:jar:5.2.0-SNAPSHOT' in repository
codehaus.snapshots (http://snapshots.repository.codehaus.org)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.tapestry:tapestry-core:jar:5.2.0-SNAPSHOT

   Try downloading the file manually from the project website.

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

   Path to dependency:
       1) com.josh.tcontacts:tcontacts:war:1.0-SNAPSHOT
       2) org.apache.tapestry:tapestry-core:jar:5.2.0-SNAPSHOT

----------
1 required artifact is missing.

for artifact:
   com.josh.tcontacts:tcontacts:war:1.0-SNAPSHOT

from the specified remote repositories:
   codehaus.snapshots (http://snapshots.repository.codehaus.org),
   central (http://repo1.maven.org/maven2),
   tapestry-snapshots (http://repository.apache.org/snapshots/)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to