|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.jvnet.updatecenter2.PackageMojo
public class PackageMojo
Builds an IPS package.
| Field Summary | |
|---|---|
protected boolean |
attach
Attaches the created package file as an artifact of the build (which in turn causes it to be installed to your local repository or to be deployed remotely to a Maven repository.) |
protected java.io.File |
baseDir
The base directory to be passed to makepkgs.py. |
protected java.io.File |
baseDirectory
Deprecated. As of release 0.4, replaced by baseDir |
protected java.io.File |
destFile
Path to generated IPS package file. |
protected java.io.File |
localRepository
Deprecated. As of release 0.4, replaced by prototype |
protected java.io.File |
makePkgsDir
Directory that extracts makepkgs.py to. |
protected java.io.File |
manifestBase
The base directory for the source files of a manifest. |
protected java.io.File[] |
manifestFile
The manifest file to create the package fmri, multiple manifest-fmri can be specified. |
protected java.lang.String |
manifestFMRI
The package fmri (name@version) to use for manifest file. |
protected java.lang.String[] |
ostarget
The OS for which the packages are targeted. |
protected java.io.File |
packageFile
Deprecated. As of release 0.4, replaced by destFile |
protected org.apache.maven.project.MavenProject |
project
This is injected by Maven and not meant to be set by POM. |
protected java.io.File |
proto
Deprecated. As of release 0.4, replaced by prototype |
protected java.io.File |
prototype
Package definition file that drives the packaging process. |
protected java.lang.String |
python
Path to python executable. |
protected java.lang.String |
remoteRepository
Deprecated. As of release 0.4, replaced by repourl |
protected java.lang.String |
repourl
Repository URL to deposit the generated package, it can be either a remote repository(http://remote-repository) or local repository (file://C:\repository\pkg). |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
PackageMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
| 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 |
| Field Detail |
|---|
@Deprecated protected java.io.File proto
prototype
protected java.io.File prototype
protected java.io.File makePkgsDir
protected java.io.File localRepository
prototype
@Deprecated protected java.io.File baseDirectory
baseDir
protected java.io.File baseDir
@Deprecated protected java.io.File packageFile
destFile
protected java.io.File destFile
@Deprecated protected java.lang.String remoteRepository
repourlIf this parameter is non-null, this takes precedence over the local repository parameter.
protected java.lang.String repourl
If this parameter is non-null, this takes precedence over the local repository parameter.
protected boolean attach
protected java.lang.String python
The typical use case of this is to specify it in the command-line, like mvn -Dpython=python2.5 install
protected org.apache.maven.project.MavenProject project
protected java.lang.String[] ostarget
protected java.lang.String manifestFMRI
protected java.io.File[] manifestFile
protected java.io.File manifestBase
| Constructor Detail |
|---|
public PackageMojo()
| Method Detail |
|---|
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||