4 Replies Latest reply on Dec 11, 2012 10:34 AM by Steve Rainbird

    "Failed to resolve artifact" while installing hornetq-2.2.14.Final

    Steve Rainbird Newbie

      I am trung to install blacktie but before that I need to install hornetq.

       

      I get the following errors when building

       

      ot' in repository central (http://repo1.maven.org/maven2)

           [java] [INFO] ------------------------------------------------------------------------

           [java] [ERROR] BUILD ERROR

           [java] [INFO] ------------------------------------------------------------------------

           [java] [INFO] Failed to resolve artifact.

           [java]

           [java] Missing:

           [java] ----------

           [java] 1) org.hornetq:hornetq-core:jar:2.2.snapshot

           [java]

           [java]   Try downloading the file manually from the project website.

           [java]

           [java]   Then, install it using the command:

           [java]       mvn install:install-file -DgroupId=org.hornetq -DartifactId=hornetq-core -Dversion=2.2.snapshot -Dpackaging=jar -Dfile=/path/to/file

           [java]

           [java]   Alternatively, if you host your own repository you can deploy the file there:

           [java]       mvn deploy:deploy-file -DgroupId=org.hornetq -DartifactId=hornetq-core -Dversion=2.2.snapshot -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

           [java]

           [java]   Path to dependency:

           [java]     1) org.hornetq.rest:hornetq-rest:jar:2.2.14.Final

           [java]     2) org.hornetq:hornetq-core:jar:2.2.snapshot

           [java]

           [java] 2) org.hornetq:hornetq-jms:jar:2.2.snapshot

           [java]

           [java]   Try downloading the file manually from the project website.

           [java]

           [java]   Then, install it using the command:

           [java]       mvn install:install-file -DgroupId=org.hornetq -DartifactId=hornetq-jms -Dversion=2.2.snapshot -Dpackaging=jar -Dfile=/path/to/file

           [java]

           [java]   Alternatively, if you host your own repository you can deploy the file there:

           [java]       mvn deploy:deploy-file -DgroupId=org.hornetq -DartifactId=hornetq-jms -Dversion=2.2.snapshot -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

           [java]

           [java]   Path to dependency:

           [java]     1) org.hornetq.rest:hornetq-rest:jar:2.2.14.Final

           [java]     2) org.hornetq:hornetq-jms:jar:2.2.snapshot

           [java]

           [java] ----------

           [java] 2 required artifacts are missing.

           [java]

           [java] for artifact:

           [java]   org.hornetq.rest:hornetq-rest:jar:2.2.14.Final

           [java]

           [java] from the specified remote repositories:

           [java]   central (http://repo1.maven.org/maven2),

           [java]   jboss (http://repository.jboss.org/nexus/content/groups/public/)

           [java]

           [java]

           [java]

           [java] [INFO] ------------------------------------------------------------------------

           [java] [INFO] For more information, run Maven with the -e switch

           [java] [INFO] ------------------------------------------------------------------------

           [java] [INFO] Total time: 6 seconds

           [java] [INFO] Finished at: Tue Dec 11 14:07:13 GMT 2012

           [java] [INFO] Final Memory: 20M/231M

           [java] [INFO] ------------------------------------------------------------------------

           [java] Java Result: 1

       

       

      BUILD FAILED

       

      Any ideas what I should do?