Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Java 5 Compatibility"

(New page: Hudson is built with Java 6, but can be run with Java 5. See Maven2 project and JDK5. The [http://mojo.codehaus.org/animal-sniffer-maven-plugin/ Animal Sniffer Maven Plugin] is used to enf...)
 
 
Line 5: Line 5:
 
Unless a plugin requires the new Java 6 features, the animal sniffer plugin should be added to the plugin's POM to enforce Java 5 compatibility. See the blog entry [http://weblogs.java.net/blog/2008/11/14/compiling-jdk6-and-running-jdk5 compiling-jdk6-and-running-jdk5] for instructions.
 
Unless a plugin requires the new Java 6 features, the animal sniffer plugin should be added to the plugin's POM to enforce Java 5 compatibility. See the blog entry [http://weblogs.java.net/blog/2008/11/14/compiling-jdk6-and-running-jdk5 compiling-jdk6-and-running-jdk5] for instructions.
  
It may also be necessary to increase the memory available to Maven. For example, set the MAVEN_OPTS environment variable to Xmx1024m.
+
It may also be necessary to increase the memory available to Maven. For example, set the MAVEN_OPTS environment variable to <code>Xmx1024m</code>.

Latest revision as of 20:43, 22 July 2013

Hudson is built with Java 6, but can be run with Java 5. See Maven2 project and JDK5. The Animal Sniffer Maven Plugin is used to enforce Java 5 compatibility.

By default, Hudson plugins can also run under Java 5, but only if the plugin author is careful not to call any of the new Java 6 APIs.

Unless a plugin requires the new Java 6 features, the animal sniffer plugin should be added to the plugin's POM to enforce Java 5 compatibility. See the blog entry compiling-jdk6-and-running-jdk5 for instructions.

It may also be necessary to increase the memory available to Maven. For example, set the MAVEN_OPTS environment variable to Xmx1024m.

Back to the top