Skip to content
Snippets Groups Projects
Commit 589a5c8b authored by Wei Liu's avatar Wei Liu
Browse files

compile to java 17

parent 231b1b50
Branches
Tags
No related merge requests found
......@@ -8,13 +8,16 @@
<version>0.7.5</version>
<packaging>jar</packaging>
<name>unimelb-mf-clients</name>
<url>https://gitlab.unimelb.edu.au/resplat-mediaflux/unimelb-mf-clients</url>
<url>https://gitlab.unimelb.edu.au/resplat-mediaflux/unimelb-mf-clients
</url>
<description>UniMelb Mediaflux clients.</description>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss z</maven.build.timestamp.format>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss z
</maven.build.timestamp.format>
<skipTests>true</skipTests>
<dist>${project.build.directory}/dist</dist>
</properties>
......@@ -22,7 +25,8 @@
<repository>
<id>resplat-public-mvn-repo</id>
<name>ResPlat Public Maven Repository</name>
<url>https://gitlab.unimelb.edu.au/resplat-mediaflux/mvn-repo/raw/master</url>
<url>https://gitlab.unimelb.edu.au/resplat-mediaflux/mvn-repo/raw/master
</url>
</repository>
</repositories>
<dependencies>
......@@ -50,6 +54,14 @@
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<release>17</release>
</configuration>
</plugin>
<plugin>
<groupId>com.google.code.maven-replacer-plugin</groupId>
<artifactId>replacer</artifactId>
......@@ -62,8 +74,10 @@
<goal>replace</goal>
</goals>
<configuration>
<file>${project.basedir}/src/main/resources/unimelb/mf/client/app.properties</file>
<outputFile>${project.build.directory}/app.properties.tmp</outputFile>
<file>${project.basedir}/src/main/resources/unimelb/mf/client/app.properties
</file>
<outputFile>${project.build.directory}/app.properties.tmp
</outputFile>
<regex>false</regex>
<replacements>
<replacement>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment