public class GenerateFeaturesFileMojo extends MojoSupport
| Modifier and Type | Field and Description |
|---|---|
protected static String |
SEPARATOR |
artifactMetadataSource, collector, factory, localRepo, project, projectBuilder, projectHelper, remoteRepos, resolver, workDirectory| Constructor and Description |
|---|
GenerateFeaturesFileMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String |
getBestVersionForArtifact(org.apache.maven.artifact.Artifact artifact,
List<org.apache.maven.artifact.versioning.ArtifactVersion> versions) |
protected boolean |
isValidDependency(org.apache.maven.model.Dependency dependency) |
protected void |
populateProperties(PrintStream out) |
protected void |
writeBundle(PrintStream out,
String groupId,
String artifactId,
String version) |
createManagedVersionMap, excludeBranch, getArtifacts, getClassLoader, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, print, removeBranch, removeChildren, resolveProject, resourceToArtifact, retainArtifacts, translateFromMavenprotected static final String SEPARATOR
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void populateProperties(PrintStream out) throws org.apache.maven.artifact.resolver.ArtifactResolutionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException, IOException
org.apache.maven.artifact.resolver.ArtifactResolutionExceptionorg.apache.maven.artifact.resolver.ArtifactNotFoundExceptionIOExceptionprotected String getBestVersionForArtifact(org.apache.maven.artifact.Artifact artifact, List<org.apache.maven.artifact.versioning.ArtifactVersion> versions) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalExceptionprotected boolean isValidDependency(org.apache.maven.model.Dependency dependency)
protected void writeBundle(PrintStream out, String groupId, String artifactId, String version)
Copyright © 2007-2013 FuseSource, Corp.. All Rights Reserved.