Hi, org.apache.activemq:activemq-camel:jar:5.2.0 depends on camel 1.5.0. So we don't have the cycle dependency in camel-jms.
Did you build the camel 1.5.x branch from the root ? Willem Ivan Dubrov wrote: > Hi, > > Currently Apache Camel 1.5.x branch could not be built in a clean > environment. The build fails with > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.apache.camel:camel-jms:jar:1.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.camel > -DartifactId=camel-jms -Dversion=1.5.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.camel > -DartifactId=camel-jms -Dversion=1.5.1-SNAPSHOT -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.apache.camel:camel-jms:bundle:1.5.1-SNAPSHOT > 2) org.apache.activemq:activemq-camel:jar:5.2.0 > 3) org.apache.camel:camel-jms:jar:1.5.1-SNAPSHOT > > ---------- > 1 required artifact is missing. > > for artifact: > org.apache.camel:camel-jms:bundle:1.5.1-SNAPSHOT > > from the specified remote repositories: > apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), > guiceyfruit.release > (http://guiceyfruit.googlecode.com/svn/repo/releases/), > central (http://repo1.maven.org/maven2) > > > The workaround is to add an exclusion to the activemq-camel dependency > in the camel-jms component pom.xml: > > > <dependency> > <groupId>org.apache.activemq</groupId> > <artifactId>activemq-camel</artifactId> > <scope>test</scope> > <exclusions> > <exclusion> > <groupId>org.springframework</groupId> > <artifactId>spring</artifactId> > </exclusion> > </exclusions> > </dependency> > > > Should I create JIRA issue for this? >