Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-549

When running archetype post-phase plugin is ignoring settings file location proved in command line (-s)

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: None
    • Flags:
      Important

      Description

      We are providing settings file to Maven with -s command line parameter. This works fine everywhere except for archetype plugin in create-from-project goal.

      Plugin works fine until it comes to archetype post-phase where it obviously runs Maven again but without passing -s command line parameter and therefore ignores settings file location.

      This breaks our build as we are using repository manager specified in settings file and central Maven repository is not visible for the build server directly. Therefore plugin can't download its dependencies and/or update timestamp.

      We can not use default settings file location on the build server as other teams use it with different settings and this is not allowed and there is no way to work in that way as a workaround.

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ognjenmi Ognjen Milic

              Dates

              • Created:
                Updated:

                Issue deployment