Re: Maven 1 classes in my plugin JAR not on ant:java runtime classpath?

2008-05-19 Thread christo
Hi Lukas, Thanks very much for this information. I did run with -X and saw the classpath but expected that the plugin jar would be on the classpath within a goal defined by that plugin. I'll extract my stuff into a separate jar. Chris. 2008/5/16 Lukas Theussl [EMAIL PROTECTED]: IIRC artifacts

Re: Maven 1 classes in my plugin JAR not on ant:java runtime classpath?

2008-05-16 Thread Lukas Theussl
IIRC artifacts of type plugin are not added to the runtime classpath (if you run with -X you should see a corresponding message). You have to deploy/install the plugin as a jar and declare a dependency of a jar type. HTH, -Lukas christo wrote: Hi All, I've read the docs, googled, read

Maven 1 classes in my plugin JAR not on ant:java runtime classpath?

2008-05-15 Thread christo
Hi All, I've read the docs, googled, read mailing list archives, asked in irc etc. but have been unable to find the answer to this. I'm writing a maven 1 plugin which adds a goal that calls ant:java running the main method of a class which is bundled in the plugin jar. There are jar deps in the