mirror of
https://gitcode.com/gh_mirrors/on/onvif.git
synced 2025-12-30 05:22:27 +00:00
Changes to build and run with java 12.
This commit is contained in:
27
pom.xml
27
pom.xml
@@ -8,9 +8,14 @@
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<cxf.version>3.1.10</cxf.version>
|
||||
<cxf.version>3.3.2</cxf.version> <!-- 3.1.10 -->
|
||||
|
||||
<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 -->
|
||||
<jaxb.api.version>2.3.1</jaxb.api.version> <!-- 2.3.0, 2.3.1 or 2.4.0-b180830.0359 -->
|
||||
<java.release>12</java.release>
|
||||
<!-- <java.version>1.10</java.version>-->
|
||||
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<modules>
|
||||
@@ -23,13 +28,23 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
<version>${maven-compiler-plugin.version}</version>
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
<jdkToolchain>
|
||||
<version>${java.release}</version>
|
||||
</jdkToolchain>
|
||||
<release>${java.release}</release>
|
||||
</configuration>
|
||||
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
||||
|
||||
|
||||
|
||||
</plugins>
|
||||
|
||||
|
||||
|
||||
</build>
|
||||
|
||||
</project>
|
||||
Reference in New Issue
Block a user