@Mojo(name="bundle-pack", requiresProject=false) public class BundlePackMojo extends AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected org.apache.maven.artifact.factory.ArtifactFactory |
artifactFactory
Artifact factory.
|
protected String |
artifactId
ArtifactId for the artifact to create an upload bundle for.
|
protected ArtifactResolver |
artifactResolver
Artifact resolver.
|
protected String |
basedir
Directory where the upload-bundle will be created.
|
protected String |
groupId
GroupId for the artifact to create an upload bundle for.
|
protected org.codehaus.plexus.components.interactivity.InputHandler |
inputHandler |
protected JarArchiver |
jarArchiver
Jar archiver.
|
protected ArtifactRepository |
localRepository
Local maven repository.
|
static String |
POM |
protected String |
scmConnection
Read-only URL for SCM tool connections, in cases where this isn't provided by the POM.
|
protected String |
scmUrl
Viewable URL for SCM connections, in cases where this isn't provided by the POM.
|
protected Settings |
settings |
protected String |
version
Version for the artifact to create an upload bundle for.
|
Constructor and Description |
---|
BundlePackMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
getLog, getPluginContext, setLog, setPluginContext
public static final String POM
@Component(role=org.codehaus.plexus.archiver.Archiver.class, hint="jar") protected JarArchiver jarArchiver
@Component protected ArtifactResolver artifactResolver
@Component protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
@Parameter(defaultValue="${localRepository}", required=true, readonly=true) protected ArtifactRepository localRepository
@Component protected org.codehaus.plexus.components.interactivity.InputHandler inputHandler
@Parameter(defaultValue="${basedir}", readonly=true) protected String basedir
@Parameter(property="groupId") protected String groupId
@Parameter(property="artifactId") protected String artifactId
@Parameter(property="version") protected String version
@Parameter(property="scmUrl") protected String scmUrl
@Parameter(property="scmConnection") protected String scmConnection
@Parameter(defaultValue="${settings}", readonly=true, required=true) protected Settings settings
public void execute() throws MojoExecutionException
MojoExecutionException
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.