[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-186) MavenResolverSystemBase deprecates offline() but JavaDoc refer to wrong new usage
Karel Piwko (JIRA)
issues at jboss.org
Fri Sep 26 08:08:04 EDT 2014
[ https://issues.jboss.org/browse/SHRINKRES-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karel Piwko closed SHRINKRES-186.
---------------------------------
> 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
> Components: maven
> Affects Versions: 2.1.1
> Reporter: Aslak Knutsen
> Assignee: Michal Matloka
> Fix For: 2.2.0-beta-1
>
>
> 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.3.1#6329)
More information about the shrinkwrap-issues
mailing list