Full name:
com.github.wvengen:proguard-maven-plugin:2.5.2-SNAPSHOT:proguard
Description:
The Obfuscate task provides a stand-alone obfuscation task
Attributes:
compile
.package
.Name | Type | Since | Description |
---|---|---|---|
<injar> |
String |
- |
Specifies the input jar name (or wars, ears, zips) of the
application to be processed. You may specify a classes directory
e.g. 'classes'. This way plugin will processed the classes instead
of jar. You would need to bind the execution to phase 'compile' or
'process-classes' in this case. |
<outputDirectory> |
File |
- |
Directory containing the input and generated JAR. User property is: project.build.directory . |
Name | Type | Since | Description |
---|---|---|---|
<addMavenDescriptor> |
boolean |
- |
Set to true to include META-INF/maven/** maven descriptor Default value is: false . |
<appendClassifier> |
boolean |
- |
Set to false to exclude the attachArtifactClassifier from the
Artifact final name. Default value is true. Default value is: true . |
<applyMappingFile> |
File |
- |
Sets the name of the ProGuard applying mapping file. |
<archive> |
MavenArchiveConfiguration |
- |
The maven archive configuration to use. only if assembly is used. |
<assembly> |
Assembly |
- |
Bundle project dependency to resulting jar. Specifies list of
artifact inclusions |
<attach> |
boolean |
- |
Specifies whether or not to attach the created artifact to the
project Default value is: false . |
<attachArtifactClassifier> |
String |
- |
Specifies attach artifact Classifier, Ignored if attach=false Default value is: small . |
<attachArtifactType> |
String |
- |
Specifies attach artifact type Default value is: jar . |
<attachMap> |
boolean |
- |
Determines if attach also attaches the
mappingFileName file.Default value is: false . |
<attachSeed> |
boolean |
- |
Determines if attach also attaches the
seedFileName file.Default value is: false . |
<exclusions> |
List |
- |
List of dependency exclusions |
<generateTemporaryConfigurationFile> |
boolean |
- |
Use this parameter if your command line arguments become too long
and execution fails. If this parameter is 'true', the configuration
is passed to the proguard process through a file, instead of
through command line arguments. This bypasses the operating system
restrictions on the length of the command line arguments. Default value is: false . |
<inFilter> |
String |
- |
Apply ProGuard classpathentry Filters to input jar. e.g.
!**.gif,!**/tests/**' |
<inLibsFilter> |
String |
- |
Apply ProGuard classpathentry Filters to all input lib jars. e.g.
!META-INF/**,!META-INF/versions/9/**.class |
<includeDependency> |
boolean |
- |
Specifies that project compile dependencies be added as
-libraryjars to proguard arguments. Dependency itself is not
included in resulting jar unless you set includeDependencyInjar to
true Default value is: true . |
<includeDependencyInjar> |
boolean |
- |
Specifies that project compile dependencies should be added as
injar. Default value is: false . |
<incremental> |
boolean |
- |
Specifies whether or not to enable incremental
obfuscation Default value is: false . |
<injarNotExistsSkip> |
boolean |
- |
Set this to 'true' to bypass ProGuard processing when injar does
not exists. Default value is: false . |
<libs> |
List |
- |
Additional -libraryjars e.g. ${java.home}/lib/rt.jar Project
compile dependency are added automatically. See exclusions |
<mappingFileName> |
String |
- |
Sets the name of the ProGuard mapping file. Default value is: proguard_map.txt . |
<maxMemory> |
String |
- |
The max memory the forked java process should use, e.g. 256m |
<obfuscate> |
boolean |
- |
Specifies not to obfuscate the input class files. Default value is: true . |
<options> |
String[] |
- |
ProGuard configuration options |
<outFilter> |
String |
- |
Apply ProGuard classpathentry Filters to output jar. e.g.
!**.gif,!**/tests/**' |
<outjar> |
String |
- |
Specifies the names of the output jars. If attach=true the value
ignored and name constructed base on classifier If empty input jar
would be overdriven. |
<proguardInclude> |
File |
- |
Recursively reads configuration options from the given file
filename Default value is: ${basedir}/proguard.conf . |
<proguardJar> |
File |
- |
The proguard jar to use. useful for using beta versions of progaurd
that aren't yet on Maven central. |
<proguardMainClass> |
String |
- |
ProGuard main class name. Default value is: proguard.ProGuard . |
<proguardVersion> |
String |
- |
Select specific ProGuard version from plugin dependencies |
<putLibraryJarsInTempDir> |
boolean |
- |
Specifies to copy all the -libraryjars dependencies into a
temporary directory and pass that directory as the only
-libraryjars argument to ProGuard. Default value is: false . |
<seedFileName> |
String |
- |
Sets the name of the ProGuard seed file. Default value is: proguard_seed.txt . |
<silent> |
boolean |
- |
If the plugin should be silent. Default value is: false . |
<skip> |
boolean |
- |
Set this to 'true' to bypass ProGuard processing entirely. User property is: proguard.skip . |
<useDexGuard> |
boolean |
- |
To run DexGuard instead of ProGuard, set this to "true". Default value is: false . |
boolean
No
false
boolean
No
true
java.io.File
No
org.apache.maven.archiver.MavenArchiveConfiguration
No
com.github.wvengen.maven.proguard.Assembly
No
boolean
No
false
java.lang.String
No
small
java.lang.String
No
jar
attach
also attaches the
mappingFileName
file.boolean
No
false
attach
also attaches the
seedFileName
file.boolean
No
false
java.util.List
No
boolean
No
false
!**.gif,!**/tests/**'
java.lang.String
No
!META-INF/**,!META-INF/versions/9/**.class
java.lang.String
No
boolean
No
true
boolean
No
false
boolean
No
false
java.lang.String
Yes
${project.build.finalName}.jar
boolean
No
false
java.util.List
No
java.lang.String
No
proguard_map.txt
java.lang.String
No
boolean
No
true
java.lang.String[]
No
!**.gif,!**/tests/**'
java.lang.String
No
java.lang.String
No
java.io.File
Yes
project.build.directory
java.io.File
No
${basedir}/proguard.conf
java.io.File
No
java.lang.String
No
proguard.ProGuard
java.lang.String
No
boolean
No
false
java.lang.String
No
proguard_seed.txt
boolean
No
false
boolean
No
proguard.skip
boolean
No
false