Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-350

Local pom not being used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.4
    • None
    • resolve
    • None

    Description

      I believe the issue I'm having is within the dependencies plugin, specifically within resolve.

      Two jar projects have the same parent pom.
      The 2nd jar depends upon the 1st jar.

      If I don't install the parent pom in to the local repo the 2nd jar project fails as it says it can't find the parent pom of the 1st project. But the 2nd project has the dependency that is failing as it's parent pom, the exact same groupId:artifactId:version, and is correctly specified in relativePath.

      Attachments

        1. output.log
          8 kB
          John Patrick
        2. pom-resolve.zip
          5 kB
          John Patrick

        Activity

          People

            Unassigned Unassigned
            nhoj.patrick John Patrick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: