build blacklists JDKs other than version 1.5 or 1.6
Description
Attempting to build OpenNMS on a system with OpenJDK 1.7 installed results in the following error message
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project opennms: An Ant BuildException has occured: The following error occurred while executing this line: [ERROR] /opennms/build.xml:16: Your Java version (java.version = 1.7.0 java.vm.version = 20.0-b02) is not supported. The [ERROR] build system is currently designed and tested to work with Java [ERROR] versions 1.5 and 1.6. You can try to work around this error by [ERROR] modifying the java.check target in the build.xml file.
The attached patch adds 1.7 to build.xml [ERROR] -> [Help 1]
Environment
openjdk version "1.7.0"
OpenJDK Runtime Environment (build 1.7.0-root_2010_12_01_03_30-b00)
OpenJDK 64-Bit Server VM (build 20.0-b02, mixed mode)
FreeBSD 8.1-RELEASE-p1 amd64
Acceptance / Success Criteria
None
Attachments
1
Lucidchart Diagrams
Activity
Show:
Benjamin Reed December 1, 2010 at 12:43 PM
Thanks, merged in 1.8 and 1.9
[1.8 c79c996] fix for , build fails on OpenJDK 1.7 [master 8a2743f] fix for , build fails on OpenJDK 1.7
Attempting to build OpenNMS on a system with OpenJDK 1.7 installed results in the following error message
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project opennms: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /opennms/build.xml:16: Your Java version (java.version = 1.7.0 java.vm.version = 20.0-b02) is not supported. The
[ERROR] build system is currently designed and tested to work with Java
[ERROR] versions 1.5 and 1.6. You can try to work around this error by
[ERROR] modifying the java.check target in the build.xml file.
The attached patch adds 1.7 to build.xml
[ERROR] -> [Help 1]