You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/01/04 15:01:07 UTC

[jira] [Commented] (CAMEL-10672) Test failing in camel-itest-osgi

    [ https://issues.apache.org/jira/browse/CAMEL-10672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15798459#comment-15798459 ] 

ASF GitHub Bot commented on CAMEL-10672:
----------------------------------------

GitHub user johnpoth opened a pull request:

    https://github.com/apache/camel/pull/1371

    This reverts commit 8b63e4b89e9544018f9e61e996b23ec0f6673531.

    https://issues.apache.org/jira/browse/CAMEL-10672

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/johnpoth/camel CAMEL-10672

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1371.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1371
    
----
commit 937a4240cf74a33804ffaee056e14a6d6f7cfa66
Author: jpoth <po...@gmail.com>
Date:   2017-01-04T14:57:20Z

    Revert "CAMEL-10647: camel-test-karaf - Cause wrong build order"
    This will cause camel-itest-osgi to fail
    This reverts commit 8b63e4b89e9544018f9e61e996b23ec0f6673531.

----


> Test failing in camel-itest-osgi
> --------------------------------
>
>                 Key: CAMEL-10672
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10672
>             Project: Camel
>          Issue Type: Bug
>          Components: tests
>            Reporter: John Poth
>
> Run mvn clean install -Dtest=CamelCoreTest for example (in dir tests/camel-itest-osgi):
> {code}
> 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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)