Improve documentation for cross-compiling Java code
---------------------------------------------------
Key: MCOMPILER-58
URL: http://jira.codehaus.org/browse/MCOMPILER-58
Project: Maven 2.x Compiler Plugin
Issue Type: Improvement
Reporter: Stefano Lenzi
I think it's a good idea to provide some example on how to configure the plugin
in order to cross-compile java code for different version.
Please note that the option source and target are not enough for
cross-compiling those option check only respectively Java language and
generated Java bytecode, the messing part is to check that no classes or method
not available on the target platform are invoked.
You may check this link for clarification:
http://www.velocityreviews.com/forums/t146324-crosscompile-to-v14-compatible-with-java-5-javac.html
Also it would be nice if you add some clarification on how to obtain/resolve
different rt.jar artifact dependencies.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira