Maven
  1. Maven
  2. MNG-4834

[regression] MavenProject.getParent() ignores configured repositories

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-3
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Number of attachments :
      3

      Description

      The site descriptor from the parent project is no longer found in the local repository. The site plugin tries always to resolve the artifact from the remote repository using the attach-descriptor goal. This is nasty if that repo is not reachable and Maven will wait always until the connection times out before continuing. With M2 this descriptor is found in the local repo: "Parent project loaded from repository.". In both cases version 2.1.1 of the site plugin is used. There's no change in behavior for M3 if the site plugin is upgraded to 3.x.

      1. MNG-4834.tgz
        1 kB
        Jörg Schaible
      2. MNG-4834-remote-repo.tgz
        1 kB
        Jörg Schaible
      3. MNG-settings.xml
        1 kB
        Jörg Schaible

        Activity

        Jörg Schaible made changes -
        Field Original Value New Value
        Attachment MNG-4834-remote-repo.tgz [ 51326 ]
        Jörg Schaible made changes -
        Attachment MNG-4834.tgz [ 51327 ]
        Benjamin Bentmann made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Resolution Cannot Reproduce [ 5 ]
        Jörg Schaible made changes -
        Resolution Cannot Reproduce [ 5 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Benjamin Bentmann made changes -
        Summary Site descriptor of parent is no longer found in local repository [regression] MavenProject.getParent() ignores configured repositories
        Benjamin Bentmann made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 3.0 [ 13142 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Jörg Schaible
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: