Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2113

Warning on openjpa-maven-plugin execution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: integration
    • Labels:
    • Patch Info:
      Patch Available

      Description

      Everry time that openjpa-maven-plugin is run, it shows the following warning:

      [INFO] — openjpa-maven-plugin:2.2.0-SNAPSHOT:sql (default-cli) @
      syncope-core —
      Downloading:
      file://${basedir}/internal-repository/org/apache/openjpa/openjpa-lib/2.2.0-SNAPSHOT/maven-metadata.xml
      [WARNING] Could not transfer metadata
      org.apache.openjpa:openjpa-lib:2.2.0-SNAPSHOT/maven-metadata.xml from/to
      openjpa-internal (file://${basedir}/internal-repository): Repository
      path /internal-repository does not exist, and cannot be created.

      I've found that this is happening because of an internal-only repository declared in openjpa-kernel's POM.

      In the attached patch I just overwrite such repository declaration: I guess there could be a more elegant way to achieve this, anyway...

        Attachments

        1. redeclareRepository.patch
          0.6 kB
          Francesco Chicchiriccò

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: