You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Dave Chen <da...@hq.oneport.com> on 2004/02/24 04:12:38 UTC

Maven Plugin Problems

Developers,
 
I have written a Maven plug-in putting into the repository having a goal
to execute a java program:
 
   <ant:java classname="foo.bar.TransformValidator" fork="yes"
classpathref="project.class.path">
 
However, after I installing the plug-in and run this goal,
 
I got this error:
 
   java.lang.NoClassDefFoundError: foo/bar/TransformValidator
 
Does anyone know how to get the repository path as the root classpath? I
tried ${maven.build.dir} and ${basepath} both not work.
 
Thanks,
Dave