public class BundleJarsMojo extends BasePdkMojo
| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations
|
artifactFactory| Constructor and Description |
|---|
BundleJarsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleDependencies(org.apache.maven.project.MavenProject project,
File buildDir)
Bundles the required jars the specified project.
|
void |
execute() |
protected String[] |
getDependencyExcludes()
Returns a string array of the excludes to be used
when adding dependentcies as an overlay onto this artifact.
|
protected String[] |
getDependencyIncludes()
Returns a string array of the includes to be used
when adding dependencies as an overlay onto this artifact.
|
String |
getLocalRepository() |
org.apache.maven.project.MavenProject |
getProject() |
String |
getTarget() |
void |
setDependencyExcludes(String dependencyExcludes) |
void |
setExtractDependencies(boolean extractDependencies) |
void |
setLocalRepository(String localRepository) |
void |
setProject(org.apache.maven.project.MavenProject project) |
void |
setTarget(String target) |
void |
setWorkDirectory(File workDirectory) |
copy, copyFiles, getArtifact, urlEncodeprotected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void bundleDependencies(org.apache.maven.project.MavenProject project,
File buildDir)
throws org.apache.maven.plugin.MojoExecutionException,
IOException,
org.apache.maven.plugin.MojoFailureException
project - the maven projectbuildDir - The temporary atlassian directory for building the plugin.IOException - if an error occured while building the pluginorg.apache.maven.plugin.MojoFailureException - if there is a failure.org.apache.maven.plugin.MojoExecutionException - if there is a problem while executing.protected String[] getDependencyExcludes()
protected String[] getDependencyIncludes()
public void setExtractDependencies(boolean extractDependencies)
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
public String getLocalRepository()
public void setLocalRepository(String localRepository)
public String getTarget()
public void setTarget(String target)
public void setWorkDirectory(File workDirectory)
public void setDependencyExcludes(String dependencyExcludes)
Copyright © 2025 Adaptavist.com Ltd. All rights reserved.