public class JarArchiverHelper extends Object
Constructor and Description |
---|
JarArchiverHelper(org.codehaus.plexus.archiver.jar.JarArchiver archiver,
org.apache.maven.project.MavenProject project,
File destFile) |
JarArchiverHelper(org.codehaus.plexus.archiver.jar.JarArchiver archiver,
org.apache.maven.project.MavenProject project,
File destFile,
Manifest manifest) |
Modifier and Type | Method and Description |
---|---|
void |
addArtifacts(Map<String,File> globalContentsMap,
String prefix) |
void |
addDirectory(File directory) |
void |
addDirectory(File directory,
String prefix) |
void |
addDirectory(File directory,
String[] includes,
String[] excludes) |
void |
addDirectory(File directory,
String prefix,
String[] includes,
String[] excludes) |
void |
addFile(File inputFile,
String destFileName) |
void |
addFile(File arg0,
String arg1,
int arg2) |
void |
createArchive() |
public JarArchiverHelper(org.codehaus.plexus.archiver.jar.JarArchiver archiver, org.apache.maven.project.MavenProject project, File destFile) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addDirectory(File directory, String prefix, String[] includes, String[] excludes) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addDirectory(File directory, String prefix) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addDirectory(File directory, String[] includes, String[] excludes) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addDirectory(File directory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addFile(File arg0, String arg1, int arg2) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void addFile(File inputFile, String destFileName) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void createArchive() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.