Stephen Connolly wrote:

> 2008/12/23 Jaikiran <[email protected]>
> 
>>
>>
>> Jörg Schaible-2 wrote:
>> >
>> > Well, personally I hope it will not change. Otherwise we will face a
>> > lot more Ant-like POMs which contradicts IMHO the original design goal.
>> >
>> > - Jörg
>> >
>>
>> I did not get this. Do you mean allowing the same plugin to be included
>> multiple times for the same phase won't be a good feature?
>>
> 
> Nope, what he means is multiple <plugin> sections for the same plugin....
> you should just use multiple <execution> sections in the one <plugin>
> section.

Basically I mean the possibility to turn a POM in some kind of Ant build
script. Especially I refer the 3rd paragraph here:
http://maven.apache.org/background/philosophy-of-maven.html. If you had
ever used a large project with a lot of developers using highly individual
Ant scripts, you know what I mean. A pure maintenance nightmare that
already starts not with the first line of code to fix, but with the initial
build.

Meanwhile I can also see here on the Maven list some kind of "we must
support any cornercase" attitude, simply because some people do not want to
follow Maven's best practices building their projects. If somebody really
has the need for a very individual process building an artifact it might be
better if he develops his own plugin doing the job at once instead of
cascading a whole bunch of different plugins multiple times. The result
will be that this complete build section is copied over again a multiple
time and then we're back to Ant times.

- Jörg

> 
> The only reason I can see for it changing is to allow using multiple
> versions of the same plugin... I would still think that you can only have
> one plugin section for each groupId:artifactId:version in any one plugins
> section...
> 
> For maven 2.0.x this is more strict in that you cannot differentiate by
> version due to Maven 2.0.x's class-loading of plugins (i.e. first version
> wins)
> 
> 
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Plugin-execution-order-incorrect-in-Maven-2.0.9-when-multiple-plugins-are-associated-with-the-same-phase-tp21113516p21143702.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to