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

Reply via email to