ShrinkWrap Resolver Maven API 2.0.0-cr-1

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

All Superinterfaces:
MavenResolveStageBase<RESOLVESTAGETYPE,STRATEGYSTAGETYPE,FORMATSTAGETYPE>, ResolveStage<MavenDependency,MavenResolutionFilter,RESOLVESTAGETYPE,STRATEGYSTAGETYPE,MavenResolvedArtifact,FORMATSTAGETYPE,MavenResolutionStrategy>
All Known Subinterfaces:
PomEquippedResolveStage

public interface PomEquippedResolveStageBase<RESOLVESTAGETYPE extends MavenResolveStageBase<RESOLVESTAGETYPE,STRATEGYSTAGETYPE,FORMATSTAGETYPE>,STRATEGYSTAGETYPE extends MavenStrategyStageBase<STRATEGYSTAGETYPE,FORMATSTAGETYPE>,FORMATSTAGETYPE extends MavenFormatStage>
extends MavenResolveStageBase<RESOLVESTAGETYPE,STRATEGYSTAGETYPE,FORMATSTAGETYPE>

Defines the contract for operations denoting a ResolverStage has been configured via POM (Project Object Model) metadata

Author:
Andrew Lee Rubinger, Karel Piwko

Method Summary
 RESOLVESTAGETYPE importCompileAndRuntimeDependencies()
          More explicit alias equivalent to importRuntimeDependencies()
 RESOLVESTAGETYPE importDependencies(ScopeType... scopes)
          Adds all dependencies defined in imported POM file included in selected scopes for resolution
 RESOLVESTAGETYPE importRuntimeAndTestDependencies()
          Adds all dependencies defined in imported POM file included in test, compile(default), system, and import scopes for resolution
 RESOLVESTAGETYPE importRuntimeDependencies()
          Adds all dependencies defined in imported POM file included in compile(default), system, import and runtime scopes for resolution
 RESOLVESTAGETYPE importTestDependencies()
          Adds all dependencies defined in imported POM file included in test scope for resolution
 
Methods inherited from interface org.jboss.shrinkwrap.resolver.api.ResolveStage
addDependencies, addDependencies, addDependency, resolve, resolve, resolve, resolve
 

Method Detail

importDependencies

RESOLVESTAGETYPE importDependencies(ScopeType... scopes)
                                                                                                                      throws IllegalArgumentException
Adds all dependencies defined in imported POM file included in selected scopes for resolution

Parameters:
scopes - Scopes
Returns:
Modified instance to allow chaining
Throws:
IllegalArgumentException - If no scopes were provided

importTestDependencies

RESOLVESTAGETYPE importTestDependencies()
Adds all dependencies defined in imported POM file included in test scope for resolution

Returns:
Modified instance to allow chaining

importRuntimeAndTestDependencies

RESOLVESTAGETYPE importRuntimeAndTestDependencies()
Adds all dependencies defined in imported POM file included in test, compile(default), system, and import scopes for resolution

Returns:
Modified instance to allow chaining

importRuntimeDependencies

RESOLVESTAGETYPE importRuntimeDependencies()
Adds all dependencies defined in imported POM file included in compile(default), system, import and runtime scopes for resolution

Returns:
Modified instance to allow chaining

importCompileAndRuntimeDependencies

RESOLVESTAGETYPE importCompileAndRuntimeDependencies()
More explicit alias equivalent to importRuntimeDependencies()

Returns:
Modified instance to allow chaining

ShrinkWrap Resolver Maven API 2.0.0-cr-1

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