Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-75

MavenStrategyStageBaseImpl.using(MavenResolutionStrategy) ignores MavenWorkingSessionImpl.settings.isOffline()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.0.0-alpha-4
    • maven
    • None

      Apologies, it initially looked like the offline method wasn't working, even though it was!

      -----------------

      See Line 115 on the 2.0.0-alpha-5-SNAPSHOT version ofMavenStrategyStageBaseImpl.

      The code there ignores the value of session.settings.isOffline(). It just retrieves the remote repository info and uses that to retrieve the maven dependencies.

      This means that even if I use the code workaround that specify in SHRINKRES-74, the dependencies will still be retrieved "online" (instead of offline).

            arubinge@redhat.com Andrew Rubinger (Inactive)
            marco.rietveld Marco Rietveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: