ShrinkWrap Resolver Maven API 2.0.0-alpha-1

org.jboss.shrinkwrap.resolver.api.maven
Interface MavenImporter

All Superinterfaces:
org.jboss.shrinkwrap.api.Assignable

public interface MavenImporter
extends org.jboss.shrinkwrap.api.Assignable

An ShrinkWrap importer which is able to reuse information in a pom file in order to help you build the archive content. This importer in intended to run in integration-test phase as it requires Maven to prepare the artifacts.

Author:
Nested Class Summary
static interface MavenImporter.EffectivePomMavenImporter
          A ShrinkWrap importer which already has metadata required in order to modify the archive.
 
Method Summary
 MavenImporter.EffectivePomMavenImporter loadEffectivePom(String path)
          Loads effective pom from a given location.
 MavenImporter loadSettings(String userSettings)
          Configures MavenImporter using setting.xml file.
 
Methods inherited from interface org.jboss.shrinkwrap.api.Assignable
as
 

Method Detail

loadSettings

MavenImporter loadSettings(String userSettings)
Configures MavenImporter using setting.xml file.

Parameters:
userSettings - A path to a settings.xml configuration file
Returns:
the MavenImporter with a configuration from given file

loadEffectivePom

MavenImporter.EffectivePomMavenImporter loadEffectivePom(String path)
Loads effective pom from a given location. It will use profiles activated by default.

Parameters:
path - The path to the effective pom.
Returns:
MavenImporter which is able to enrich current archive

ShrinkWrap Resolver Maven API 2.0.0-alpha-1

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