java 12 changes

Changes used to compile on java 12. Should be changed to a maven profile to allow selecting java 8 or higher... but appears to work. I do see some Illegal reflective access
warnings that appear harmless, for instance: Illegal reflective access by org.apache.ws.commons.schema.utils.DOMUtil
This commit is contained in:
bhlowe
2019-07-10 09:35:37 -07:00
parent ff9839c099
commit 67a68f2ffc
6 changed files with 87 additions and 10 deletions

13
pom.xml
View File

@@ -7,10 +7,18 @@
<packaging>pom</packaging>
<properties>
<java.version>1.8</java.version>
<java.version>1.12</java.version>
<cxf.version>3.1.10</cxf.version>
<javax.activation.version>1.2.0</javax.activation.version>
<jaxb.api.version>2.3.0</jaxb.api.version> <!-- 2.3.0, 2.3.1 or 2.4.0-b180830.0359 -->
</properties>
<modules>
<module>onvif-ws-client</module>
<module>onvif-java</module>
@@ -29,4 +37,7 @@
</plugin>
</plugins>
</build>
</project>