OpenJPA
  1. OpenJPA
  2. OPENJPA-2113

Warning on openjpa-maven-plugin execution

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major 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...

      1. redeclareRepository.patch
        0.6 kB
        Francesco Chicchiriccò

        Activity

        Hide
        Francesco Chicchiriccò added a comment -

        Once moved from 2.2.0-SNAPSHOT to 2.2.0, this issue disappeared.

        Show
        Francesco Chicchiriccò added a comment - Once moved from 2.2.0-SNAPSHOT to 2.2.0, this issue disappeared.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development