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

camel-jpa component doesn't build in PNC

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • fuse-7.0
    • fuse-7.0
    • Build, Camel
    • None
    • % %
    • 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

      Attachments

        Activity

          People

            acosenti Andrea Cosentino
            dcoleman@redhat.com Darren Coleman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: