Open dloy opened 1 month ago
Last version BOM 1.8 equivalent 2.1.
See: https://github.com/CDLUC3/mrt-core2/security/dependabot/70
For example:
<dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>[2.14.0,)</version> </dependency>
The current BOM 1.8 includes jars compiled under java 11. If pure java 8 is used the war files will fail because of the following:
<dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.5.7</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <version>1.5.7</version> </dependency>
Compile all jars using a java 11.
In core2/parprop/pom.xml:
<maven.compiler.release>8</maven.compiler.release>
to
<maven.compiler.release>11</maven.compiler.release>
Last version BOM 1.8 equivalent 2.1.
See: https://github.com/CDLUC3/mrt-core2/security/dependabot/70
Upgrade commons-io:commons-io to version 2.14.0 or later.
For example:
Move to full compile Java 11
The current BOM 1.8 includes jars compiled under java 11. If pure java 8 is used the war files will fail because of the following:
Compile all jars using a java 11.
In core2/parprop/pom.xml:
to