Details
Description
Run mvn clean install -Dtest=CamelCoreTest for example (in dir tests/camel-itest-osgi):
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.ops4j.pax.exam.spi.reactors.ReactorManager.addConfigurationsToReactor(ReactorManager.java:239)
at org.ops4j.pax.exam.spi.reactors.ReactorManager.prepareReactor(ReactorManager.java:184)
... 22 more
Caused by: java.lang.IllegalArgumentException: Could not resolve version. Do you have a dependency for org.apache.camel.karaf/apache-camel in your maven project?
at org.ops4j.pax.exam.MavenUtils.getArtifactVersion(MavenUtils.java:75)
at org.ops4j.pax.exam.MavenUtils$1.getVersion(MavenUtils.java:109)
at org.ops4j.pax.exam.options.MavenArtifactUrlReference.version(MavenArtifactUrlReference.java:86)
at org.ops4j.pax.exam.options.MavenArtifactUrlReference.versionAsInProject(MavenArtifactUrlReference.java:90)
at org.ops4j.pax.exam.options.MavenArtifactUrlReference.versionAsInProject(MavenArtifactUrlReference.java:31)
at org.ops4j.pax.exam.options.MavenArtifactProvisionOption.versionAsInProject(MavenArtifactProvisionOption.java:91)
at org.apache.camel.test.karaf.AbstractFeatureTest.getCamelKarafFeatureUrl(AbstractFeatureTest.java:222)
at org.apache.camel.test.karaf.AbstractFeatureTest.configure(AbstractFeatureTest.java:305)
at org.apache.camel.test.karaf.CamelKarafTestSupport.configure(CamelKarafTestSupport.java:88)
at org.apache.camel.itest.CamelCoreTest.configure(CamelCoreTest.java:55)
... 28 more
Attachments
Issue Links
- links to