Re: [m2] how do I invoke a plugin

2005-09-05 Thread Ashley Williams
Thanks, I did get it to work as per my other post. I didn't realise maven put all the metadata into the plugin.xml file though! On 5 Sep 2005, at 12:22, Edward Yakop wrote: 1. Check your plugin.xml. 2. Right at the bottom you will find something like Note: this is taken from maven-jar-plu

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Edward Yakop
1. Check your plugin.xml. 2. Right at the bottom you will find something like Note: this is taken from maven-jar-plugin ${project.build.outputDirectory} ${project} ${project.build.directory} ${project.build.finalName} Anything in between can b

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Ashley Williams
Oops, just realised I'm on the users list asking stupid dev questions! Will join the dev list and hop on over. However in the meantime, I managed to get it to work by putting the plugin section into my target pom. Then running the plugin in the same directory somehow picked up all of the co

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Yann Le Du
--- Ashley Williams <[EMAIL PROTECTED]> a écrit : > Not quite sure what this achieves, but I did try it to no avail. I > ended up with a rather nasty looking error: > > Edge between 'Vertex{label='com.williams1000.maven.plugin:maven- > eclipseproject-plugin'}' and 'Vertex > {label='com.willi

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Ashley Williams
Not quite sure what this achieves, but I did try it to no avail. I ended up with a rather nasty looking error: Edge between 'Vertex{label='com.williams1000.maven.plugin:maven- eclipseproject-plugin'}' and 'Vertex {label='com.williams1000.maven.plugin:maven-eclipseproject-plugin'}' introduce

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Ashley Williams
Great that does work (when I tag :version on the end as well). However I can't get it to recognize my @parameter values when I specify them as -D command line variables. Is there some other way to smuggle them in?? On 10 Sep 2005, at 10:03, Johnny R. Ruiz wrote: Ashley Williams wrote:

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Yann Le Du
Ashley, Check in your repository if there is a maven-myplugin-plugin-RELEASE.version.txt in your plugin dir (along the LATEST file). If not, add these lines to your plugin POM then re-launch m2 install : org.apache.maven.plugins maven-myplugin-plugin

Re: [m2] how do I invoke a plugin

2005-09-05 Thread Johnny R. Ruiz
Ashley Williams wrote: I've written a simple plugin that I wish to call from the command line rather than as part of the project, just like m2 clean:clean, so as such I've used the 'execute' goal annotation. However no matter what I try maven seems to look for a RELEASE plugin somewhere i