<div dir="ltr">I'm trying by maven, but still can't do it<div><br></div><div><div><modelVersion>4.0.0</modelVersion></div><div> <artifactId>ai</artifactId></div><div> <name>Proj</name></div>
<div> <packaging>jar</packaging></div><div><br></div><div><span class="" style="white-space:pre">        </span><parent></div><div><span class="" style="white-space:pre">                </span><groupId>my.new.project</groupId></div>
<div><span class="" style="white-space:pre">                </span><artifactId>parent-pom</artifactId></div><div><span class="" style="white-space:pre">                </span><version>1.0.0</version></div><div><span class="" style="white-space:pre">        </span></parent></div>
<div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">        </span><properties></div><div><span class="" style="white-space:pre">                </span><org.drools.version>5.5.0.Final</org.drools.version></div>
<div><span class="" style="white-space:pre">                </span><org.codehaus.janino.version>2.5.16</org.codehaus.janino.version><span class="" style="white-space:pre">                </span></div><div><span class="" style="white-space:pre">        </span></properties></div>
<div><span class="" style="white-space:pre">        </span></div><div><br></div><div> <!-- Dependencies --></div><div> <dependencies></div><div><br></div><div> <!-- Projects --></div><div> <dependency></div>
<div> <groupId>my.new.project</groupId></div><div> <artifactId>commons</artifactId></div><div> <version>1.0.0</version></div><div> </dependency></div>
<div><br></div><div> <!-- API --></div><div> <dependency></div><div> <groupId>org.drools</groupId></div><div> <artifactId>drools-core</artifactId></div>
<div> <version>${org.drools.version}</version></div><div> <scope>provided</scope></div><div> </dependency></div><div> <dependency></div><div> <groupId>org.drools</groupId></div>
<div> <artifactId>drools-compiler</artifactId></div><div> <version>${org.drools.version}</version></div><div> <scope>provided</scope></div><div> </dependency></div>
<div> <dependency></div><div> <groupId>org.codehaus.janino</groupId></div><div> <artifactId>janino</artifactId></div><div> <version>${org.codehaus.janino.version}</version></div>
<div> <scope>provided</scope></div><div> </dependency></div><div> </dependencies></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"><<a href="mailto:ge0ffrey.spam@gmail.com" target="_blank">ge0ffrey.spam@gmail.com</a>></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 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">> Hello everyone,<br>
><br>
> in order to update from drools 5.4 to 5.5 which lib should I update? Or must<br>
> I replace them all?<br>
><br>
> Thanks<br>
><br>
><br>
><br>
> --<br>
> 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>
> Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
><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>