Re: first plugin

2010-10-05 Thread Leon Rosenberg
Hello, thanks for the help. the plugin.xml (packaged) looks like follows: ?xml version=1.0 encoding=UTF-8? plugin description/description groupIdnet.anotheria/groupId artifactIdmaven-ano-doc-plugin/artifactId version1.0-SNAPSHOT/version goalPrefixano-doc/goalPrefix

Re: first plugin

2010-10-05 Thread Leon Rosenberg
ok, resolved, my error, i forgot to explicitly include the compile plugin, therefor my plugin was packaged but contained no classes. thanx for the help. now i only need to force the using project to add generated classes to the source dirs ;-) regards Leon On Tue, Oct 5, 2010 at 8:11 AM, Leon

Re: first plugin

2010-10-05 Thread Jörg Schaible
Hi Leon, Leon Rosenberg wrote: ok, resolved, my error, i forgot to explicitly include the compile plugin, therefor my plugin was packaged but contained no classes. thanx for the help. now i only need to force the using project to add generated classes to the source dirs ;-) What do you mean

Re: first plugin

2010-10-05 Thread Leon Rosenberg
Hello Jörg, basically add this to my pom build finalName${artifactId}-${version}/finalName sourceDirectory${project.basedir}/java/sourceDirectory plugins plugin groupIdorg.apache.maven.plugins/groupId

Re: first plugin

2010-10-05 Thread Wendy Smoak
On Tue, Oct 5, 2010 at 7:10 AM, Leon Rosenberg rosenberg.l...@gmail.com wrote: basically add this to my pom ...    sourceDirectory${project.basedir}/java/sourceDirectory Did you add this at the same time? If so, that's what did it... without that Maven would expect the classes to be in

Re: first plugin

2010-10-05 Thread Leon Rosenberg
i have had the sources in src/main/java previously but that didn't help either :-) but it works now ;-) the last thing i'm struggling with now is that hudson is executing my builds with jre, not jdk, therefore my apt processors do not work. On Tue, Oct 5, 2010 at 2:52 PM, Wendy Smoak

Re: first plugin

2010-10-04 Thread Justin Edelson
Hard to tell from this code. Check the plugin.xml file which is being generated. Also mvn help:describe (which uses the plugin.xml descriptor IIRC). Also, my guess is that you don't actually want to include this line: * @execute phase=generate-sources But I doubt that's the source of the error

RE: First plugin

2004-07-23 Thread Charles Daniels
-Original Message- From: STRAYER, JON (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 4:23 PM To: 'Maven Users List' Subject: First plugin I'm working on my first plugin. Should I need to delete it from the cache each time in install it? Maven doesn't seem to pick