[M2] Plugin development

2007-06-04 Thread Orford, Ian
Hi, I added some functionality to the deploy phase of one of my projects that allowed me to scp the assembly to a target host, and then ssh to the host to run a command that deploys it. This is really useful, but now I'd like to package it up so it can easily be added other projects. In the pom i

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Mark Hobson
Hi Martin, On 04/05/07, Martin Bengl <[EMAIL PROTECTED]> wrote: Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? Mainly from digging around the source code. I do agree writing and publishing some javadoc would

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Martin Bengl
Hello Mark, thanks a lot - where do you get such information from? From my point of view maven is not well documentated, isn't it? can i get your shared component somewhere before it's submitted and is there already a jira entry to vote for it? greetings Martin Mark Hobson schrieb: On 03/05/0

Re: M2-Plugin Development: Reading POM programmatically

2007-05-03 Thread Mark Hobson
On 03/05/07, Martin Bengl <[EMAIL PROTECTED]> wrote: hello folks, I use following solution (with maven 2.0.4) to create a MavenProject at runtime to extract informations like artifactId and groupid - this could be also done by manually parsing the xml file - but i think its a better way to use t

M2-Plugin Development: Reading POM programmatically

2007-05-03 Thread Martin Bengl
hello folks, I use following solution (with maven 2.0.4) to create a MavenProject at runtime to extract informations like artifactId and groupid - this could be also done by manually parsing the xml file - but i think its a better way to use the maven classes. File pomFile = new File("pom.xm

Re: [m2] plugin development question

2007-02-09 Thread Wayne Fay
5 An: Maven Users List Betreff: Re: [m2] plugin development question I have no idea if this is possible with M2 plugins as I haven't done a whole lot in that area yet. The first one should be relatively easy -- make a mojo and assign it to the validate phase. But I'm not sure you can assig

AW: [m2] plugin development question

2007-02-09 Thread Thorsten Vogel
integrated LEDs, which is totally awesome :-D -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Wayne Fay Gesendet: Freitag, 9. Februar 2007 19:15 An: Maven Users List Betreff: Re: [m2] plugin development question I have no idea if this is possible with M2

Re: [m2] plugin development question

2007-02-09 Thread Wayne Fay
I have no idea if this is possible with M2 plugins as I haven't done a whole lot in that area yet. The first one should be relatively easy -- make a mojo and assign it to the validate phase. But I'm not sure you can assign a mojo to the "last" phase when you don't know which one that will be espec

[m2] plugin development question

2007-02-09 Thread Thorsten Vogel
Good day everyone, i want to achieve the following in a m2 plugin but i don't know if it is possible (i am new to m2 but i have used m1 intensively in the past): 1. One plugin/mojo must be executed when the build starts. 2. One plugin/mojo must be executed when the build ends and it needs to de

RE: [m2] plugin development for dummies (The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist...)

2006-04-20 Thread Vijay Shanker
: users@maven.apache.org Subject: [m2] plugin development for dummies (The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist...) My first plugIn and nothing as anger ,-) What's wrong? My POM: 4.0.0 webcsc.maven.plugins ReleaseNotes maven-plugin

[m2] plugin development for dummies (The plugin 'org.a pache.maven.plugins:maven-plugin-plugin' does not exis t...)

2006-04-20 Thread Fredy
My first plugIn and nothing as anger ,-) What's wrong? My POM: 4.0.0 webcsc.maven.plugins ReleaseNotes maven-plugin 1.0-SNAPSHOT Release Notes PlugIn org.apache.maven maven-plugin-api 2.0 The Error Log: + Error stacktraces are turned on. [DE