|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.repository.BundlePackMojo
public class BundlePackMojo
Packs artifacts already available in a local repository in a bundle for an upload requests. It requires that the artifact has a POM in the local repository. It will check for mandatory elements, asking interactively for missing values. Can be used to generate bundles for third parties artifacts that have been manually added to the local repository.
Field Summary | |
---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Artifact factory. |
protected java.lang.String |
artifactId
ArtifactId for the artifact to create an upload bundle for. |
protected org.apache.maven.artifact.resolver.ArtifactResolver |
artifactResolver
Artifact resolver. |
protected java.lang.String |
basedir
Directory where the upload-bundle will be created. |
protected java.lang.String |
groupId
GroupId for the artifact to create an upload bundle for. |
protected org.codehaus.plexus.components.interactivity.InputHandler |
inputHandler
|
protected org.codehaus.plexus.archiver.jar.JarArchiver |
jarArchiver
Jar archiver. |
protected org.apache.maven.artifact.repository.ArtifactRepository |
localRepository
Local maven repository. |
static java.lang.String |
POM
|
protected java.lang.String |
scmConnection
Read-only URL for SCM tool connections, in cases where this isn't provided by the POM. |
protected java.lang.String |
scmUrl
Viewable URL for SCM connections, in cases where this isn't provided by the POM. |
protected org.apache.maven.settings.Settings |
settings
|
protected java.lang.String |
version
Version for the artifact to create an upload bundle for. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
BundlePackMojo()
|
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 |
---|
public static final java.lang.String POM
protected org.codehaus.plexus.archiver.jar.JarArchiver jarArchiver
protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
protected org.apache.maven.artifact.repository.ArtifactRepository localRepository
protected org.codehaus.plexus.components.interactivity.InputHandler inputHandler
protected java.lang.String basedir
protected java.lang.String groupId
protected java.lang.String artifactId
protected java.lang.String version
protected java.lang.String scmUrl
protected java.lang.String scmConnection
protected org.apache.maven.settings.Settings settings
Constructor Detail |
---|
public BundlePackMojo()
Method Detail |
---|
public void execute() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |