ShrinkWrap Resolver Maven API 2.0.0-alpha-4

org.jboss.shrinkwrap.resolver.api.maven
Interface MavenStrategyStageBase<STRATEGYSTAGETYPE extends MavenStrategyStageBase<STRATEGYSTAGETYPE,FORMATSTAGETYPE>,FORMATSTAGETYPE extends MavenFormatStage>

Type Parameters:
FORMATSTAGETYPE -
All Superinterfaces:
StrategyStage<MavenDependency,MavenResolutionFilter,FORMATSTAGETYPE,MavenResolutionStrategy>, TransitiveStrategyStage<MavenDependency,MavenResolutionFilter,FORMATSTAGETYPE,MavenResolutionStrategy>
All Known Subinterfaces:
MavenStrategyStage

public interface MavenStrategyStageBase<STRATEGYSTAGETYPE extends MavenStrategyStageBase<STRATEGYSTAGETYPE,FORMATSTAGETYPE>,FORMATSTAGETYPE extends MavenFormatStage>
extends TransitiveStrategyStage<MavenDependency,MavenResolutionFilter,FORMATSTAGETYPE,MavenResolutionStrategy>

Provides support for Maven-based ResolutionStrategys in artifact resolution

Author:
Andrew Lee Rubinger, Karel Piwko

Method Summary
 STRATEGYSTAGETYPE offline()
          Sets that resolution should be done in "offline" (ie.
 STRATEGYSTAGETYPE offline(boolean offline)
          Sets whether resolution should be done in "offline" (ie.
 STRATEGYSTAGETYPE withClassPathResolution(boolean useClassPathResolution)
          Sets that resolution from the ClassPath should be permitted in addition to configured repositories - defaults to "true"
 STRATEGYSTAGETYPE withMavenCentralRepo(boolean useMavenCentral)
          Sets whether to consult the Maven Central Repository in resolution; defaults to true.
 
Methods inherited from interface org.jboss.shrinkwrap.resolver.api.TransitiveStrategyStage
withoutTransitivity, withTransitivity
 
Methods inherited from interface org.jboss.shrinkwrap.resolver.api.StrategyStage
using
 

Method Detail

offline

STRATEGYSTAGETYPE offline(boolean offline)
Sets whether resolution should be done in "offline" (ie. not connected to internet) mode.

Parameters:
offline -
Returns:

offline

STRATEGYSTAGETYPE offline()
Sets that resolution should be done in "offline" (ie. not connected to internet) mode. Alias to offline(boolean), passing true as a parameter.

Parameters:
offline -
Returns:

withClassPathResolution

STRATEGYSTAGETYPE withClassPathResolution(boolean useClassPathResolution)
Sets that resolution from the ClassPath should be permitted in addition to configured repositories - defaults to "true"

Parameters:
offline -
Returns:

withMavenCentralRepo

STRATEGYSTAGETYPE withMavenCentralRepo(boolean useMavenCentral)
Sets whether to consult the Maven Central Repository in resolution; defaults to true.

Returns:

ShrinkWrap Resolver Maven API 2.0.0-alpha-4

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.