public abstract class AbstractAppAssemblerMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.repository.ArtifactRepositoryFactory |
artifactRepositoryFactory |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository |
protected org.apache.maven.artifact.Artifact |
projectArtifact |
protected String |
repositoryLayout
The layout of the generated Maven repository.
|
protected boolean |
useTimestampInSnapshotFileName
For those snapshots downloaded from a remote repo, replace the timestamp part with "SNAPSHOT" instead.
|
| Constructor and Description |
|---|
AbstractAppAssemblerMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
installArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository artifactRepository)
Copy artifact to another repository.
|
protected void |
installArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository artifactRepository,
boolean useTimestampInSnapshotFileName)
Copy artifact to another repository, with an option not to use timestamp in the snapshot filename.
|
getLog, getPluginContext, setLog, setPluginContextprotected String repositoryLayout
lib/ style). The style "legacy" is only supported if you are running under Maven 2.2.1 and
before.protected boolean useTimestampInSnapshotFileName
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.apache.maven.artifact.Artifact projectArtifact
protected org.apache.maven.artifact.repository.ArtifactRepositoryFactory artifactRepositoryFactory
protected void installArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository artifactRepository,
boolean useTimestampInSnapshotFileName)
throws org.apache.maven.plugin.MojoExecutionException
artifact - The artifact to install.artifactRepository - The repository where to install.useTimestampInSnapshotFileName - Using timestamp for SNAPSHOT's.org.apache.maven.plugin.MojoExecutionExceptionprotected void installArtifact(org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository artifactRepository)
throws org.apache.maven.plugin.MojoExecutionException
artifact - artifactRepository - org.apache.maven.plugin.MojoExecutionExceptionCopyright © 2006-2013 Codehaus. All Rights Reserved.