<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Op 14-01-13 18:27, Andr&eacute; Fr&oacute;es schreef:<br>
    </div>
    <blockquote
cite="mid:CAC8f_wX4OMtEKQUXnapKMpSG6kBdkw=XTbtc5oboAU1E0F=W2g@mail.gmail.com"
      type="cite">
      <div dir="ltr">I'm trying by maven, but still can't do it
        <div><br>
        </div>
        <div>
          <div>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;</div>
          <div>&nbsp; &nbsp; &lt;artifactId&gt;ai&lt;/artifactId&gt;</div>
          <div>&nbsp; &nbsp; &lt;name&gt;Proj&lt;/name&gt;</div>
          <div>&nbsp; &nbsp; &lt;packaging&gt;jar&lt;/packaging&gt;</div>
          <div><br>
          </div>
          <div><span class="" style="white-space:pre"> </span>&lt;parent&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;groupId&gt;my.new.project&lt;/groupId&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;artifactId&gt;parent-pom&lt;/artifactId&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;version&gt;1.0.0&lt;/version&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;/parent&gt;</div>
          <div><span class="" style="white-space:pre"> </span></div>
          <div><span class="" style="white-space:pre"> </span>&lt;properties&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;org.drools.version&gt;5.5.0.Final&lt;/org.drools.version&gt;</div>
          <div><span class="" style="white-space:pre"> </span>&lt;org.codehaus.janino.version&gt;2.5.16&lt;/org.codehaus.janino.version&gt;<span
              class="" style="white-space:pre"> </span></div>
          <div><span class="" style="white-space:pre"> </span>&lt;/properties&gt;</div>
          <div><span class="" style="white-space:pre"> </span></div>
          <div><br>
          </div>
          <div>&nbsp; &nbsp; &lt;!-- Dependencies --&gt;</div>
          <div>&nbsp; &nbsp; &lt;dependencies&gt;</div>
          <div><br>
          </div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- Projects --&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;groupId&gt;my.new.project&lt;/groupId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifactId&gt;commons&lt;/artifactId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;version&gt;1.0.0&lt;/version&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
          <div><br>
          </div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- API --&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;groupId&gt;org.drools&lt;/groupId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;artifactId&gt;drools-core&lt;/artifactId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;version&gt;${org.drools.version}&lt;/version&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;scope&gt;provided&lt;/scope&gt;</div>
        </div>
      </div>
    </blockquote>
    Why go scope provided?<br>
    <blockquote
cite="mid:CAC8f_wX4OMtEKQUXnapKMpSG6kBdkw=XTbtc5oboAU1E0F=W2g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;groupId&gt;org.drools&lt;/groupId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;version&gt;${org.drools.version}&lt;/version&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;scope&gt;provided&lt;/scope&gt;</div>
        </div>
      </div>
    </blockquote>
    Why go scope provided?
    <blockquote
cite="mid:CAC8f_wX4OMtEKQUXnapKMpSG6kBdkw=XTbtc5oboAU1E0F=W2g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;dependency&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;groupId&gt;org.codehaus.janino&lt;/groupId&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifactId&gt;janino&lt;/artifactId&gt;</div>
        </div>
      </div>
    </blockquote>
    By default drools-compiler transitively depends on a java compiler
    (I forgot if it's janino or eclipse jdt),<br>
    so you don't need to specify that dependency.<br>
    If you want to use the other one, you might want to exclude the
    default.<br>
    Either way, you might want to try first with the default one, by not
    declaring any janino/jdt dependency and let maven drag in the
    transitive dependency automatically.<br>
    <blockquote
cite="mid:CAC8f_wX4OMtEKQUXnapKMpSG6kBdkw=XTbtc5oboAU1E0F=W2g@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &lt;version&gt;${org.codehaus.janino.version}&lt;/version&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;scope&gt;provided&lt;/scope&gt;</div>
          <div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/dependency&gt;</div>
          <div>&nbsp; &nbsp; &lt;/dependencies&gt;</div>
        </div>
        <div><br>
        </div>
        <div style="">is this right?</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2013/1/14 Geoffrey De Smet <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>&gt;</span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div class="im HOEnZb">If you're using
              maven/gradle/ivy/buildr, just update the version and let<br>
              it figure out the transitive dependencies.<br>
              Although you might want to use the enforcer plugin to
              check if you<br>
              haven't overwritten any transitive dependency to a lower
              version:<br>
              <a moz-do-not-send="true"
href="http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html"
                target="_blank">http://maven.apache.org/enforcer/enforcer-rules/requireUpperBoundDeps.html</a><br>
              <br>
              If you're using ant, basically replace all of them with
              those from the<br>
              5.5 lib zip.<br>
              If you want to get rid of dead deps, compare the 5.4 lib
              zip with the<br>
              5.5 lib zip afterwards (= painful).<br>
              If you just want the subset of deps that you need (like
              with maven, for<br>
              example if you only use drools-core, you don't need most
              of the deps in<br>
              the lib zip), don't use ant.<br>
              <br>
              Op 14-01-13 12:44, Andre Froes schreef:<br>
            </div>
            <div class="HOEnZb">
              <div class="h5">&gt; Hello everyone,<br>
                &gt;<br>
                &gt; in order to update from drools 5.4 to 5.5 which lib
                should I update? Or must<br>
                &gt; I replace them all?<br>
                &gt;<br>
                &gt; Thanks<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; --<br>
                &gt; View this message in context: <a
                  moz-do-not-send="true"
href="http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html"
                  target="_blank">http://drools.46999.n3.nabble.com/Which-libs-should-I-update-after-update-tp4021500.html</a><br>
                &gt; Sent from the Drools: User forum mailing list
                archive at Nabble.com.<br>
                &gt; _______________________________________________<br>
                &gt; rules-users mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/rules-users"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
                &gt;<br>
                <br>
                _______________________________________________<br>
                rules-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
                <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/rules-users"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>