From: Eric P. <ep...@up...> - 2004-10-18 21:22:59
|
Check out the maven-artifact-plugin or the CVS HEAD of the maven-eclipse-plugins.. There are examples of writing a 'tag' using Jelly. ERic > -----Original Message----- > From: mav...@li... > [mailto:mav...@li...]On Behalf Of > Sebastián Esponda > Sent: Monday, October 18, 2004 8:08 PM > To: mav...@li... > Subject: [Maven-plugins-developer] [PATCH] findbugs plugin - include / > exclude filters > > > Hi there, > > We're using FindBugs (Ant task) with some filters (excludeFilter attribute > in FindBugs Ant task)... so I had to edit plugin.jelly to take > care of this > when generating the report. > The plugin is now aware of two properties: > maven.findbugs.excludeFilter and > maven.findbugs.includeFilter (exclude property wins). > > I used jelly tags choose/when/otherwise for detecting the correct case and > calling the correct ant task, but because > the XML must be well-formed, I had to repeat the text inside > <findbugs/> tag > in every block (ugly copy & paste). > Is there any way to factorize this?? > > I'm sending the edited plugin.jelly (the new one wich I'm using) and a CVS > patch (for version 1.8 of plugin.jelly). > > Please be nice !! I've started learning Jelly today... I hope it helps ! > > Best, > > |