org.apache.karaf.tooling.features
Class GenerateFeaturesFileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.karaf.tooling.features.MojoSupport
org.apache.karaf.tooling.features.GenerateFeaturesFileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class GenerateFeaturesFileMojo
- extends MojoSupport
Generates the features XML file
- Version:
- $Revision: 1.1 $
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.karaf.tooling.features.MojoSupport |
bundleToArtifact, createManagedVersionMap, excludeBranch, getArtifacts, getClassLoader, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, print, removeBranch, removeChildren, resolveProject, retainArtifacts, translateFromMaven |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEPARATOR
protected static final String SEPARATOR
- See Also:
- Constant Field Values
GenerateFeaturesFileMojo
public GenerateFeaturesFileMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
populateProperties
protected void populateProperties(java.io.PrintStream out)
throws org.apache.maven.artifact.resolver.ArtifactResolutionException,
org.apache.maven.artifact.resolver.ArtifactNotFoundException,
java.io.IOException
- Throws:
org.apache.maven.artifact.resolver.ArtifactResolutionException
org.apache.maven.artifact.resolver.ArtifactNotFoundException
java.io.IOException
getBestVersionForArtifact
protected String getBestVersionForArtifact(org.apache.maven.artifact.Artifact artifact,
java.util.List<org.apache.maven.artifact.versioning.ArtifactVersion> versions)
throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
- Throws:
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
isValidDependency
protected boolean isValidDependency(org.apache.maven.model.Dependency dependency)
writeBundle
protected void writeBundle(java.io.PrintStream out,
String groupId,
String artifactId,
String version)
Copyright © 2007-2012 FuseSource, Corp.. All Rights Reserved.