Class JarArchiverHelper
- java.lang.Object
-
- org.apache.sling.maven.slingstart.JarArchiverHelper
-
public class JarArchiverHelper extends Object
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddArtifacts(Map<String,File> globalContentsMap, String prefix)voidaddDirectory(File directory)voidaddDirectory(File directory, String prefix)voidaddDirectory(File directory, String[] includes, String[] excludes)voidaddDirectory(File directory, String prefix, String[] includes, String[] excludes)voidaddFile(File inputFile, String destFileName)voidaddFile(File arg0, String arg1, int arg2)voidcreateArchive()
-
-
-
Constructor Detail
-
JarArchiverHelper
public JarArchiverHelper(org.codehaus.plexus.archiver.jar.JarArchiver archiver, org.apache.maven.project.MavenProject project, File destFile) throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-
Method Detail
-
addDirectory
public void addDirectory(File directory, String prefix, String[] includes, String[] excludes) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addDirectory
public void addDirectory(File directory, String prefix) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addDirectory
public void addDirectory(File directory, String[] includes, String[] excludes) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addDirectory
public void addDirectory(File directory) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addFile
public void addFile(File arg0, String arg1, int arg2) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
addFile
public void addFile(File inputFile, String destFileName) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
createArchive
public void createArchive() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-