<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi guys,<br>
    <br>
    The platform BOM work has been completed.<br>
    In the new situation, some of you might be wondering:<br>
    <br>
    <b>Where do I add a new dependency, or upgrade an existing
      dependency's version?</b><br>
    <br>
    1) <b>Where do I add a new internal</b><b> module?</b><br>
    An internal module is a module of drools, jbpm, optaplanner, guvnor
    or dashboard-builder itself.<br>
    Add it in droolsjbpm-build-bootstrap/*-bom/pom.xml<br>
    Depending on the groupId of your new internal module:<br>
      groupId org.kie =&gt; add in kie-bom<br>
      groupId org.drools =&gt; add in drools-bom<br>
      groupId org.jbpm =&gt; add in jbpm-bom<br>
    <br>
    2) <b>Where do I add a new external dependency?</b><br>
    Add it in
    droolsjbpm-build-bootstrap/kie-parent-with-dependencies/pom.xml in
    &lt;dependencyManagement&gt;.<br>
    Be sure to follow the conventions comment in that xml.<br>
    <br>
    3) <b>Why is kie-parent-with-dependencies so empty?</b><br>
    Most dependencies have been extracted to
    jboss-integration-platform-bom:<br>
     
    <a class="moz-txt-link-freetext" href="https://github.com/jboss-integration/jboss-integration-platform-bom">https://github.com/jboss-integration/jboss-integration-platform-bom</a><br>
    This is a bom we share with the switchyard team.<br>
    <br>
    4) <b>Where do I change the version of an existing external
      dependency?</b><br>
    Also in
    droolsjbpm-build-bootstrap/kie-parent-with-dependencies/pom.xml.<br>
    If it's not there, but it is inherited from
    jboss-integration-platform-bom,<br>
    simply declare it again in kie-parent-with-dependencies
    in&lt;dependencyManagement&gt;,<br>
    but with a different version.<br>
    <br>
    5) <b>Can I add my dependency (or change my dependency version)
      directly on jboss-integration-platform-bom?</b><br>
    No.<br>
    Because that can disrupt SwitchYard and circumvent validation.<br>
    At set times someone (probably Edson) will pull all new dependency
    and dependency versions from kie-parent-with-dependencies into the
    jboss-integration-platform-bom<br>
    and also validate if nothing is conflicting with the EAP platform
    version we're targetting.<br>
    <br>
    6) <b>Can I add any new dependency in kie-parent-with-dependencies
      just like before?<br>
    </b>Yes,<br>
    but just like before we expect certain minimal requirements:<br>
     - that the dependency is available in Maven Central or JBoss Nexus<br>
     - that the dependency's license is acceptable and described in it's
    pom.xml file<br>
    Furthermore, you can prevent trouble by keeping these requirements
    in mind:<br>
     - by the time productization releases, it should be compatible with
    the EAP version we'll be targeting by then. So if EAP has it, we
    need to use the same version (or formally request EAP to upgrade
    their version).<br>
     - by the time productization releases, it should be compatible with
    SwitchYard. So if SwitchYard has it, we need to use their version or
    higher (they can always upgrade).<br>
    <br>
    <br>
    Hope that's clear :) If not, manstis will make a diagram this time
    ;-)<br>
    <br>
  </body>
</html>