[
https://issues.jboss.org/browse/SHRINKRES-75?page=com.atlassian.jira.plug...
]
Marco Rietveld updated SHRINKRES-75:
------------------------------------
Description:
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|https://github.com/shrinkwrap/resolver/blob/...].
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).
was:
See [Line 115 on the 2.0.0-alpha-5-SNAPSHOT version
ofMavenStrategyStageBaseImpl|https://github.com/shrinkwrap/resolver/blob/...].
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).
MavenStrategyStageBaseImpl.using(MavenResolutionStrategy) ignores
MavenWorkingSessionImpl.settings.isOffline()
--------------------------------------------------------------------------------------------------------------
Key: SHRINKRES-75
URL:
https://issues.jboss.org/browse/SHRINKRES-75
Project: ShrinkWrap Resolvers
Issue Type: Bug
Components: impl-maven
Affects Versions: 2.0.0-alpha-4
Reporter: Marco Rietveld
Assignee: Andrew Rubinger
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|https://github.com/shrinkwrap/resolver/blob/...].
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).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira