[jboss-jira] [JBoss JIRA] (DROOLS-788) Create kie-platform-bom

Petr Široký (JIRA) issues at jboss.org
Thu May 21 05:58:19 EDT 2015


Petr Široký created DROOLS-788:
----------------------------------

             Summary: Create kie-platform-bom
                 Key: DROOLS-788
                 URL: https://issues.jboss.org/browse/DROOLS-788
             Project: Drools
          Issue Type: Enhancement
    Affects Versions: 6.2.0.Final
            Reporter: Petr Široký
            Assignee: Petr Široký


We currently use the following Maven pom hierarchy:
{code}
kie-parent-metadata
kie-parent-with-dependencies extends kie-parent-metadata
    -> imports ip-bom
    -> imports kie-bom
    -> imports drools-bom
    -> imports optaplanner-bom
    -> overwrites batik
    -> additional artifact versions in depMgmt
drools extends kie-parent-with-dependencies
drools-core extends drools
{code}

Effectively our platform BOM is {{kie-parent-with-dependencies}}. The name is unfortunately a bit misleading. After a discussion with [~ge0ffrey] we agreed that it would be great to create a {{kie-platform-bom}} that would basically contain the same contents as currently {{kie-parent-with-dependencies}}. Users can then use this BOM (with a disclaimer that is it a platform BOM) if they want to have all our versions available (also the 3rd party ones that are not in our current BOMs). This BOM will be imported in {{kie-parent-with-dependencies}}. All others projects should still use the {kie-parent-with-dependencies} for now as we want to decrease the overall impact of the change. In future (probably 7.0) we would like to remove the {{kie-parent-with-dependencies}} completely and have only {{kie-parent}} (the metadata parent) and {{kie-platform-bom}} which contains all the different versions of our and also 3rd party deps.

This is the expected result (for the near future):
{code}
kie-parent-metadata
kie-platform-bom // Add comment "there can only be 1 platform bom in your dep tree"
    -> imports ip-bom
    -> imports kie-bom
    -> imports drools-bom
    -> imports optaplanner-bom
    -> overwrites batik
    -> additional artifact versions in depMgmt
kie-parent-with-dependencies extends kie-parent-metadata
    -> imports kie-platform-bom
drools extends kie-parent-with-dependencies
drools-core extends drools
optaplanner extends kie-parent-with-dependencies
optaplanner-core extends optaplanner
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jboss-jira mailing list