I am trying to create an application that has the following dependency.
<properties> <version.jboss.as>7.5.0.Final-redhat-21</version.jboss.as> </properties> <dependencies> <dependency> <groupId>org.jboss.as</groupId> <artifactId>jboss-as-jms-client-bom</artifactId> <version>${version.jboss.as}</version> <type>pom</type> </dependency> </dependencies>
This is an example that I found on the Red Hat website - http://www.jboss.org/quickstarts/eap/helloworld-jms/
I am using Netbeans 8.0.2 (also tried it with the Maven command in dos and eclipse). I get an error while building and the following is the log:
Building JBoss EAP Quickstart: helloworld-jms 6.4.0.GA ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/jboss/as/jboss-as-jms-client-bom/7.5.0.Final-redhat-21/jboss-as-jms-client-bom-7.5.0.Final-redhat-21.pom The POM for org.jboss.as:jboss-as-jms-client-bom:pom:7.5.0.Final-redhat-21 is missing, no dependency information available ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 7.268s Finished at: Thu Jun 18 13:27:43 IST 2015 Final Memory: 6M/121M ------------------------------------------------------------------------ Failed to execute goal on project jboss-helloworld-jms: Could not resolve dependencies for project org.jboss.quickstarts.eap:jboss-helloworld-jms:jar:6.4.0.GA: Failure to find org.jboss.as:jboss-as-jms-client-bom:pom:7.5.0.Final-redhat-21 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
I can find the file in the following path:
https://maven.repository.redhat.com/techpreview/all/org/jboss/as/jboss-as-jms-client-bom/7.5.0.Final-redhat-21/jboss-as-jms-client- bom-7.5.0.Final-redhat-21.pom
source share