public class ProGuardMojo
extends org.apache.maven.plugin.AbstractMojo
The Obfuscate task provides a stand-alone obfuscation task
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.archiver.MavenArchiveConfiguration |
archive
The maven archive configuration to use.
|
protected String |
inFilter
Apply ProGuard classpathentry Filters to input jar.
|
protected String |
injar
Specifies the input jar name (or wars, ears, zips) of the application to be
processed.
|
protected org.apache.maven.project.MavenProject |
mavenProject
The Maven project reference where the plugin is currently being executed.
|
protected String |
maxMemory
The max memory the forked java process should use, e.g.
|
protected String |
outFilter
Apply ProGuard classpathentry Filters to output jar.
|
protected String |
outjar
Specifies the names of the output jars.
|
protected File |
outputDirectory
Directory containing the input and generated JAR.
|
protected List<String> |
pluginArtifacts
The plugin dependencies.
|
protected String |
proguardMainClass
ProGuard main class name.
|
| Constructor and Description |
|---|
ProGuardMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected String injar
protected String inFilter
!**.gif,!**/tests/**'protected String outjar
protected String outFilter
!**.gif,!**/tests/**'protected File outputDirectory
protected org.apache.maven.project.MavenProject mavenProject
protected org.apache.maven.archiver.MavenArchiveConfiguration archive
protected String maxMemory
protected String proguardMainClass
Copyright © 2015. All rights reserved.