Commit c8ec3fab authored by Maxym Borodenko's avatar Maxym Borodenko Committed by Matija Obreza
Browse files

Java 11

- CI: use Java 11
parent 6d2c2253
......@@ -21,7 +21,7 @@ stages:
- deploy
.package_template: &maven_package
image: maven:3-jdk-8
image: maven:3-openjdk-11
script:
- pushd amphibian-server
- mvn package -B -U
......@@ -87,7 +87,7 @@ dockerize amphibian:
publish snapshot artifacts:
stage: deploy
image: maven:3-jdk-8
image: maven:3-openjdk-11
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
......@@ -99,7 +99,7 @@ publish snapshot artifacts:
publish artifacts on central:
stage: deploy
image: maven:3-jdk-8
image: maven:3-openjdk-11
before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys
......
......@@ -16,7 +16,7 @@
<skip.deploy.artifact>true</skip.deploy.artifact>
<skipTests>true</skipTests>
<java.version>1.8</java.version>
<java.version>11</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
......@@ -21,6 +21,16 @@
</properties>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.sun.activation</groupId>
<artifactId>javax.activation</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
......
......@@ -38,8 +38,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.target>1.8</jdk.target>
<jdk.source>1.8</jdk.source>
<jdk.target>11</jdk.target>
<jdk.source>11</jdk.source>
<show.deprecations>true</show.deprecations>
<skip.deploy.artifact>true</skip.deploy.artifact>
<skipTests>true</skipTests>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment