<div dir="ltr">I&#39;m trying by maven, but still can&#39;t do it<div><br></div><div><div>&lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;</div><div>    &lt;artifactId&gt;ai&lt;/artifactId&gt;</div><div>    &lt;name&gt;Proj&lt;/name&gt;</div>
<div>    &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>    &lt;!-- Dependencies --&gt;</div><div>    &lt;dependencies&gt;</div><div><br></div><div>        &lt;!-- Projects --&gt;</div><div>        &lt;dependency&gt;</div>
<div>            &lt;groupId&gt;my.new.project&lt;/groupId&gt;</div><div>            &lt;artifactId&gt;commons&lt;/artifactId&gt;</div><div>            &lt;version&gt;1.0.0&lt;/version&gt;</div><div>        &lt;/dependency&gt;</div>
<div><br></div><div>        &lt;!-- API --&gt;</div><div>        &lt;dependency&gt;</div><div>            &lt;groupId&gt;org.drools&lt;/groupId&gt;</div><div>            &lt;artifactId&gt;drools-core&lt;/artifactId&gt;</div>
<div>            &lt;version&gt;${org.drools.version}&lt;/version&gt;</div><div>            &lt;scope&gt;provided&lt;/scope&gt;</div><div>        &lt;/dependency&gt;</div><div>        &lt;dependency&gt;</div><div>            &lt;groupId&gt;org.drools&lt;/groupId&gt;</div>
<div>            &lt;artifactId&gt;drools-compiler&lt;/artifactId&gt;</div><div>            &lt;version&gt;${org.drools.version}&lt;/version&gt;</div><div>            &lt;scope&gt;provided&lt;/scope&gt;</div><div>        &lt;/dependency&gt;</div>
<div>        &lt;dependency&gt;</div><div>            &lt;groupId&gt;org.codehaus.janino&lt;/groupId&gt;</div><div>            &lt;artifactId&gt;janino&lt;/artifactId&gt;</div><div>            &lt;version&gt;${org.codehaus.janino.version}&lt;/version&gt;</div>
<div>            &lt;scope&gt;provided&lt;/scope&gt;</div><div>        &lt;/dependency&gt;</div><div>    &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 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&#39;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&#39;t overwritten any transitive dependency to a lower version:<br>
<a 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&#39;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&#39;t need most of the deps in<br>
the lib zip), don&#39;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 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 href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a 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 href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a 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>