Re: Subclassing the war plugin

2007-04-21 Thread Jochen Wiedmann
On 4/21/07, Max Bowsher <[EMAIL PROTECTED]> wrote: Not necessarily. Maven plugins are maven-plugin, but have extension .jar - the two do not have to be the same. Hmmm, that's a good hint. Thank you! Jochen -- My cats know that I am a loser who goes out for hunting every day without ever retu

Re: Subclassing the war plugin

2007-04-21 Thread Jochen Wiedmann
On 4/21/07, Stephane Nicoll <[EMAIL PROTECTED]> wrote: OK but is there a way you defined the necessary hooks you need? Maybe this could be reused for somebody else. I have simply duplicated the war plugins properties and transfer the values using ReflectionUtils.getFieldByNameIncludingSupe

Re: Subclassing the war plugin

2007-04-21 Thread Max Bowsher
Jochen Wiedmann wrote: > I can change that to > >mywar > > but that means changing the extension. Not necessarily. Maven plugins are maven-plugin, but have extension .jar - the two do not have to be the same. Max. signature.asc Description: OpenPGP digital signature

Re: Subclassing the war plugin

2007-04-20 Thread Stephane Nicoll
Hi, On 4/21/07, Franz Allan Valencia See <[EMAIL PROTECTED]> wrote: ... But if really don't like either approach, then you probably could just create your own version of the war plugin ( something like, org.apache.maven.plugins:maven-war-plugin:1.0-jochen ). So that using pluginManagement, you c

Re: Subclassing the war plugin

2007-04-20 Thread Franz Allan Valencia See
Good day to you, Jochen, If you really think maven-war-plugin will not fulfill your war's "special needs", then maybe your packaging is not really a war hence you'd have to go with mywar But if you think it really is a war, then you might want to extend the maven-war-plugin. But if really don

Re: Subclassing the war plugin

2007-04-20 Thread Stephane Nicoll
Hi, On 4/20/07, Jochen Wiedmann <[EMAIL PROTECTED]> wrote: Hi, I am about to implement a plugin, which generates war files. Wait, I hear you say, there already is a war plugin. Unfortunately, my war files are very special and need to be created in a way, which the war file cannot (and will not)

Subclassing the war plugin

2007-04-20 Thread Jochen Wiedmann
Hi, I am about to implement a plugin, which generates war files. Wait, I hear you say, there already is a war plugin. Unfortunately, my war files are very special and need to be created in a way, which the war file cannot (and will not) fulfill. Ok, basically there is no problem. I am subclassin