@Mojo(name="install-file", requiresProject=false, aggregator=true, threadSafe=true) public class InstallFileMojo extends AbstractInstallMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
artifactId
ArtifactId of the artifact to be installed.
|
protected String |
classifier
Classifier type of the artifact to be installed.
|
protected String |
groupId
GroupId of the artifact to be installed.
|
protected String |
packaging
Packaging type of the artifact to be installed.
|
protected String |
version
Version of the artifact to be installed.
|
artifactFactory, createChecksum, digester, installer, localRepository, updateReleaseInfo| Constructor and Description |
|---|
InstallFileMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
File |
getLocalRepositoryPath() |
void |
setLocalRepositoryPath(File theLocalRepositoryPath) |
addMetaDataFilesForArtifact, getLocalRepoFile, getLocalRepoFile, installChecksums, installChecksumsgetLog, getPluginContext, setLog, setPluginContext@Parameter(property="groupId") protected String groupId
pom.xml in jar if available.@Parameter(property="artifactId") protected String artifactId
pom.xml in jar if available.@Parameter(property="version") protected String version
pom.xml in jar if available.@Parameter(property="packaging") protected String packaging
pom.xml in jar if available.@Parameter(property="classifier") protected String classifier
public void execute()
throws MojoExecutionException,
MojoFailureException
MojoExecutionExceptionMojoFailureExceptionMojo.execute()public File getLocalRepositoryPath()
public void setLocalRepositoryPath(File theLocalRepositoryPath)
theLocalRepositoryPath - the localRepositoryPath to setCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.