Re: My first plugin to build dependencies from source

2010-10-22 Thread Phillip Hellewell
On Wed, Oct 20, 2010 at 11:43 AM, Phillip Hellewell ssh...@gmail.com wrote: Hi all, Before I go down the road of writing my own plugin, can anyone tell me if there already exists a plugin that provides this functionality? 1. Resolve all dependencies using functionality similar to

My first plugin to build dependencies from source

2010-10-20 Thread Phillip Hellewell
Hi all, Before I go down the road of writing my own plugin, can anyone tell me if there already exists a plugin that provides this functionality? 1. Resolve all dependencies using functionality similar to dependency:tree. - (only fetch poms to local repo, not the jar/zip/etc package) 2.

Re: My first plugin to build dependencies from source

2010-10-20 Thread Anders Hammar
2. Avoid downloading binary packages (for remote employees it may be faster to build the code than to download binaries). I very much doubt that! Performing a build will take time to compile and test (don't forget the unit tests) as well as downloading test dependencies, which aren't

Re: My first plugin to build dependencies from source

2010-10-20 Thread Phillip Hellewell
On Wed, Oct 20, 2010 at 12:46 PM, Anders Hammar and...@hammar.net wrote: 2. Avoid downloading binary packages (for remote employees it may be faster to build the code than to download binaries). I very much doubt that! Performing a build will take time to compile and test (don't forget the

Re: first plugin

2010-10-05 Thread Leon Rosenberg
the source of the error below. Justin On Mon, Oct 4, 2010 at 5:50 PM, Leon Rosenberg rosenberg.l...@gmail.com wrote: Hello, I'm currently writing my first plugin and am struggling with very basics. From the guide (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html) I

Re: first plugin

2010-10-05 Thread Leon Rosenberg
: * @execute phase=generate-sources But I doubt that's the source of the error below. Justin On Mon, Oct 4, 2010 at 5:50 PM, Leon Rosenberg rosenberg.l...@gmail.com wrote: Hello, I'm currently writing my first plugin and am struggling with very basics. From the guide (http

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

first plugin

2010-10-04 Thread Leon Rosenberg
Hello, I'm currently writing my first plugin and am struggling with very basics. From the guide (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html) I understood that if I specify a goal in a javadoc annotation I will able to call it later directly, but I fail to achieve

Re: first plugin

2010-10-04 Thread Justin Edelson
below. Justin On Mon, Oct 4, 2010 at 5:50 PM, Leon Rosenberg rosenberg.l...@gmail.com wrote: Hello, I'm currently writing my first plugin and am struggling with very basics. From the guide (http://maven.apache.org/guides/plugin/guide-java-plugin-development.html) I understood that if I

Your First Plugin Tutorial error ???

2007-01-17 Thread jelle.volckaert
Hi, I'm want to write my own plugin to build my company's project. Now I'm following the Your First Plugin Totorial on http://maven.apache.org/guides/plugin/guide-java-plugin-development.html . I've installed the hello-maven-plugin in my local repository. Now I want to run this plugin

Re: Your First Plugin Tutorial error ???

2007-01-17 Thread Arnaud Bailly
[EMAIL PROTECTED] writes: Hi, could you please post the pom ? -- OQube software engineering \ génie logiciel Arnaud Bailly, Dr. \web http://www.oqube.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Your First Plugin Tutorial error ???

2007-01-17 Thread Tom Huybrechts
On 1/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm want to write my own plugin to build my company's project. Now I'm following the Your First Plugin Totorial on http://maven.apache.org/guides/plugin/guide-java-plugin-development.html . I've installed the hello-maven-plugin

Your First Plugin / First Mojo NullPointerException

2006-03-17 Thread Mark
I had a go at creating my first plugin, so I followed: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html I aslo looked at: http://maven.apache.org/developers/mojo-api-specification.html My problem is that the mojo sections isn't being created in META-INF/maven/plugin.xml

Re: Your First Plugin / First Mojo NullPointerException

2006-03-17 Thread Mark
:) Regards, Raphaël 2006/3/17, Mark [EMAIL PROTECTED]: I had a go at creating my first plugin, so I followed: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html I aslo looked at: http://maven.apache.org/developers/mojo-api-specification.html My problem

[m20b3] Problems Getting My First Plugin to Work

2005-10-05 Thread Allison, Bob
I am trying to build my first plugin and having a problem. I wrote a plugin which I can run as sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi and that works perfectly. I want to set things up so I can reference the goal as hello:sayhi but can't seem to get it to work. I added sample.plugin

Re: [m20b3] Problems Getting My First Plugin to Work

2005-10-05 Thread Wendell Beckwith
I had a the exact same problem however it went away when I updated to m2b2 and blew away my local repo allowing m2 to recreate it. Since then, it has all work fine. Wb On 10/5/05, Allison, Bob [EMAIL PROTECTED] wrote: I am trying to build my first plugin and having a problem. I wrote

First plugin

2004-07-23 Thread STRAYER, JON (SBCSI)
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 up the changes otherwise. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

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