On 4/6/07, Jerome Lacoste <[EMAIL PROTECTED]> wrote:
Tring to solve http://jira.codehaus.org/browse/MWEBSTART-29

I decided to bump plexus-utils to 1.4.1 in the webstart plugin.

and now I get this strange NoClassDefFoundError, as if in dependency hell....

Tried with 2.0.5 and 2.0.6

Nowhere do I see plexus 1.4.1 appear in the surefire test classpath.

Yes it appears. As does plexus 1.1.

But the problem looks like a classloader issue.

Comparing mvn -X install with both p-u 1.0.5 and 1.4.1 I see that

p-u 1.0.5 depends on classworlds, 1.4.1 does not

-[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.5:compile
(selected for compile)
-[DEBUG]     classworlds:classworlds:jar:1.1-alpha-2:compile (selected
for compile)
+[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.5:compile (removed
- nearer found: 1.4.1)
+[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.4.1:compile
(selected for compile)


The removal of the dependency was done over a year ago.

http://svn.plexus.codehaus.org/browse/plexus/plexus-utils/trunk/pom.xml#r3005
http://svn.plexus.codehaus.org/changelog/plexus?cs=3005

Indeed, upgrading to p-u 1.1. instead reproduces the problem

So now if I got this right, I have to upgrade some of the other
dependencies so that nothing triggers a dpeendency on p-u 1.0.5

I did and the classloading issue disappeared (replaced by a p-u
command quoting issue...)

Cheers,

Jerome

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to