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

Warning on openjpa-maven-plugin execution

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment