|
ShrinkWrap Resolver Maven Archive API 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MavenImporter
MavenImporter is an abstraction of Maven Package phase for ShrinkWrap. It allows to package an archive based on pom.xml file.
| Method Summary | |
|---|---|
ConfiguredMavenImporter |
configureFromClassloaderResource(String path)
Optional operation. |
ConfiguredMavenImporter |
configureFromClassloaderResource(String path,
ClassLoader cl)
Optional operation. |
ConfiguredMavenImporter |
configureFromFile(File file)
Optional operation. |
ConfiguredMavenImporter |
configureFromFile(String pathToFile)
Optional operation. |
| Methods inherited from interface org.jboss.shrinkwrap.resolver.api.maven.archive.importer.PomlessMavenImporter |
|---|
loadPomFromClassLoaderResource, loadPomFromClassLoaderResource, loadPomFromClassLoaderResource, loadPomFromFile, loadPomFromFile, loadPomFromFile, loadPomFromFile |
| Methods inherited from interface org.jboss.shrinkwrap.api.Assignable |
|---|
as |
| Method Detail |
|---|
ConfiguredMavenImporter configureFromFile(File file)
throws IllegalArgumentException,
UnsupportedOperationException,
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
MavenImporter from the specified settings.xml file
file -
ResolverSystem
IllegalArgumentException - If the file is not specified, is a directory, or does not exist
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
File
ConfiguredMavenImporter configureFromFile(String pathToFile)
throws IllegalArgumentException,
UnsupportedOperationException,
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
MavenImporter from the specified settings.xml file at the specified
path
pathToFile -
ResolverSystem
IllegalArgumentException - If the file is not specified, is a directory, or does not exist
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
File
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
ConfiguredMavenImporter configureFromClassloaderResource(String path)
throws IllegalArgumentException,
UnsupportedOperationException,
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
MavenImporter from the result of
ClassLoader.getResource(String) call using the current Thread.getContextClassLoader()
path -
ResolverSystem
IllegalArgumentException - If the either argument is not specified or if the path can not be found
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
ClassLoader resource
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
ConfiguredMavenImporter configureFromClassloaderResource(String path,
ClassLoader cl)
throws IllegalArgumentException,
UnsupportedOperationException,
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
ConfigurableResolverSystem from the result of
ClassLoader.getResource(String) using the specified ClassLoader
path - cl -
ResolverSystem
IllegalArgumentException - If the either argument is not specified or if the path can not be found
UnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
ClassLoader resource
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate format
|
ShrinkWrap Resolver Maven Archive API 2.0.0-cr-1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||