]
Karel Piwko updated SHRINKRES-186:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
MavenResolverSystemBase deprecates offline() but JavaDoc refer to
wrong new usage
----------------------------------------------------------------------------------
Key: SHRINKRES-186
URL:
https://issues.jboss.org/browse/SHRINKRES-186
Project: ShrinkWrap Resolvers
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: api-maven
Affects Versions: 2.1.1
Reporter: Aslak Knutsen
Assignee: Michal Matloka
Fix For: 2.2.0-alpha-3
MavenResolverSystemBase deprecates the methods offline() and offline(boolean), but the
JavaDoc suggests the new way to set this flag is via
ConfigurableMavenResolverSystem#workOffline(). The link is correct, but the suggest path
seems off; Maven.resolver().workOffline()
Maven.resolver() will return a MavenResolverSystem, while Maven.configureResolver()
returns the ConfigurableMavenResolverSystem which has the new methods..
Either the JavaDoc needs update, or the Maven.resolver() methods needs to return the new
interface?