Plugin Dev: Access to command-line parameter

2007-05-13 Thread Martin Bengl
Hello folks, how can I access the maven2 command line arguments (like options or goals) inside a mojo? I have to check for the offline option "-o", need access to the given goals and to the settings.xml path if it is overwritten. thanks and greetings martin --

Plugin for com.sun.enterprise.tools.verifier.Verifier?

2007-05-11 Thread Martin Bengl
Hello folks, is there a maven2 plugin which wraps the com.sun.enterprise.tools.verifier.Verifier to verify the correct packaging of ear, war, jar, etc. modules? if not, i will write some plugin which calls the Verifier class like the ant task descripted here: http://java.sun.com/j2ee/verif

Re: M2-Plugin Development: Reading POM programmatically

2007-05-04 Thread Martin Bengl
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

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: AW: Searching for "maven start plugin"?

2007-01-29 Thread Martin Bengl
searching for is "exec:java": mvn exec:java -Dexec.mainClass="com.example.Main" Cheers, Marc -Ursprüngliche Nachricht----- Von: Martin Bengl [mailto:[EMAIL PROTECTED] Gesendet: Sonntag, 28. Januar 2007 22:18 An: Maven Users List Betreff: Searching for "maven sta

Searching for "maven start plugin"?

2007-01-28 Thread Martin Bengl
hello folks, building java apps with maven is fun. but i'm asking myself if there is a way to execute artifacts with maven using the dependency information (from pom.xml) to build the runtime classpath. i create some SWT application with maven and would like to do some "mvn start" in the ap