Re: Does anyone have the grails:run-war plugin working? Or another option?

2010-02-28 Thread Wayne Fay
I really need to be able to run a grails war either through the grails plugin, or just as a raw war in Tomcat, but need to see if anyone has this working already? You may just need to pull down the plugin source code and see what's going on with the run-war goal. Alternatively, can't you just

Developing maven plugin. How can I manage artifacts?

2010-02-28 Thread boraldo
I want to develop plugin that will do something with jar files in a local repository. Example: deploy application ear file to server. Please, don't propose to use existing plugins for this. They don't satisfy my requirements. I want to develop my plugin. How can I do it? -- View this message

Re: Developing maven plugin. How can I manage artifacts?

2010-02-28 Thread nicolas de loof
Do you want to use current project artifact or a project dependency ? 2010/2/28 boraldo bora...@hotbox.ru I want to develop plugin that will do something with jar files in a local repository. Example: deploy application ear file to server. Please, don't propose to use existing plugins for

Re: Developing maven plugin. How can I manage artifacts?

2010-02-28 Thread Wayne Fay
Example: deploy application ear file to server. Please, don't propose to use existing plugins for this. They don't satisfy my requirements. I want to develop my plugin. Pick a plugin which is at least somewhat similar and open source. Download the code and review it. Make your own in a similar

Re: Developing maven plugin. How can I manage artifacts?

2010-02-28 Thread Dan Tran
They don't satisfy my requirements Which one not satisfy your requirements? On Sun, Feb 28, 2010 at 8:45 AM, Wayne Fay wayne...@gmail.com wrote: Example: deploy application ear file to server. Please, don't propose to use existing plugins for this. They don't satisfy my requirements. I want

How to check badly formed pom.xml

2010-02-28 Thread amaresh mourya
Hi All, How should i check whether or not a particular POM (pom.xml) is syntactically correct. Is there any apache API for that? for example, if one of the tag is missing or say is wrong. Then which method I should use so that I got exception thrown, so that I can handle it. parent

Re: How to check badly formed pom.xml

2010-02-28 Thread Anders Hammar
Schema validation? http://maven.apache.org/maven-v4_0_0.xsd /Anders On Mon, Mar 1, 2010 at 07:01, amaresh mourya amaresh.mou...@gmail.comwrote: Hi All, How should i check whether or not a particular POM (pom.xml) is syntactically correct. Is there any apache API for that? for example, if

Re: How to check badly formed pom.xml

2010-02-28 Thread amaresh mourya
Hi Anders, Thanks for your reply. but i was asking for, is there any method which takes input my pom.xml file and this schema , so that i can directly use that method for validation. --Amaresh On Mon, Mar 1, 2010 at 12:24 PM, Anders Hammar and...@hammar.net wrote: Schema validation?

Re: How to check badly formed pom.xml

2010-02-28 Thread Anders Hammar
http://lmgtfy.com/?q=schema+validation+java On Mon, Mar 1, 2010 at 08:31, amaresh mourya amaresh.mou...@gmail.comwrote: Hi Anders, Thanks for your reply. but i was asking for, is there any method which takes input my pom.xml file and this schema , so that i can directly use that method for

Maven and Properties

2010-02-28 Thread yodee
Hi, I have few properties defined in my settings.xml. I’m refering it in my POM’s while compiling my code. However when I does the “mvn install” it installs the artifact properly into my repository and it also installs the POM into it. However the resulting POM in my repository is not having the

Disabling build failure for compilation failure of the test module.

2010-02-28 Thread Hrishikesh Alshi
I am working as a QA engineer. We are using maven for building our project. I have developed java automation. This automation runs the integrated testcase suit. So I can't trigger it as part of maven build (These are not unit cases. And this automation is meant to be triggered after a lengthy