Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-678

Invalid maven2 pom for jackrabbit 1.1 in the ibiblio repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.1
    • None
    • maven
    • None

    Description

      The maven2 pom that is in the ibiblio repository is invalid as it points to dependencies that don't exist. The file is http://www.ibiblio.org/maven2/org/apache/jackrabbit/jackrabbit-jcr-server/1.1/jackrabbit-jcr-server-1.1.pom

      The specific entries are
      <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-jcr-commons</artifactId>
      <version>${jackrabbit.build.version.jackrabbit}</version>
      </dependency>
      <dependency>
      <groupId>jsr170</groupId>
      <artifactId>jcr</artifactId>
      <version>${jackrabbit.build.version.jcr}</version>
      </dependency>

      Neither one of these can be loaded by maven2. I hacked my local copy of the pom as shown below and this appeared to fix the dependency issues. I'm not sure, however, if these are the correct values that should be used.

      <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-jcr-commons</artifactId>
      <version>${project.version}</version>
      </dependency>
      <dependency>
      <groupId>javax/jcr</groupId>
      <artifactId>jcr</artifactId>
      <version>1.0</version>
      </dependency>

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            mbowler Mike Bowler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: