Thanks for the quick response. It still failed with -U
jos...@ubuntu:~/projects$ mvn archetype:generate -DarchetypeCatalog= http://tapestry.apache.org -U [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-archetype-plugin: checking for updates from central Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0/maven-archetype-plugin-2.0.pom 5K downloaded (maven-archetype-plugin-2.0.pom) Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/maven-archetype/2.0/maven-archetype-2.0.pom 8K downloaded (maven-archetype-2.0.pom) Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-archetype-plugin/2.0/maven-archetype-plugin-2.0.jar 69K downloaded (maven-archetype-plugin-2.0.jar) [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 Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/archetype-common/2.0/archetype-common-2.0.pom 15K downloaded (archetype-common-2.0.pom) Downloading: http://repo1.maven.org/maven2/org/apache/maven/archetype/archetype-common/2.0/archetype-common-2.0.jar 213K downloaded (archetype-common-2.0.jar) [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.1.0.5 2: 5.0.19 3: 5.2.0 4: 5.2.1 5: 5.2.2-SNAPSHOT Choose a number: 5: 5 [INFO] snapshot org.apache.tapestry:quickstart:5.2.2-SNAPSHOT: checking for updates from quickstart-repo Downloading: https://repository.apache.org/snapshots//org/apache/tapestry/quickstart/5.2.2-SNAPSHOT/quickstart-5.2.2-SNAPSHOT.jar [INFO] Unable to find resource 'org.apache.tapestry:quickstart:jar:5.2.2-SNAPSHOT' in repository quickstart-repo (https://repository.apache.org/snapshots/) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] The desired archetype does not exist (org.apache.tapestry:quickstart:5.2.2-SNAPSHOT) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31 seconds [INFO] Finished at: Fri Nov 05 04:29:03 EDT 2010 [INFO] Final Memory: 20M/151M [INFO] ------------------------------------------------------------------------ On Fri, Nov 5, 2010 at 4:22 AM, Christophe Cordenier < christophe.corden...@gmail.com> wrote: > Hi > > Have you tried by forcing maven to update ? > > mvn -U .... > > 2010/11/5 Josh Kamau <joshnet2...@gmail.com> > > > 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< > http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar%0A56K>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< > http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.pom%0A4K>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< > http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.9/project-6.1.9.pom%0A11K>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< > http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.9/maven-jetty-plugin-6.1.9.jar%0A37K>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< > http://repo1.maven.org/maven2/org/easymock/easymock/2.4/easymock-2.4.pom%0A5K>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/) > > > > > > -- > Regards, > Christophe Cordenier. > > Committer on Apache Tapestry 5 > Co-creator of wooki @wookicentral.com >