Maven
  1. Maven
  2. MNG-2289

Newer SNAPSHOT parents in the remote repository are ignored

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      If a POM inherits from another one in the repository with a SNAPSHOT version, it will only look into the local repository for it, but not in the remote repositories.
      E.g. if a POM has following parent:...
      <parent>
      <groupId>pom.maven</groupId>
      <artifactId>super</artifactId>
      <version>SNAPSHOT</version>
      </parent>
      ...

      it will not find a newer version of "pom.maven:super:SNAPSHOT" in a remote repository.

      1. example.zip
        49 kB
        Roger Butenuth
      2. mng2289.zip
        5 kB
        Joerg Schaible

        Issue Links

          Activity

          Mark Thomas made changes -
          Assignee jason lane [ jason ] Jason van Zyl [ jvanzyl ]
          Mark Thomas made changes -
          Workflow jira [ 12949965 ] Default workflow, editable Closed status [ 12986175 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12712926 ] Default workflow, editable Closed status [ 12752802 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Michael Osipov made changes -
          Fix Version/s 2.0.7 [ 13138 ]
          Brett Porter made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Resolution Cannot Reproduce [ 5 ]
          Brett Porter made changes -
          Status Closed [ 6 ] Reopened [ 4 ]
          Jason van Zyl made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Jason van Zyl made changes -
          Description If a POM inherits from another one in the repository with a SNAPSHOT version, it will only look into the local repository for it, but not in the remote repositories.

          E.g. if a POM has following parent:

          {noformat}
          ...
              <parent>
                  <groupId>pom.maven</groupId>
                  <artifactId>super</artifactId>
                  <version>SNAPSHOT</version>
              </parent>
          ...
          {noformat}

          it will not find a newer version of "pom.maven:super:SNAPSHOT" in a remote repository.
          If a POM inherits from another one in the repository with a SNAPSHOT version, it will only look into the local repository for it, but not in the remote repositories.
          E.g. if a POM has following parent:...
              <parent>
                  <groupId>pom.maven</groupId>
                  <artifactId>super</artifactId>
                  <version>SNAPSHOT</version>
              </parent>
          ...

          it will not find a newer version of "pom.maven:super:SNAPSHOT" in a remote repository.
          Jason van Zyl made changes -
          Fix Version/s 2.0.6 [ 13010 ]
          Fix Version/s 2.0.7 [ 13138 ]
          Jason van Zyl made changes -
          Affects Version/s 2.0.4 [ 12527 ]
          Affects Version/s 2.0.5 [ 12294 ]
          Jason van Zyl made changes -
          Assignee Brett Porter [ brettporter ] Jason van Zyl [ jason ]
          Resolution Duplicate [ 3 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Jason van Zyl made changes -
          Fix Version/s 2.0.6 [ 13010 ]
          Brett Porter made changes -
          Fix Version/s 2.0.5 [ 12294 ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Duplicate [ 3 ]
          Assignee Brett Porter [ brettporter ]
          Brett Porter made changes -
          Link This issue duplicates MNG-1908 [ MNG-1908 ]
          Carlos Sanchez made changes -
          Fix Version/s 2.0.5 [ 12294 ]
          Testcase included yes
          Joerg Schaible made changes -
          Attachment mng2289.zip [ 20817 ]
          Roger Butenuth made changes -
          Attachment example.zip [ 20805 ]
          Carlos Sanchez made changes -
          Field Original Value New Value
          Link This issue is related to MNG-2318 [ MNG-2318 ]
          Joerg Schaible created issue -

            People

            • Assignee:
              Jason van Zyl
              Reporter:
              Joerg Schaible
            • Votes:
              19 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development