ShrinkWrap Resolvers
  1. ShrinkWrap Resolvers
  2. SHRINKRES-38

Support encrypted passwords for password protected repositories

    Details

    • Type: Feature Request Feature Request
    • Status: Closed Closed (View Workflow)
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 2.0.0-alpha-1
    • Fix Version/s: 2.0.0-beta-4
    • Component/s: impl-maven
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      settings.xml can contain encrypted password together with master password encrypted in a standalone file.

        Activity

        Hide
        Karel Piwko
        added a comment -

        Pushed upstream in https://github.com/shrinkwrap/resolver/commit/7fc30e22259262798de3b6b1360a8b3f253fdd2a

        It honors default location, e.g.

        ~/.m2/settings-security.xml

        Also, it allows to override the location via:

        -Dorg.apache.maven.security-settings=/path/to/settings-security.xml

        Usage is shown here:

        https://github.com/shrinkwrap/resolver/blob/master/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/RepositoryAuthTestCase.java#L103

        Show
        Karel Piwko
        added a comment - Pushed upstream in https://github.com/shrinkwrap/resolver/commit/7fc30e22259262798de3b6b1360a8b3f253fdd2a It honors default location, e.g. ~/.m2/settings-security.xml Also, it allows to override the location via: -Dorg.apache.maven.security-settings=/path/to/settings-security.xml Usage is shown here: https://github.com/shrinkwrap/resolver/blob/master/impl-maven/src/test/java/org/jboss/shrinkwrap/resolver/impl/maven/integration/RepositoryAuthTestCase.java#L103
        Hide
        Karel Piwko
        added a comment -

        Altered behavior with malformed settings-security.xml. If any problem happens during parsing, it is logged with WARNING level, however it does not raise an exception.

        This seems to mimic Maven behavior better.

        Pushed upstream in https://github.com/shrinkwrap/resolver/commit/ea5783fe82608658040a4925dfceceac2c1c753f.

        Show
        Karel Piwko
        added a comment - Altered behavior with malformed settings-security.xml. If any problem happens during parsing, it is logged with WARNING level, however it does not raise an exception. This seems to mimic Maven behavior better. Pushed upstream in https://github.com/shrinkwrap/resolver/commit/ea5783fe82608658040a4925dfceceac2c1c753f .
        Hide
        Karel Piwko
        added a comment -

        Closing issues. Released as a part of 2.0.0-beta-4 release.

        Show
        Karel Piwko
        added a comment - Closing issues. Released as a part of 2.0.0-beta-4 release.

          People

          • Assignee:
            Karel Piwko
            Reporter:
            Karel Piwko
          • Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: