[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-186) MavenResolverSystemBase deprecates offline() but JavaDoc refer to wrong new usage
Karel Piwko (JIRA)
issues at jboss.org
Mon Sep 1 06:28:00 EDT 2014
[ https://issues.jboss.org/browse/SHRINKRES-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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?
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the shrinkwrap-issues
mailing list