[rules-users] Drools 5.5.0.CR1 is using a broken cdi-api version

Geoffrey De Smet ge0ffrey.spam at gmail.com
Fri Nov 2 05:45:34 EDT 2012


Thanks for reporting.
Fixed on master and 5.5.x by excluding cdi-api for OSGi (just like in 
drools-compiler):
https://github.com/droolsjbpm/droolsjbpm-knowledge/commit/4bb6adaef01247e00761ad807b7a2df8a4b5f872

Op 01-11-12 00:54, Cristiano Gavião schreef:
> Hello,
>
> I'm using Tycho to create a dependency P2 repository (OSGi environment)
> containing JBPM 5.4.0.CR1 and DROOLS 5.5.0.CR1.
>
> I got some problem to properly setup the dependencies for the cdi-api.
>
> The bundle knowledge-internal-api has a dependency to cdi-api (version
> 1.0-SP4), but this version is tied to this:
>
> <groupId>org.jboss.spec.javax.interceptor</groupId>
>    <artifactId>jboss-interceptors-api_1.1_spec</artifactId>
>    <version>1.0.0.Beta1</version>
>
> And this 1.0.0.Beta1 version of org.jboss.spec.javax.interceptor was not
> well osgified. it doesn't have a Bundle-SymbolicName !
>
> I could handle this problem using a newer version of it:
>
>           <dependency>
> <groupId>org.jboss.spec.javax.interceptor</groupId>
> <artifactId>jboss-interceptors-api_1.1_spec</artifactId>
>               <version>1.0.1.Final</version>
>           </dependency>
>
> I won't use cdi anyway, but it could help others that decide to use jbpm
> with eclipse.
>
> regards,
>
> Cristiano
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



More information about the rules-users mailing list