Commit 02d149fa authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Java 11

parent 1e9d5c71
...@@ -4,7 +4,7 @@ stages: ...@@ -4,7 +4,7 @@ stages:
run tests in branches: run tests in branches:
stage: compile stage: compile
image: maven:3-jdk-8 image: maven:3-openjdk-11
script: script:
- MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B - MAVEN_OPTS="${MAVEN_OPTS} -Dorg.slf4j.simpleLogger.defaultLogLevel=warn" mvn test -B
except: except:
...@@ -13,7 +13,7 @@ run tests in branches: ...@@ -13,7 +13,7 @@ run tests in branches:
publish snapshot artifacts: publish snapshot artifacts:
stage: deploy stage: deploy
image: maven:3-jdk-8 image: maven:3-openjdk-11
before_script: before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import - echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys - gpg --list-keys
...@@ -24,7 +24,7 @@ publish snapshot artifacts: ...@@ -24,7 +24,7 @@ publish snapshot artifacts:
publish artifacts on central: publish artifacts on central:
stage: deploy stage: deploy
image: maven:3-jdk-8 image: maven:3-openjdk-11
before_script: before_script:
- echo "${GPG_KEY_SECRET}" | gpg --batch --import - echo "${GPG_KEY_SECRET}" | gpg --batch --import
- gpg --list-keys - gpg --list-keys
......
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.target>1.8</jdk.target> <jdk.target>11</jdk.target>
<jdk.source>1.8</jdk.source> <jdk.source>11</jdk.source>
<maven-gpg-plugin.version>1.5</maven-gpg-plugin.version> <maven-gpg-plugin.version>1.5</maven-gpg-plugin.version>
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
......
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