[jira] [Comment Edited] (KARAF-6083) karaf-maven-plugin:features-generate-descriptor fails with ClassCastException

2019-01-21 Thread Robin Vobruba (JIRA)


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

Robin Vobruba edited comment on KARAF-6083 at 1/21/19 8:07 PM:
---

[~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 them 
down 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)


was (Author: hoijui):
[~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.4
>
> 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`. I don't know that 
> happens.



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


[jira] [Comment Edited] (KARAF-6083) karaf-maven-plugin:features-generate-descriptor fails with ClassCastException

2019-01-21 Thread Robin Vobruba (JIRA)


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

Robin Vobruba edited comment on KARAF-6083 at 1/21/19 8:06 PM:
---

aha!
I just found out that it works with maven 3.6, while the error I reported 
before shows up with Maven 3.3.9.


was (Author: hoijui):
aha!
I just found out that it works with maven 3.6, while the errorI reported shows 
up wiht Maven 3.3.9.

> 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.4
>
> 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`. I don't know that 
> happens.



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


[jira] [Comment Edited] (KARAF-6083) karaf-maven-plugin:features-generate-descriptor fails with ClassCastException

2019-01-09 Thread Freeman Fang (JIRA)


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

Freeman Fang edited comment on KARAF-6083 at 1/10/19 2:01 AM:
--

could you please run "mvn dependency:tree" to see if you have multiple 
maven-resolver-impl jars, this may reveal more


was (Author: ffang):
could you please run "mvn dependency:tree", this may reveal more

> 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
>Priority: Major
>
> 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)