Maven
  1. Maven
  2. MNG-4834

[regression] MavenProject.getParent() ignores configured repositories

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-3
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      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
        Joerg Schaible
      2. MNG-4834-remote-repo.tgz
        1 kB
        Joerg Schaible
      3. MNG-settings.xml
        1 kB
        Joerg Schaible

        Activity

        Joerg Schaible created issue -
        Joerg Schaible made changes -
        Field Original Value New Value
        Attachment MNG-4834-remote-repo.tgz [ 51326 ]
        Joerg 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 ]
        Joerg Schaible made changes -
        Status Closed [ 6 ] Reopened [ 4 ]
        Resolution Cannot Reproduce [ 5 ]
        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 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12715104 ] Default workflow, editable Closed status [ 12754669 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12951428 ] Default workflow, editable Closed status [ 12987724 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development