Re: svn commit: r473770 - in /maven/plugins/trunk/maven-site-plugin: ./ src/main/java/org/apache/maven/plugins/site/ src/site/apt/examples/ src/test/java/ src/test/java/org/ src/test/java/org/apache/

2006-11-11 Thread Brett Porter
Hi Vincent, Thanks for this! I think there was a JIRA for the general case which you might want to close as being superceded by the other one too. I have a couple of comments unrelated to the main change: On 12/11/2006, at 5:47 AM, [EMAIL PROTECTED] wrote: } catch ( Malfo

Re: Problem referencing a resource in a plugin jar

2006-11-11 Thread David Whitehurst
Tom: That was it! I'm in business now with my templates inside the plugin. Thanks, David On 11/11/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote: Check the value of classLoader.getResource(...). This should be a URL in the form to a resource inside a jar. I don't think turning this into a str

Re: Problem referencing a resource in a plugin jar

2006-11-11 Thread Tom Huybrechts
Check the value of classLoader.getResource(...). This should be a URL in the form to a resource inside a jar. I don't think turning this into a string and passing that to new File() will help. Instead try using getting the resource as a stream. InputStream is = getClass().getClassLoader().getReso

Problem referencing a resource in a plugin jar

2006-11-11 Thread David Whitehurst
Can someone tell me how to get the maven plugin classloader? Or tell me if that's I can't obtain the reference file as such ... from a plugin.java file e.g. ClassLoader classLoader = this.getClass().getClassLoader(); File file = new File(classLoader.getResource (getLocalPro

Re: PropertyUtils as a library

2006-11-11 Thread Franz Allan Valencia See
Good day, I've just started refactoring maven-resources-plugin ([1]). But I did not take out the PropertyUtils class out of it yet, or the resources handling part either. But at least it's one step to cleaning it. Basically, i just extracted a parent class for the Mojos, and another one for the

RE: War plugin overlays: New plugin to handle transitive dependencies

2006-11-11 Thread Brian E. Fox
Michael, These sound like handy enhancements to have. I also have issues with the ordering of the overlay because of the timestamps. I documented some of it and the way we do it (with a very old war plugin version) here: http://jira.codehaus.org/browse/MWAR-66 I would eventually like to enhance w

War plugin overlays: New plugin to handle transitive dependencies

2006-11-11 Thread Michael Horwitz
Hi, I have been helping out with the development of the AppFuse project over the last month where we make heavy use of the war overlay feature in the Maven war plugin. It is a really nifty feature! To get max power with war overlays I have developed the Warpath plugin that allows projects to use