Update supported versions in generated build.xml
<pathelement location="${tools.jar}"/>
</path>
- <condition property="is.java.version.16">
+ <condition property="is.supported.java.version">
<or>
- <equals arg1="${ant.java.version}" arg2="1.6"/>
- <equals arg1="${ant.java.version}" arg2="1.7"/>
+ <equals arg1="${ant.java.version}" arg2="1.8"/>
+ <equals arg1="${ant.java.version}" arg2="1.9"/>
</or>
</condition>
- <fail message="cxf requires Java version 1.6 or higher. You are currently using Java version ${ant.java.version}."
- unless="is.java.version.16"/>
+ <fail message="cxf requires Java version 1.8 or higher. You are currently using Java version ${ant.java.version}."
+ unless="is.supported.java.version"/>
<!-- Determine cxf.home, either from the environment variable CXF_HOME
- or using ../..
