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

[regression] mvn deploy ignores proxy settings

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0-alpha-6
    • 3.0-alpha-7
    • Deployment
    • None
    • Vista, maven 3.0-alpha-6

    Description

      Running "mvn deploy" fails when behind a proxy (connection refused) in maven 3.0-alpha6, even though the proxy settings have been configured in settings.xml.

      Deploying the same artifact succeeds when using maven 2.0.10 -> 2.2.1, using the same settings.xml.
      As a workaround, I had to add pass the proxy parameters in the command line:

      mvn deploy -Dhttp.proxyHost=proxy.ip -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password
      

      regards,

      Fred Bricon

      Attachments

        Issue Links

        Activity

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

          People

            bentmann Benjamin Bentmann
            fbricon Fred Bricon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment