Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2151

maven dependency has wrong avalon group id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.1
    • None
    • unqualified
    • None
    • Operating System:
      Platform: PC
    • 54089

    Description

      The maven pom for fop 1.1 uses incorrect dependency for avalon framework. With 4.2.0 the the group id changed to avalon-framework from org.apache.avalon.framework

      workaround: update pom as follows

      <dependency>
      <groupId>org.apache.xmlgraphics</groupId>
      <artifactId>fop</artifactId>
      <version>1.1</version>
      <exclusions>
      <exclusion>
      <artifactId>avalon-framework-api</artifactId>
      <groupId>org.apache.avalon.framework</groupId>
      </exclusion>
      <exclusion>
      <artifactId>avalon-framework-impl</artifactId>
      <groupId>org.apache.avalon.framework</groupId>
      </exclusion>
      </exclusions>
      </dependency>
      <!-- these two are to correct issues in fop dependency -->
      <dependency>
      <groupId>avalon-framework</groupId>
      <artifactId>avalon-framework-api</artifactId>
      <version>4.2.0</version>
      </dependency>
      <dependency>
      <groupId>avalon-framework</groupId>
      <artifactId>avalon-framework-impl</artifactId>
      <version>4.2.0</version>
      </dependency>

      Attachments

        Activity

          People

            Unassigned Unassigned
            lloyd@astute.biz Lloyd
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: