@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, installer, localRepository, md5Digester, sha1Digester, updateReleaseInfo
Constructor and Description |
---|
InstallFileMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
File |
getLocalRepositoryPath() |
void |
setLocalRepositoryPath(File theLocalRepositoryPath) |
getLocalRepoFile, getLocalRepoFile, installChecksums, installChecksums
@Parameter(property="groupId") protected String groupId
@Parameter(property="artifactId") protected String artifactId
@Parameter(property="version") protected String version
@Parameter(property="packaging") protected String packaging
@Parameter(property="classifier") protected String classifier
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Mojo.execute()
public File getLocalRepositoryPath()
public void setLocalRepositoryPath(File theLocalRepositoryPath)
theLocalRepositoryPath
- the localRepositoryPath to setCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.