ShrinkWrap Resolver Maven API 2.0.0-cr-1

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

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

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

Provides support for Maven-based ResolutionStrategys in artifact resolution

Author:
Andrew Lee Rubinger, Karel Piwko

Method Summary
 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

withClassPathResolution

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

Parameters:
useClassPathResolution -
Returns:

withMavenCentralRepo

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

Parameters:
useMavenCentral -
Returns:

ShrinkWrap Resolver Maven API 2.0.0-cr-1

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