[INFO] Scanning for projects... [INFO] snapshot org.jboss.resteasy:resteasy-maven-import:1.1.GA_CP-SNAPSHOT: checking for updates from java.net [INFO] snapshot org.jboss.resteasy:resteasy-maven-import:1.1.GA_CP-SNAPSHOT: checking for updates from maven repo [INFO] snapshot org.jboss.resteasy:resteasy-maven-import:1.1.GA_CP-SNAPSHOT: checking for updates from jboss [INFO] snapshot org.jboss.resteasy:resteasy-maven-import:1.1.GA_CP-SNAPSHOT: checking for updates from scannotation [INFO] Reactor build order: [INFO] RestContact Maven Webapp [INFO] [INFO] [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building RestContact Maven Webapp [INFO] task-segment: [test] [INFO] ------------------------------------------------------------------------ [INFO] No goals needed for project - skipping [INFO] ------------------------------------------------------------------------ [INFO] Building [INFO] task-segment: [test] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/liweinan/resteasy/examples/spring-hibernate-contacts/core/src/main/resources [INFO] snapshot org.jboss.resteasy:resteasy-spring:1.1.GA_CP-SNAPSHOT: checking for updates from java.net [INFO] snapshot org.jboss.resteasy:resteasy-spring:1.1.GA_CP-SNAPSHOT: checking for updates from maven repo [INFO] snapshot org.jboss.resteasy:resteasy-spring:1.1.GA_CP-SNAPSHOT: checking for updates from jboss [INFO] snapshot org.jboss.resteasy:resteasy-spring:1.1.GA_CP-SNAPSHOT: checking for updates from scannotation [INFO] snapshot org.jboss.resteasy:resteasy-jaxb-provider:1.1.GA_CP-SNAPSHOT: checking for updates from scannotation [INFO] snapshot org.jboss.resteasy:resteasy-jaxb-provider:1.1.GA_CP-SNAPSHOT: checking for updates from jakarta [INFO] snapshot org.jboss.resteasy:resteasy-jaxb-provider:1.1.GA_CP-SNAPSHOT: checking for updates from codehaus [INFO] snapshot org.jboss.resteasy:resteasy-jaxb-provider:1.1.GA_CP-SNAPSHOT: checking for updates from maven2-repository.dev.java.net [INFO] snapshot org.jboss.resteasy:resteasy-jaxb-provider:1.1.GA_CP-SNAPSHOT: checking for updates from ibiblio mirror [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/liweinan/resteasy/examples/spring-hibernate-contacts/core/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] ------------------------------------------------------------------------ [INFO] Building [INFO] task-segment: [test] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources Downloading: http://download.java.net/maven/1/hsqldb/poms/hsqldb-1.8.0.8.pom [INFO] Unable to find resource 'hsqldb:hsqldb:pom:1.8.0.8' in repository java.net (http://download.java.net/maven/1) Downloading: http://repo1.maven.org/maven2//hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.pom [INFO] Unable to find resource 'hsqldb:hsqldb:pom:1.8.0.8' in repository maven repo (http://repo1.maven.org/maven2/) Downloading: http://repository.jboss.org/maven2-brew/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.pom [INFO] Unable to find resource 'hsqldb:hsqldb:pom:1.8.0.8' in repository jboss (http://repository.jboss.org/maven2-brew) Downloading: http://scannotation.sf.net/maven2/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.pom [INFO] Unable to find resource 'hsqldb:hsqldb:pom:1.8.0.8' in repository scannotation (http://scannotation.sf.net/maven2) Downloading: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.pom [INFO] Unable to find resource 'hsqldb:hsqldb:pom:1.8.0.8' in repository central (http://repo1.maven.org/maven2) Downloading: http://download.java.net/maven/1/hsqldb/jars/hsqldb-1.8.0.8.jar Downloading: http://download.java.net/maven/1/javax.transaction/jars/jta-1.0.1B.jar [INFO] Unable to find resource 'hsqldb:hsqldb:jar:1.8.0.8' in repository java.net (http://download.java.net/maven/1) [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository java.net (http://download.java.net/maven/1) Downloading: http://repo1.maven.org/maven2//hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.jar Downloading: http://repo1.maven.org/maven2//javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository maven repo (http://repo1.maven.org/maven2/) Downloading: http://repository.jboss.org/maven2-brew/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository jboss (http://repository.jboss.org/maven2-brew) Downloading: http://scannotation.sf.net/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'hsqldb:hsqldb:jar:1.8.0.8' in repository maven repo (http://repo1.maven.org/maven2/) Downloading: http://repository.jboss.org/maven2-brew/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.jar [INFO] Unable to find resource 'hsqldb:hsqldb:jar:1.8.0.8' in repository jboss (http://repository.jboss.org/maven2-brew) Downloading: http://scannotation.sf.net/maven2/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository scannotation (http://scannotation.sf.net/maven2) Downloading: http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in repository central (http://repo1.maven.org/maven2) [INFO] Unable to find resource 'hsqldb:hsqldb:jar:1.8.0.8' in repository scannotation (http://scannotation.sf.net/maven2) Downloading: http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.8/hsqldb-1.8.0.8.jar [INFO] Unable to find resource 'hsqldb:hsqldb:jar:1.8.0.8' in repository central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) javax.transaction:jta:jar:1.0.1B Try downloading the file manually from: http://java.sun.com/products/jta Then, install it using the command: mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=javax.transaction -DartifactId=jta -Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.jboss.resteasy.examples:spring-hibernate-contacts-persistence:jar:1.1.GA_CP-SNAPSHOT 2) javax.transaction:jta:jar:1.0.1B 2) hsqldb:hsqldb:jar:1.8.0.8 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=hsqldb -DartifactId=hsqldb -Dversion=1.8.0.8 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=hsqldb -DartifactId=hsqldb -Dversion=1.8.0.8 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.jboss.resteasy.examples:spring-hibernate-contacts-persistence:jar:1.1.GA_CP-SNAPSHOT 2) hsqldb:hsqldb:jar:1.8.0.8 ---------- 2 required artifacts are missing. for artifact: org.jboss.resteasy.examples:spring-hibernate-contacts-persistence:jar:1.1.GA_CP-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2), maven repo (http://repo1.maven.org/maven2/), java.net (http://download.java.net/maven/1), jboss (http://repository.jboss.org/maven2-brew), scannotation (http://scannotation.sf.net/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Wed Jan 20 09:12:03 CST 2010 [INFO] Final Memory: 11M/254M [INFO] ------------------------------------------------------------------------