@Mojo(name="install-file",
requiresProject=false,
aggregator=true,
threadSafe=true)
public class InstallFileMojo
extends AbstractInstallMojo
| Modifier and Type | Field | 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 | Description |
|---|---|
InstallFileMojo() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
|
File |
getLocalRepositoryPath() |
|
void |
setLocalRepositoryPath(File theLocalRepositoryPath) |
addMetaDataFilesForArtifact, getLocalRepoFile, getLocalRepoFile, installChecksums, installChecksums@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 org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionMojo.execute()public File getLocalRepositoryPath()
public void setLocalRepositoryPath(File theLocalRepositoryPath)
theLocalRepositoryPath - the localRepositoryPath to setCopyright © 2004–2019 The Apache Software Foundation. All rights reserved.