Unable to resolve version for camel-activemq dependency


(ignace.martin) #1

Hello,

I am trying to use camel-activemq dependency in a project but I am getting an issue in a dependency with gradle not finding the version to use. The version is not provided in camel-activemq pom file, but well in the camel-parent pom.

Here is a small gradle build script to reproduce the problem :

apply plugin: 'java'

repositories {
  maven{
    url "http://repo.jfrog.org/repo"
  }
}

dependencies{
    compile(group: 'org.apache.camel', name: 'camel-parent', version: '2.16.1')
    compile(group: 'org.apache.camel', name: 'camel-activemq', version: '1.1.0')
}

I am getting this error :
Unable to resolve version for dependency 'org.apache.camel:camel-jms:jar'
I have turned the problem by all sides without finding a solution.
I have tried to specify the version of camel-jms in the ResolutionStrategy, without success :

configurations.all {
    resolutionStrategy {
        force 'org.apache.camel:camel-jms:2.16.1'
    }
}

Any idea how to solve this?


(ignace.martin) #2

The issue was linked to camel-activemq which is an old stuff. activemq-camel is the replacement which works much better.