Full name:
org.codehaus.mojo:retrotranslator-maven-plugin:1.0-alpha-4:translate
Description:
Retrotranslates jars and classes.
Attributes:
process-classes.| Name | Type | Since | Description |
|---|---|---|---|
| advanced | boolean |
- |
Whether to use alternative implementations of Java 1.4 classes and
methods for better Java 5 compatibility. Default value is: false. |
| backport | String |
- |
Informs the translator about user-defined backport packages. Package names should be separated by semicolons. |
| destdir | File |
- |
The directory to place translated classes. |
| destjar | File |
- |
The JAR file to place translated classes. |
| dirsets | FileSet[] |
- |
Directories to include in the translation. |
| embed | String |
- |
The package name for a private copy of retrotranslator-runtime-n.n.n.jar and backport-util-concurrent-n.n.jar to be put with translated classes. |
| failonwarning | boolean |
- |
Fails build when verification has failed. Default value is: true. |
| filesets | FileSet[] |
- |
Files to include in the translation. |
| jarfilesets | FileSet[] |
- |
Jar files to include in the translation. |
| lazy | boolean |
- |
Asks the translator to only transform classes compiled with a
target greater than the current one. Default value is: false. |
| retainapi | boolean |
- |
Asks the translator to modify classes for JVM 1.4 compatibility but
keep use of Java 5 API. Default value is: false. |
| retainflags | boolean |
- |
Asks the translator to keep Java 5 specific access modifiers. Default value is: false. |
| srcmask | String |
- |
The wildcard pattern specifying files that should be translated
(either bytecode or UTF-8 text), e.g. "*.class*.tld". There are
three special characters: "*?". Default value is: *.class. |
| stripsign | boolean |
- |
Asks the translator to strip signature (generics) information. Default value is: false. |
| target | String |
- |
To make Java 6 classes compatible with Java 5 set this option to
1.5 and supply user-defined backport packages. Default value is: 1.4. |
| verbose | boolean |
- |
Asks the translator for verbose output. Default value is: false. |
| verify | boolean |
- |
Asks the translator to examine translated bytecode for references
to classes, methods, or fields that cannot be found in the provided
classpath. Default value is: false. |
| verifyClasspath | List |
- |
The classpath for the verification including rt.jar, jce.jar, jsse.jar (from JRE 1.4). The retrotranslator-runtime-n.n.n.jar, and backport-util-concurrent-n.n.jar are included by default, they are not required to be defined here. |
advanced :
Whether to use alternative implementations of Java 1.4 classes and methods for better Java 5 compatibility.
booleanNo${advanced}falsebackport :
Informs the translator about user-defined backport packages. Package names should be separated by semicolons.
java.lang.StringNo${backport}destdir :
The directory to place translated classes.
java.io.FileNo${destdir}destjar :
The JAR file to place translated classes.
java.io.FileNo${destjar}dirsets :
Directories to include in the translation.
org.apache.maven.shared.model.fileset.FileSet[]Noembed :
The package name for a private copy of retrotranslator-runtime-n.n.n.jar and backport-util-concurrent-n.n.jar to be put with translated classes.
java.lang.StringNo${embed}Fails build when verification has failed.
booleanNo${failonwarning}truefilesets :
Files to include in the translation.
org.apache.maven.shared.model.fileset.FileSet[]NoJar files to include in the translation.
org.apache.maven.shared.model.fileset.FileSet[]Nolazy :
Asks the translator to only transform classes compiled with a target greater than the current one.
booleanNo${lazy}falseAsks the translator to modify classes for JVM 1.4 compatibility but keep use of Java 5 API.
booleanNo${retainapi}falseAsks the translator to keep Java 5 specific access modifiers.
booleanNo${retainflags}falsesrcmask :
The wildcard pattern specifying files that should be translated (either bytecode or UTF-8 text), e.g. "*.class*.tld". There are three special characters: "*?".
java.lang.StringNo${srcmask}*.classAsks the translator to strip signature (generics) information.
booleanNo${stripsign}falsetarget :
To make Java 6 classes compatible with Java 5 set this option to 1.5 and supply user-defined backport packages.
java.lang.StringNo${target}1.4verbose :
Asks the translator for verbose output.
booleanNo${verbose}falseverify :
Asks the translator to examine translated bytecode for references to classes, methods, or fields that cannot be found in the provided classpath.
booleanNo${verify}falseThe classpath for the verification including rt.jar, jce.jar, jsse.jar (from JRE 1.4). The retrotranslator-runtime-n.n.n.jar, and backport-util-concurrent-n.n.jar are included by default, they are not required to be defined here.
java.util.ListNo