Full name:
com.pyx4me:proguard-maven-plugin:2.0.4: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. |
| Name | Type | Since | Description |
|---|---|---|---|
| addMavenDescriptor | boolean |
- |
Set to true to include META-INF/maven/** maven descriptord 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. |
| 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. |
| exclusions | List |
- |
List of dependency exclusions |
| inFilter | String |
- |
Apply ProGuard classpathentry Filters to input jar. e.g.
!**.gif,!**/tests/**' |
| includeDependency | boolean |
- |
Specifies that project compile dependencies be added as
-libraryjars to proguard arguments. Dependency itself is not
included in resulting jar Default value is: true. |
| 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 |
| 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 |
| 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. |
| proguardMainClass | String |
- |
ProGuard main class name. Default value is: proguard.ProGuard. |
| proguardVersion | String |
- |
Select specific ProGuard version from plugin dependencies |
| skip | boolean |
- |
Set this to 'true' to bypass ProGuard processing entirely. |
booleanNofalsebooleanNotrueorg.apache.maven.archiver.MavenArchiveConfigurationNocom.pyx4me.maven.proguard.AssemblyNobooleanNofalsejava.lang.StringNosmalljava.lang.StringNojarjava.util.ListNo!**.gif,!**/tests/**'java.lang.StringNobooleanNotruejava.lang.StringYes${project.build.finalName}.jarbooleanNofalsejava.util.ListNojava.lang.StringNobooleanNotruejava.lang.String[]Nojava.lang.StringNojava.io.FileYes${project.build.directory}java.io.FileNo${basedir}/proguard.confjava.lang.StringNoproguard.ProGuardjava.lang.StringNobooleanNo${proguard.skip}