title: Spring JCR to Latest jackrabbit integration
body: <p>I am using Jackrabbit 2.6.3 and want to integrate with the spring jcr for injecting the repository.</p>
  
  <pre><code>&lt;bean id="repository"
          class="org.springmodules.jcr.jackrabbit.RepositoryFactoryBean"&gt;
          &lt;!-- normal factory beans params --&gt;
          &lt;property name="configuration" value="classpath:/jackrabbit-repository.xml" /&gt;
          &lt;!-- use the target folder which will be cleaned  --&gt;
          &lt;property name="homeDir" value="file:./tmp/repository" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>But the spring jcr versions seems to be quite old and looking for very old jars it seems. </p>
  
  <pre><code>[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 nexus/content/groups/ was cached in the local repository, resolution will not be reattempted until the update interval of  has elapsed /nexus/content/groups/ or updates are forced -&gt; [Help 1]
  </code></pre>
  
  <p>Questions :</p>
  
  <ol>
  <li><p>Can you point in any other way I can inject the repository ?</p></li>
  <li><p>Is there any doc on how to integrate spring with JackRabbit.</p></li>
  </ol>