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