Fix java 17 migration warnings
parent
963ed70d8d
commit
68aa7c20eb
5
pom.xml
5
pom.xml
|
@ -6,6 +6,8 @@
|
||||||
<properties>
|
<properties>
|
||||||
<com.wisemapping.version>5.0.21-SNAPSHOT</com.wisemapping.version>
|
<com.wisemapping.version>5.0.21-SNAPSHOT</com.wisemapping.version>
|
||||||
<superpom.dir>${project.basedir}/wise-webapps</superpom.dir>
|
<superpom.dir>${project.basedir}/wise-webapps</superpom.dir>
|
||||||
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
|
@ -117,10 +119,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.11.0</version>
|
|
||||||
<configuration>
|
<configuration>
|
||||||
<source>17</source>
|
|
||||||
<target>17</target>
|
|
||||||
<encoding>UTF-8</encoding>
|
<encoding>UTF-8</encoding>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
<id>generate-sources</id>
|
<id>generate-sources</id>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<target>
|
||||||
<!-- Download and unzip mindplot npm package -->
|
<!-- Download and unzip mindplot npm package -->
|
||||||
<mkdir dir="target/wisemapping-mindplot"/>
|
<mkdir dir="target/wisemapping-mindplot"/>
|
||||||
<exec executable="npm" dir="target" failonerror="true">
|
<exec executable="npm" dir="target" failonerror="true">
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<arg value="-C"/>
|
<arg value="-C"/>
|
||||||
<arg value="wisemapping-webapp"/>
|
<arg value="wisemapping-webapp"/>
|
||||||
</exec>
|
</exec>
|
||||||
</tasks>
|
</target>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
<goal>run</goal>
|
<goal>run</goal>
|
||||||
|
|
|
@ -338,27 +338,27 @@
|
||||||
</profiles>
|
</profiles>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<!-- <plugin>-->
|
||||||
<groupId>org.hibernate.orm.tooling</groupId>
|
<!-- <groupId>org.hibernate.orm.tooling</groupId>-->
|
||||||
<artifactId>hibernate-enhance-maven-plugin</artifactId>
|
<!-- <artifactId>hibernate-enhance-maven-plugin</artifactId>-->
|
||||||
<version>${hibernate.version}</version>
|
<!-- <version>${hibernate.version}</version>-->
|
||||||
<executions>
|
<!-- <executions>-->
|
||||||
<execution>
|
<!-- <execution>-->
|
||||||
<phase>compile</phase>
|
<!-- <phase>compile</phase>-->
|
||||||
<configuration>
|
<!-- <configuration>-->
|
||||||
<failOnError>true</failOnError>
|
<!-- <failOnError>true</failOnError>-->
|
||||||
<enableLazyInitialization>true</enableLazyInitialization>
|
<!-- <enableLazyInitialization>true</enableLazyInitialization>-->
|
||||||
<enableDirtyTracking>true</enableDirtyTracking>
|
<!-- <enableDirtyTracking>true</enableDirtyTracking>-->
|
||||||
<enableAssociationManagement>true</enableAssociationManagement>
|
<!-- <enableAssociationManagement>true</enableAssociationManagement>-->
|
||||||
<enableExtendedEnhancement>false</enableExtendedEnhancement>
|
<!-- <enableExtendedEnhancement>false</enableExtendedEnhancement>-->
|
||||||
<enableExtendedEnhancement>false</enableExtendedEnhancement>
|
<!-- <enableExtendedEnhancement>false</enableExtendedEnhancement>-->
|
||||||
</configuration>
|
<!-- </configuration>-->
|
||||||
<goals>
|
<!-- <goals>-->
|
||||||
<goal>enhance</goal>
|
<!-- <goal>enhance</goal>-->
|
||||||
</goals>
|
<!-- </goals>-->
|
||||||
</execution>
|
<!-- </execution>-->
|
||||||
</executions>
|
<!-- </executions>-->
|
||||||
</plugin>
|
<!-- </plugin>-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-war-plugin</artifactId>
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue