You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alessio Pace <al...@gmail.com> on 2007/03/06 16:59:16 UTC

[m2] How to have "target/classes" in the plugin classpath?

Hi,

I can't figure out how what I should do to make the "target/classes" content
(populated in the "compile" phase) be in the classpath of the plugin,
because the plugin needs to access some resources..

My MOJO definition is just:

/*
 * @goal run
 * @requiresDependencyResolution runtime
 * @execute phase="compile"
 * @phase process-classes
 *
 */
public class LauncherMojo extends AbstractMojo {
   // ...
}

Any suggestion?

Thanks a lot in advance,
Alessio Pace.