Package org.wildfly.prospero.galleon
Class GalleonFeaturePackAnalyzer
- java.lang.Object
-
- org.wildfly.prospero.galleon.GalleonFeaturePackAnalyzer
-
public class GalleonFeaturePackAnalyzer extends Object
-
-
Constructor Summary
Constructors Constructor Description GalleonFeaturePackAnalyzer(List<org.wildfly.channel.Channel> channels, MavenSessionManager mavenSessionManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcacheGalleonArtifacts(Path installedDir, org.jboss.galleon.config.ProvisioningConfig provisioningConfig)Analyzes provisioning information found ininstalledDirand cachesFeaturePackand Galleon plugin artifacts.List<String>getFeaturePacks(org.jboss.galleon.config.ProvisioningConfig provisioningConfig)lists maven coordinates (groupId:artifactId) of FeaturePacks included in theprovisioningConfig.
-
-
-
Constructor Detail
-
GalleonFeaturePackAnalyzer
public GalleonFeaturePackAnalyzer(List<org.wildfly.channel.Channel> channels, MavenSessionManager mavenSessionManager)
-
-
Method Detail
-
cacheGalleonArtifacts
public void cacheGalleonArtifacts(Path installedDir, org.jboss.galleon.config.ProvisioningConfig provisioningConfig) throws Exception
Analyzes provisioning information found ininstalledDirand cachesFeaturePackand Galleon plugin artifacts. This complements caching done in Wildfly Galleon Plugin}, as Galleon plugin is not able to access FeaturePack information. The discovered artifacts are cached usingArtifactCache.- Parameters:
installedDir- - path to the installation. Used to access the cacheprovisioningConfig- - Galleon configuration to analyze- Throws:
Exception
-
getFeaturePacks
public List<String> getFeaturePacks(org.jboss.galleon.config.ProvisioningConfig provisioningConfig) throws IOException, org.jboss.galleon.ProvisioningException, OperationException
lists maven coordinates (groupId:artifactId) of FeaturePacks included in theprovisioningConfig. Includes transitive dependencies.- Parameters:
provisioningConfig- - provisioning config to analyze- Returns:
- Throws:
IOExceptionorg.jboss.galleon.ProvisioningExceptionOperationException
-
-