[ 
https://issues.apache.org/jira/browse/MNG-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17765176#comment-17765176
 ] 

Guillaume Nodet commented on MNG-7879:
--------------------------------------

This is a requirement for MNG-7880.  The goal of MNG-7880 is to trim down the 
consumer POM and remove build information from it.  This will allow projects to 
build with a model > 4.0.0 (and benefit from new features at build time), while 
allowing the POMs to be retro-translated into 4.0.0 model for consumption.  For 
POM packaging, this can not be easily done, as the build information can not be 
removed from POMs used as parents.  However, it can in BOM, as it is consumed 
as a dependency and not used as a parent.  In order to allow projects using BOM 
to benefit from the 4.1.0 model or later, we need this BOM packaging.  It's 
currently translated into a POM packaging at publication time, so that existing 
Maven clients can use such a project with no change.  

> Add a new BOM packaging
> -----------------------
>
>                 Key: MNG-7879
>                 URL: https://issues.apache.org/jira/browse/MNG-7879
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.0.0-alpha-8
>
>
> The BOM packaging provides a way for Maven to differentiate parent POMs from 
> BOMs.  This is required in order to be able to reduce the consumer POM : 
> BOMs' POMs can be reduced easily as all the build time information is 
> irrelevant, however parent POMs must preserve all build time information.
> In order to preserve compatibility, the BOM package will be translated into a 
> POM packaging at publication time.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to