org.bsc.maven.plugin.libutils
Class DeployFolderMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.bsc.maven.plugin.libutils.AbstractDeployMojo
org.bsc.maven.plugin.libutils.DeployFolderMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, Constants
@Mojo(name="deploy-folder",
requiresProject=true)
public class DeployFolderMojo- extends AbstractDeployMojo
- implements Constants
Installs artifacts from folder to remote repository.
|
Field Summary |
protected org.apache.maven.project.MavenProject |
project
|
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
@Component
protected org.apache.maven.project.MavenProject project
DeployFolderMojo
public DeployFolderMojo()
initProperties
protected void initProperties(File pomFile)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Specified by:
execute in interface org.apache.maven.plugin.Mojo- Specified by:
execute in class AbstractDeployMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
readModel
protected org.apache.maven.model.Model readModel(File pomFile)
throws org.apache.maven.plugin.MojoExecutionException
- Extract the Model from the specified file.
- Parameters:
pomFile -
- Returns:
-
- Throws:
org.apache.maven.plugin.MojoExecutionException - if the file doesn't exist of cannot be
read.
Copyright © 2009-2013. All Rights Reserved.