Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7327

camel-jpa component doesn't build in PNC

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.0
    • Fix Version/s: fuse-7.0
    • Component/s: Build, Camel
    • Labels:
      None
    • Sprint:
      Fuse 7.0 Sprint 27

      Description

      I get the following error when building the camel-jpa component in PNC:

      [ERROR] Failed to execute goal org.apache.openjpa:openjpa-maven-plugin:2.4.2:test-enhance (test enhancer) on project camel-jpa: Execution test enhancer of goal org.apache.openjpa:openjpa-maven-plugin:2.4.2:test-enhance failed: org.apache.openjpa.persistence.PersistenceProductDerivation:java.io.IOException: org.xml.sax.SAXException: file:/tmp/camel-2.20.0/components/camel-jpa/target/test-classes/META-INF/persistence.xml [Location: Line: 24, C: 115]: org.xml.sax.SAXParseException; systemId: file:/tmp/camel-2.20.0/components/camel-jpa/target/test-classes/META-INF/persistence.xml; lineNumber: 24; columnNumber: 115; cvc-elt.1: Cannot find the declaration of element 'persistence'. -> [Help 1]

      I assume this is because the build is run in a firewalled environment which doesn't have access to the external xsd files. This only seems to affect the test-enhance goal of the openjpa-maven-plugin
      Workaround: skip camel-jpa component

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                oscerd Andrea Cosentino
                Reporter:
                djcoleman Darren Coleman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: