Re: [m2] want to centralize my build.xml for a multi module project...

2007-07-29 Thread Wayne Fay
Yes, I mean literally modifying the maven-antrun-plugin code itself. So, go pull down the code from Antrun: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-antrun-plugin/src/main/java/org/apache/maven/plugin/antrun/AntRunMojo.java?view=markup and Checkstyle: http://svn.apache.org/viewvc/mav

Re: [m2] want to centralize my build.xml for a multi module project...

2007-07-29 Thread Mick Knutson
Jalopy and Checkstyle operate the same in that respect. I am not sure what you mean by modifying the ant plugin. Do you mean the actual maven plugin? I have never edited a plugin in the past. Or is there another way? All I want is something like: where classpath: means the plugin should search

Re: [m2] want to centralize my build.xml for a multi module project...

2007-07-28 Thread Wayne Fay
Its not a bad idea, but I don't think the ant plugin currently supports such a use case. The plugin could probably be modified to work like that, and probably without a lot of trouble. I'd take a look at Jalopy plugin and see how it resolves resources that it uses. Also take a look at Checkstyle,

[m2] want to centralize my build.xml for a multi module project...

2007-07-28 Thread Mick Knutson
I saw a reference to creating a build-tools.jar to use in a multi module project for Jalopy: http://mojo.codehaus.org/jalopy-maven-plugin/multimodule.html I have dozens of projects that have the need to use the same ant build.xmlscript and I was hoping to just create a dependancy upon it like or