[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-186) MavenResolverSystemBase deprecates offline() but JavaDoc refer to wrong new usage
Aslak Knutsen (JIRA)
issues at jboss.org
Fri Jun 27 12:07:25 EDT 2014
Aslak Knutsen created SHRINKRES-186:
---------------------------------------
Summary: 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
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?
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the shrinkwrap-issues
mailing list