You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Fred D <fr...@ttmsolutions.com> on 2008/04/15 20:20:26 UTC

Re: building with maven fails - win xp- sp2 , jdk 1.6_05

Were you able to get this to run after downloading the depencies?

Fred

KMalhi wrote:
> 
> Trying to build with maven:
> 
> mvn clean install -Dmaven.test.skip=true
> 
> It fails with the following message:-
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.activemq
> -DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-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.activemq
> -DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-console:jar:5.1-SNAPSHOT
>         2) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.activemq:activemq-console:jar:5.1-SNAPSHOT
> 
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache.incubating.releases
> (http://people.apache.org/repo/m2-incubating-repository),
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 29 seconds
> [INFO] Finished at: Sun Mar 16 11:30:59 EDT 2008
> [INFO] Final Memory: 36M/63M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> =========================================================================
> 
> Similarly, when i do 
> 
> mvn eclipse:eclipse
> 
> it fails with the following message
> 
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.activemq
> -DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-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.activemq
> -DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
> -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
> 
> 2) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-jdbc-5 -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-jdbc-5 -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
> 
> 3) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-jdbc -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-jdbc -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
>         4) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
> 
> 4) org.apache.openjpa:openjpa-kernel:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-kernel -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-kernel -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
>         4) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
>         5) org.apache.openjpa:openjpa-kernel:jar:1.0.0
> 
> 5) org.apache.openjpa:openjpa-lib:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-lib -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-lib -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
>         4) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
>         5) org.apache.openjpa:openjpa-kernel:jar:1.0.0
>         6) org.apache.openjpa:openjpa-lib:jar:1.0.0
> 
> 6) org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jta_1.1_spec -Dversion=1.1 -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.geronimo.specs
> -DartifactId=geronimo-jta_1.1_spec -Dversion=1.1 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
>         4) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
>         5) org.apache.openjpa:openjpa-kernel:jar:1.0.0
>         6) org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1
> 
> 7) hsqldb:hsqldb:jar:1.8.0.1
> 
>   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.1 -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.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-jdbc-5:jar:1.0.0
>         4) org.apache.openjpa:openjpa-jdbc:jar:1.0.0
>         5) hsqldb:hsqldb:jar:1.8.0.1
> 
> 8) org.apache.openjpa:openjpa-persistence:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-persistence -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-persistence -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-persistence:jar:1.0.0
> 
> 9) org.apache.openjpa:openjpa-kernel-5:jar:1.0.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openjpa
> -DartifactId=openjpa-kernel-5 -Dversion=1.0.0 -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.openjpa
> -DartifactId=openjpa-kernel-5 -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
>         2) org.apache.openjpa:openjpa-persistence-jdbc:jar:1.0.0
>         3) org.apache.openjpa:openjpa-persistence:jar:1.0.0
>         4) org.apache.openjpa:openjpa-kernel-5:jar:1.0.0
> 
> ----------
> 9 required artifacts are missing.
> 
> for artifact:
>   org.apache.activemq:activemq-jpa-store:jar:5.1-SNAPSHOT
> 
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache.incubating.releases
> (http://people.apache.org/repo/m2-incubating-repository),
>   central (http://repo1.maven.org/maven2)
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 41 seconds
> [INFO] Finished at: Sun Mar 16 11:36:57 EDT 2008
> [INFO] Final Memory: 38M/63M
> [INFO]
> ------------------------------------------------------------------------
> 
> 


-----
Goto www.ttmsolutions.com for a free ActiveMQ user guide 
-- 
View this message in context: http://www.nabble.com/building-with-maven-fails---win-xp--sp2-%2C-jdk-1.6_05-tp16080351s2354p16703620.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.