You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nathan Coast <na...@yahoo.com> on 2004/05/04 03:19:09 UTC
plugins / root classloader
Hi,
I have a plugin that used to work with rc1 but now
fails with a no class def error with rc2.
The plugin has classes that extend junit classes. The
plugin has a dependency like this:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<properties>
<classloader>root</classloader>
</properties>
<type>jar</type>
</dependency>
without the classloader root element, the plugin fails
with NoClassDef.... on the junit classes. The plugin
has classes which are needed by junit at runtime. The
classes are in
plugins/maven-junitejb-plugin-1.0/com/foo/bar but
maven is unable to locate them. What do I have to do
in order to make the classes within the plugin
available at plugin execution?
thanks
Nathan
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org