Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-307

MavenDependencyResolver goOffline does not trigger the Simple Repository Type

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-beta-5
    • 1.0.0-beta-4
    • ext-resolver
    • None

      MavenDependencyImpl is called from the DependencyResolver factory during creation, so the Repository Type is determined before the user has a chance to change it via e.g. goOffline.

            [SHRINKWRAP-307] MavenDependencyResolver goOffline does not trigger the Simple Repository Type

            Andrew Rubinger (Inactive) added a comment - Upstream: https://github.com/shrinkwrap/shrinkwrap/commit/83d820e0615a46f0d4c7e6a0d35e75c46c4fa0b8

            org.apache.maven.offline=true is not working, it's is read and reflected in MavenSettingsBuilder, but MavenDependencyResolverSettings is still false and wrong Repo Type is selected.

            Aslak Knutsen added a comment - org.apache.maven.offline=true is not working, it's is read and reflected in MavenSettingsBuilder, but MavenDependencyResolverSettings is still false and wrong Repo Type is selected.

              kpiwko Karel Piwko
              aslak@redhat.com Aslak Knutsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: