maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bentmann <benjamin.bentm...@udo.edu>
Subject MNG-3866: To fix or not to fix?
Date Sun, 30 Nov 2008 00:04:03 GMT
Hi,

In the light of MNG-3866 [0], Shane and I had a short discussion what 
should be the right behavior during model inheritance for handling 
plugin definitions with different versions. Apparently, that is 
something to discuss in the context of the community ;-), so please comment.

In Maven 2.x, <plugin> sections are merged based on the plugin key which 
consists of groupId:artifactId, i.e. does not contain the plugin version 
(c.f. ModelUtils.mergePluginLists()). This differs from Maven 3.x trunk 
where <plugin> definitions are currently only merged if groupId, 
artifactId and version match (c.f. 
ArtifactModelContainer.containerAction()).

So, what's the proper behaviour?


Benjamin


[0] http://jira.codehaus.org/browse/MNG-3866

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message