diff --git a/.java-version b/.java-version new file mode 100644 index 000000000..4181564b4 --- /dev/null +++ b/.java-version @@ -0,0 +1,2 @@ +17 + diff --git a/.licenserc.yaml b/.licenserc.yaml index 3f7f739d3..62041777c 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -40,5 +40,6 @@ header: - '**/*.iml' - '.releaserc.json' - '.commitlintrc.json' + - '.java-version' comment: on-failure diff --git a/pom.xml b/pom.xml index a3990bbbc..04d42b15c 100644 --- a/pom.xml +++ b/pom.xml @@ -248,7 +248,7 @@ -Djava.security.egd=file:/dev/./urandom -Djdk.serialSetFilterAfterRead=true - EPOCH + USE_CURRENT_TIMESTAMP diff --git a/shogun-boot/pom.xml b/shogun-boot/pom.xml index 1d07f3fa8..4e55388f8 100644 --- a/shogun-boot/pom.xml +++ b/shogun-boot/pom.xml @@ -176,11 +176,26 @@ - pl.project13.maven - git-commit-id-plugin + io.github.git-commit-id + git-commit-id-maven-plugin + 5.0.0 + + + get-the-git-infos + + revision + + initialize + + - true - 8 + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full diff --git a/shogun-config/pom.xml b/shogun-config/pom.xml index 1d398c3c5..51b1d0dbf 100644 --- a/shogun-config/pom.xml +++ b/shogun-config/pom.xml @@ -30,8 +30,24 @@ SHOGun Config jar - + + + + org.apache.maven.plugins + maven-compiler-plugin + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + + org.springframework.boot diff --git a/shogun-gs-interceptor/pom.xml b/shogun-gs-interceptor/pom.xml index 852b5170f..6cfb242a5 100644 --- a/shogun-gs-interceptor/pom.xml +++ b/shogun-gs-interceptor/pom.xml @@ -144,14 +144,7 @@ - - pl.project13.maven - git-commit-id-plugin - - true - 8 - - + com.google.cloud.tools jib-maven-plugin diff --git a/shogun-lib/pom.xml b/shogun-lib/pom.xml index db18ab20c..e8664f0a7 100644 --- a/shogun-lib/pom.xml +++ b/shogun-lib/pom.xml @@ -36,6 +36,14 @@ org.apache.maven.plugins maven-compiler-plugin + + com.google.cloud.tools + jib-maven-plugin + + + true + + diff --git a/shogun-manager/pom.xml b/shogun-manager/pom.xml index bca5bd8a0..4577dc62e 100644 --- a/shogun-manager/pom.xml +++ b/shogun-manager/pom.xml @@ -28,6 +28,23 @@ SHOGun Manager client jar + + + + org.apache.maven.plugins + maven-compiler-plugin + + + com.google.cloud.tools + jib-maven-plugin + + + true + + + + + de.terrestris diff --git a/shogun-proxy/pom.xml b/shogun-proxy/pom.xml index c2ab6367d..f19fb11bd 100644 --- a/shogun-proxy/pom.xml +++ b/shogun-proxy/pom.xml @@ -123,11 +123,26 @@ - pl.project13.maven - git-commit-id-plugin + io.github.git-commit-id + git-commit-id-maven-plugin + 5.0.0 + + + get-the-git-infos + + revision + + initialize + + - true - 8 + true + ${project.build.outputDirectory}/git.properties + + ^git.build.(time|version)$ + ^git.commit.id.(abbrev|full)$ + + full