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

Warning on openjpa-maven-plugin execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.2.0
    • 2.2.0
    • integration
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: