Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-3540

No plugin update from a staged repository

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.9
    • None
    • None
    • None
    • Maven 2.0.9, JDK6, both linux and windows

    Description

      The archetype plugin depends on other projects.
      One of them is staged along with the plugin in a
      staged repository.

      When i define that repository in settings.xml in a profile
      which is always activated (both repository and pluginRepository)
      and remove all references from archetype in my local repository.
      I then call mvn archetype:create-from-project.
      Maven downloads the plugin but don't download the dependencies
      there it fails to instantiate the first used class from these dependencies.
      The first attachment (with-profile.txt) holds the trace

      When i define the repository in nexus (grouping first the repository then
      central in one url) and defining that url as mirror of central in my setting,
      Also using a fresh repository. I call the same goal, and it works.
      The second attachment (with-nexus.txt) holds the trace.

      Attachments

        Issue Links

        Activity

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

          People

            brett Brett Porter
            raphael Raphael Luta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment