Hi All, I am planning to use jack rabbit with spring. I am seeing that spring jcr version 0.8 and 0.9 looks for old jsr170 jar and fails out.
[ERROR] Failed to execute goal on project xyz: Could not resolve dependencies for project com.test.xyq:war:2.4.2: The following artifacts could not be resolved: jsr170:jsr170:jar:1.0, jeceira:jeceira:jar:0.1.3, aparzev:doka:jar:0.1, aparzev:commons:jar:0.2, jug:jug-asl:jar:2.0.0: Failure to find jsr170:jsr170:jar:1.0 in http:///nexus/content/groups/cliqrthirdparty was cached in the local repository, resolution will not be reattempted until the update interval of has elapsed http:///nexus/content/groups/cliqrthirdparty or updates are forced -> [Help 1] I did the exclusion <dependency> <groupId>org.springmodules</groupId> <artifactId>spring-modules-jcr</artifactId> <version>0.8</version> <optional>true</optional> <exclusions> <exclusion> <artifactId>jackrabbit-core</artifactId> <groupId>org.apache.jackrabbit</groupId> </exclusion> <exclusion> <artifactId>jackrabbit-jca</artifactId> <groupId>org.apache.jackrabbit</groupId> </exclusion> </exclusions> </dependency> I am using it in application-context.xml <bean id="repository" class="org.springmodules.jcr.jackrabbit.RepositoryFactoryBean"> <!-- normal factory beans params --> <property name="configuration" value="classpath:/jackrabbit-repository.xml" /> <!-- use the target folder which will be cleaned --> <property name="homeDir" value="file:./tmp/repository" /> </bean> Is there any recent spring document which I can refer. I am not keen on using spring jcr but a good approach in which I can integrate the latest version of jack rabbit with spring. -- Thanks, Sumit
