You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Edson Tirelli <ed...@auster.com.br> on 2006/02/14 18:36:50 UTC

Adding target/classes to plugin classpath

    All,

    I'm sorry if this was already discussed, but I didn't found in the 
archives.

    I developed a java plugin for use here in a project. The plugin runs 
after compiling code and needs to instantiate a class that was compiled 
by maven, using Class.forName(). Unfortunatelly, seems that the 
target/classes directory is not in the plugin classpath, doesn't matter 
the phase I run it. I'm receiving a java.lang.ClassNotFoundException.
    Is there a way to configure a plugin to have target/classes in its 
classpath?

    Thanks in advance,
       Edson

  ---
  Edson Tirelli
  Auster Solutions do Brasil
  @ www.auster.com.br
  +55 11 5096-2277 / +55 11 9218-4151



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org