According to http://jira.openmindlab.com/browse/CRIT-29 and the requirements 
section on http://www.openmindlab.com/lab/products/mgnlcriteria.html the JCR 
2.0 API jar is in fact ok to use with Jackrabbit 1.6.

Nils.
________________________________________
Van: [email protected] [[email protected]] namens 
Nils Breunese
Verzonden: donderdag 23 september 2010 20:06
Aan: Magnolia User-List
Onderwerp: RE: [magnolia-user] [ANNOUNCE] openmindlab modules releases

AFAIK you still need the jcr 2.0 jar or you'll get the errors I got. That means 
using jackrabbit 1.6 with the JCR 2.0 API jar. I haven't encountered any 
problems with that combination, but it feels wrong, so I think we'll stay on 
SimpleMedia 4.2.1 for now.

Nils.
________________________________________
Van: [email protected] [[email protected]] namens 
Danilo Ghirardelli [[email protected]]
Verzonden: donderdag 23 september 2010 18:03
Aan: Magnolia User-List
Onderwerp: Re: [magnolia-user] [ANNOUNCE] openmindlab modules releases

> I think it is not safe to use jcr 2.0 with old 1.6 jackrabbit version...

I has the same doubt. I tried and seemed to work correctly, but I didn't
trusted it fully, at least not until Magnolia declares a full support.
I'm usually the first rushing to update all the libraries and I know
that 1.6 <-> 2.0 are compatible because of a huge use of reflections,
but for this time I think I'll wait. Just because importing criteria
will get only jackrabbit 2 core but all the oter jackrabbit lib will
still be 1.6...
I solved using this maven import and everything seems to work fine
(disregard the part about testng if you are using an older version):

<dependency>
        <groupId>net.sourceforge.openutils</groupId>
        <artifactId>openutils-mgnlmedia</artifactId>
        <version>4.3.0</version>
   <exclusions>
     <exclusion>
       <!-- Qualifier changed in testng 5.12, so the old version should
be explicitly excluded. -->
       <groupId>org.testng</groupId>
       <artifactId>testng</artifactId>
     </exclusion>
     <exclusion>
        <!-- Just to avoid importing jackrabbit 2 until is officially
supported -->
       <groupId>net.sourceforge.openutils</groupId>
       <artifactId>openutils-mgnlcriteria</artifactId>
     </exclusion>
   </exclusions>
</dependency>
<dependency>
        <!-- Forced to avoid importing jackrabbit 2 with the exclusion -->
   <groupId>net.sourceforge.openutils</groupId>
   <artifactId>openutils-mgnlcriteria</artifactId>
   <version>3.0.2</version>
   <exclusions>
     <exclusion>
       <groupId>org.apache.jackrabbit</groupId>
       <artifactId>jackrabbit-core</artifactId>
     </exclusion>
   </exclusions>
</dependency>

Regards, Danilo.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

------------------------------------------------------------------------
 VPRO
 phone:  +31(0)356712911
 e-mail: [email protected]
 web:    www.vpro.nl
------------------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

------------------------------------------------------------------------
 VPRO
 phone:  +31(0)356712911
 e-mail: [email protected]
 web:    www.vpro.nl
------------------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to