Option 4 Didnt work either. cant find T 5.2.1 in the maven repo. Any body home ?
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: : 4 Downloading: http://tapestry.apache.org/org/apache/tapestry/quickstart/5.2.1/quickstart-5.2.1.jar [INFO] Unable to find resource 'org.apache.tapestry:quickstart:jar:5.2.1' in repository quickstart-repo (http://tapestry.apache.org) Downloading: http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.2.1/quickstart-5.2.1.jar 56K downloaded (quickstart-5.2.1.jar) Define value for property 'groupId': : com.josh.TAddressBook Define value for property 'artifactId': : TAddressBook Define value for property 'version': 1.0-SNAPSHOT: Define value for property 'package': com.josh.TAddressBook: Confirm properties configuration: groupId: com.josh.TAddressBook artifactId: TAddressBook version: 1.0-SNAPSHOT package: com.josh.TAddressBook Y: [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 minutes 7 seconds [INFO] Finished at: Fri Nov 05 04:08:43 EDT 2010 [INFO] Final Memory: 18M/124M [INFO] ------------------------------------------------------------------------ jos...@ubuntu:~/projects$ ls grailsexample gTunes guice kemsa lightestate makao stagingsynch SuperSynch TAddressBook taskone winate yabe jos...@ubuntu:~/projects$ cd TAddressBook/ jos...@ubuntu:~/projects/TAddressBook$ ls pom.xml src jos...@ubuntu:~/projects/TAddressBook$ mvn clean jetty:run [INFO] Scanning for projects... Downloading: http://repository.apache.org/snapshots//org/mortbay/jetty/maven-jetty-plugin/6.1.16/maven-jetty-plugin-6.1.16.pom [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:pom:6.1.16' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.16/maven-jetty-plugin-6.1.16.pom 5K downloaded (maven-jetty-plugin-6.1.16.pom) Downloading: http://repository.apache.org/snapshots//org/mortbay/jetty/project/6.1.16/project-6.1.16.pom [INFO] Unable to find resource 'org.mortbay.jetty:project:pom:6.1.16' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/project/6.1.16/project-6.1.16.pom 8K downloaded (project-6.1.16.pom) Downloading: http://repository.apache.org/snapshots//org/mortbay/jetty/maven-jetty-plugin/6.1.16/maven-jetty-plugin-6.1.16.jar [INFO] Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.16' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.16/maven-jetty-plugin-6.1.16.jar 46K downloaded (maven-jetty-plugin-6.1.16.jar) [INFO] ------------------------------------------------------------------------ [INFO] Building TAddressBook 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 6 resources [INFO] snapshot org.apache.tapestry:tapestry-core:5.2.1-SNAPSHOT: checking for updates from apache-snapshots Downloading: http://repository.apache.org/snapshots//org/apache/tapestry/tapestry-core/5.2.1-SNAPSHOT/tapestry-core-5.2.1-SNAPSHOT.pom [INFO] Unable to find resource 'org.apache.tapestry:tapestry-core:pom:5.2.1-SNAPSHOT' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repository.apache.org/snapshots//org/testng/testng/5.12.1/testng-5.12.1.pom [INFO] Unable to find resource 'org.testng:testng:pom:5.12.1' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repo1.maven.org/maven2/org/testng/testng/5.12.1/testng-5.12.1.pom 2K downloaded (testng-5.12.1.pom) Downloading: http://repository.apache.org/snapshots//org/easymock/easymock/2.5.2/easymock-2.5.2.pom [INFO] Unable to find resource 'org.easymock:easymock:pom:2.5.2' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repo1.maven.org/maven2/org/easymock/easymock/2.5.2/easymock-2.5.2.pom 11K downloaded (easymock-2.5.2.pom) [INFO] snapshot org.apache.tapestry:tapestry-test:5.2.1-SNAPSHOT: checking for updates from apache-snapshots Downloading: http://repository.apache.org/snapshots//org/apache/tapestry/tapestry-test/5.2.1-SNAPSHOT/tapestry-test-5.2.1-SNAPSHOT.pom [INFO] Unable to find resource 'org.apache.tapestry:tapestry-test:pom:5.2.1-SNAPSHOT' in repository apache-snapshots (http://repository.apache.org/snapshots/) Downloading: http://repository.apache.org/snapshots//org/apache/tapestry/tapestry-core/5.2.1-SNAPSHOT/tapestry-core-5.2.1-SNAPSHOT.jar [INFO] Unable to find resource 'org.apache.tapestry:tapestry-core:jar:5.2.1-SNAPSHOT' in repository apache-snapshots (http://repository.apache.org/snapshots/) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.tapestry:tapestry-core:jar:5.2.1-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.1-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.1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) com.josh.TAddressBook:TAddressBook:war:1.0-SNAPSHOT 2) org.apache.tapestry:tapestry-core:jar:5.2.1-SNAPSHOT ---------- 1 required artifact is missing. for artifact: com.josh.TAddressBook:TAddressBook:war:1.0-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), apache-snapshots (http://repository.apache.org/snapshots/)
