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

Robin Vobruba commented on KARAF-6083:
--------------------------------------

[~ffang] I attached the output of "mvn dependency:tree" as a file

Is that enough, [~jbonofre]? the project has about 7 poms, and to strip the 
mdown would be quite the effort, so I would only do that if really necessary. 
(It is an aggregator project with the aggregator, parent, and 5 modules)

> karaf-maven-plugin:features-generate-descriptor fails with ClassCastException
> -----------------------------------------------------------------------------
>
>                 Key: KARAF-6083
>                 URL: https://issues.apache.org/jira/browse/KARAF-6083
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.2
>         Environment: Debian testing (up to date)
>            Reporter: Robin Vobruba
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.3
>
>         Attachments: output-of-mvn-dependency-tree.txt
>
>
> I am running "mvn karaf:features-generate-descriptor", and I get this error:
> {code:java}
> [ERROR] Failed to execute goal 
> org.apache.karaf.tooling:karaf-maven-plugin:4.2.2:features-generate-descriptor
>  (default-cli) on project myProj: Unable to create features.xml file: 
> java.lang.ClassCastException: 
> org.eclipse.aether.internal.impl.collect.ObjectPool cannot be cast to 
> org.eclipse.aether.internal.impl.collect.ObjectPool -> [Help 1]{code}
> Am ready to supply more info if required.
> It looks llike it has two different versions of the class 
> `org.eclipse.aether.internal.impl.collect.ObjectPool`.. not sure how that 
> happens.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to