public interface MavenImporter extends PomlessMavenImporter, org.jboss.shrinkwrap.api.Assignable
| Modifier and Type | Method and Description |
|---|---|
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.
|
loadPomFromClassLoaderResource, loadPomFromClassLoaderResource, loadPomFromClassLoaderResource, loadPomFromFile, loadPomFromFile, loadPomFromFile, loadPomFromFile, offline, offlineConfiguredMavenImporter configureFromFile(File file) throws IllegalArgumentException, UnsupportedOperationException, org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
MavenImporter from the specified settings.xml filefile - A settings.xml File this MavenImporter should be configured from.MavenImporterIllegalArgumentException - If the file is not specified, is a directory, or does not existorg.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate formatUnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
FileConfiguredMavenImporter configureFromFile(String pathToFile) throws IllegalArgumentException, UnsupportedOperationException, org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
MavenImporter from the specified settings.xml file at the specified
pathpathToFile - A path to a settings.xml file this MavenImporter should be configured from.MavenImporterIllegalArgumentException - If the file is not specified, is a directory, or does not existorg.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate formatUnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
Fileorg.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate formatConfiguredMavenImporter 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 - A ClassLoader path to a settings.xml file this MavenImporter should be configured from.MavenImporterIllegalArgumentException - If the either argument is not specified or if the path can not be foundUnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
ClassLoader resourceorg.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate formatConfiguredMavenImporter 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 ClassLoaderpath - A ClassLoader path to a settings.xml file this MavenImporter should be configured from.cl - A ClassLoaderMavenImporterIllegalArgumentException - If the either argument is not specified or if the path can not be foundUnsupportedOperationException - If this ConfigurableResolverSystem does not support configuration by
ClassLoader resourceorg.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException - If the configuration file contents are not in appropriate formatCopyright © 2024 JBoss by Red Hat. All rights reserved.