You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Guillaume Boucherie <gu...@gmail.com> on 2007/10/04 11:44:13 UTC

plugin classpath question

Hi all,
I have questions about he classpath of maven2 plugin:
  1. How the classpath of a plugin is constructed ?
  2. Is it possible to change it ?
  3. Is it possible to have the generated classes of a project in the
classpath of a plugin ?

Thanks

-- 
CletteBou
clettebou.miniville.fr

Re: plugin classpath question

Posted by Gisbert Amm <gi...@webde.de>.
I only know the answer for 2.:

StringBuilder classpath = new 
StringBuilder(System.getProperty("java.class.path", ""));
classpath.append("What-ever-you-want");
System.setProperty("java.class.path", classpath.toString());

-Gisbert


Guillaume Boucherie wrote:
> Hi all,
> I have questions about he classpath of maven2 plugin:
>   1. How the classpath of a plugin is constructed ?
>   2. Is it possible to change it ?
>   3. Is it possible to have the generated classes of a project in the
> classpath of a plugin ?
> 
> Thanks
> 

-- 
Gisbert Amm
Softwareentwickler Infrastruktur
Telefon: (0721) 91374 - 4224
Telefax: (0721) 91374 - 2740
E-Mail: gisbert.amm@1und1.de
Internet: www.1und1.de

1&1 Internet AG
Elgendorfer Strasse 57
56410 Montabaur

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas 
Gauger, Thomas Gottschlich, Matthias Greve, Robert Hoffmann, Norbert 
Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren

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