public class BuildMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Artifact factory, needed to download the package source file
|
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver
Artifact resolver, needed to download the package source file
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Local maven repository.
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected List |
remoteArtifactRepositories
Remote repositories
|
Constructor and Description |
---|
BuildMojo() |
Modifier and Type | Method and Description |
---|---|
void |
downloadNativeSourcePackage(File buildDir) |
void |
execute() |
protected org.apache.maven.project.MavenProject project
protected List remoteArtifactRepositories
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void downloadNativeSourcePackage(File buildDir) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2009-2013 FuseSource, Corp.. All Rights Reserved.