Migrate to java 17 (#25)

* java 17 experimental

* bump shared resource

* bump workflow

* bump shared resource

* bump version

* bump shared resource version

* use spring boot 3

* use spring boot 3

* add maven central

* Revert "add maven central"

This reverts commit 7b4245a197.

* Revert "use spring boot 3"

This reverts commit 85331b2181.

* Revert "use spring boot 3"

This reverts commit 8fc397e2e0.

* bump version

* bump

* bump java service dependencies

* Bump deps (#40)

* fix github action

* fix github action [2]

* fix tabulation

Co-authored-by: Anatoly Karlov <karleowne@gmail.com>
Co-authored-by: Egor Cherniak <cherniak3@yandex.ru>
This commit is contained in:
vitaxa 2022-11-17 19:05:09 +03:00 committed by GitHub
parent 4f4053f247
commit 544c833fad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 6 deletions

View File

@ -7,4 +7,4 @@ on:
jobs:
build:
uses: valitydev/java-workflow/.github/workflows/maven-library-build.yml@v1
uses: valitydev/java-workflow/.github/workflows/maven-library-build.yml@v2

View File

@ -8,7 +8,7 @@ on:
jobs:
deploy:
uses: valitydev/java-workflow/.github/workflows/maven-library-deploy.yml@v1
uses: valitydev/java-workflow/.github/workflows/maven-library-deploy.yml@v2
secrets:
server-username: ${{ secrets.OSSRH_USERNAME }}
server-password: ${{ secrets.OSSRH_TOKEN }}

10
pom.xml
View File

@ -11,7 +11,7 @@
<groupId>dev.vality</groupId>
<artifactId>service-parent-pom</artifactId>
<version>1.0.20</version>
<version>2.0.0</version>
<name>Vality parent</name>
<description>Vality library parent pom</description>
@ -40,6 +40,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<pubRepoId>ossrh</pubRepoId>
<pubRepo>https://s01.oss.sonatype.org/content/repositories/releases</pubRepo>
<pubSnapRepoId>ossrh</pubSnapRepoId>
@ -53,7 +55,7 @@
https://raw.githubusercontent.com/valitydev/java-checkstyle-config/master/conf/checkstyle-suppressions.xml
</checkstyle.config.suppressions.path>
<dockerfile.base.service.tag>c0612d6052ac049496b72a23a04acb142035f249</dockerfile.base.service.tag>
<shared-resources.version>1.0.1</shared-resources.version>
<shared-resources.version>2.0.0</shared-resources.version>
<woody.version>1.0.4</woody.version>
</properties>
@ -341,8 +343,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>15</source>
<target>15</target>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
</plugins>