public abstract class AbstractLibertySupport
extends org.codehaus.mojo.pluginsupport.MojoSupport
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.mojo.pluginsupport.ant.AntHelper |
ant |
protected org.apache.maven.artifact.repository.ArtifactRepository |
artifactRepository |
protected org.apache.maven.project.ProjectBuilder |
mavenProjectBuilder |
protected org.apache.maven.project.MavenProject |
project
Maven Project
|
protected List<org.apache.maven.project.MavenProject> |
reactorProjects |
protected org.apache.maven.execution.MavenSession |
session |
protected org.apache.maven.settings.Settings |
settings
The build settings.
|
| Constructor and Description |
|---|
AbstractLibertySupport() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.artifact.Artifact |
createArtifact(org.codehaus.mojo.pluginsupport.util.ArtifactItem item)
Create a new artifact.
|
protected org.apache.maven.artifact.Artifact |
getArtifact(org.codehaus.mojo.pluginsupport.util.ArtifactItem item)
Resolves the Artifact from the remote repository if necessary.
|
protected org.apache.maven.artifact.repository.ArtifactRepository |
getArtifactRepository() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.project.MavenProject |
getReactorMavenProject(org.apache.maven.artifact.Artifact artifact) |
protected void |
init() |
protected boolean |
isReactorMavenProject(org.apache.maven.artifact.Artifact artifact) |
contextualize, doExecute, execute, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, resolveArtifact, resolveArtifact@Parameter(defaultValue="${project}",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${localRepository}",
required=true,
readonly=true)
protected org.apache.maven.artifact.repository.ArtifactRepository artifactRepository
@Parameter(defaultValue="${settings}",
required=true,
readonly=true)
protected org.apache.maven.settings.Settings settings
@Component(role=org.codehaus.mojo.pluginsupport.ant.AntHelper.class) protected org.codehaus.mojo.pluginsupport.ant.AntHelper ant
@Component protected org.apache.maven.project.ProjectBuilder mavenProjectBuilder
@Parameter(defaultValue="${session}",
readonly=true)
protected org.apache.maven.execution.MavenSession session
@Parameter(property="reactorProjects",
required=true,
readonly=true)
protected List<org.apache.maven.project.MavenProject> reactorProjects
protected org.apache.maven.project.MavenProject getProject()
getProject in class org.codehaus.mojo.pluginsupport.MojoSupportprotected org.apache.maven.artifact.repository.ArtifactRepository getArtifactRepository()
getArtifactRepository in class org.codehaus.mojo.pluginsupport.MojoSupportprotected void init()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
init in class org.codehaus.mojo.pluginsupport.MojoSupportorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected boolean isReactorMavenProject(org.apache.maven.artifact.Artifact artifact)
protected org.apache.maven.project.MavenProject getReactorMavenProject(org.apache.maven.artifact.Artifact artifact)
protected org.apache.maven.artifact.Artifact getArtifact(org.codehaus.mojo.pluginsupport.util.ArtifactItem item)
throws org.apache.maven.plugin.MojoExecutionException
getArtifact in class org.codehaus.mojo.pluginsupport.MojoSupportitem - The item to create an artifact for; must not be nullorg.apache.maven.plugin.MojoExecutionException - Failed to create artifactprotected org.apache.maven.artifact.Artifact createArtifact(org.codehaus.mojo.pluginsupport.util.ArtifactItem item)
throws org.apache.maven.plugin.MojoExecutionException
createArtifact in class org.codehaus.mojo.pluginsupport.MojoSupportitem - The item to create an artifact fororg.apache.maven.plugin.MojoExecutionException - Failed to create artifactCopyright © 2017 the original author or authors.