Skip to content

Commit

Permalink
- java version 17 -> 21
Browse files Browse the repository at this point in the history
- Kotlin version 1.7.20 -> 1.9.21
  • Loading branch information
MichiBaum committed Dec 22, 2023
1 parent 36500e3 commit dd5d999
Show file tree
Hide file tree
Showing 13 changed files with 45 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'

- name: Generate Javadoc
run: mvn javadoc:aggregate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
java-version: '21'
- name: Maven clean install
run: mvn clean install -DdockerHub.username=${{secrets.DOCKER_USERNAME}} -DdockerHub.password=${{secrets.DOCKER_PASSWORD}}
- name: Build and analyze
Expand Down
6 changes: 3 additions & 3 deletions admin-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<parent>
<groupId>com.michibaum</groupId>
<artifactId>microservice</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>admin-service</artifactId>
<name>admin-service</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions authentication-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>authentication-library</artifactId>
<name>authentication-library</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
10 changes: 5 additions & 5 deletions authentication-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</parent>

<artifactId>authentication-service</artifactId>
<name>authentication-service</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -79,12 +79,12 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</dependency>
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>usermanagement-library</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</dependency>

</dependencies>
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '3.7'
services:

registry-service:
image: 70131370/registry-service:1.0.0-TEST-5
image: 70131370/registry-service:1.0.0-TEST-6
restart: always
environment:
spring_profiles_active: prod
Expand All @@ -13,7 +13,7 @@ services:
- microservice-network

admin-service:
image: 70131370/admin-service:1.0.0-TEST-5
image: 70131370/admin-service:1.0.0-TEST-6
restart: always
depends_on:
- registry-service
Expand All @@ -25,7 +25,7 @@ services:
- microservice-network

javadoc-service:
image: 70131370/javadoc-service:1.0.0-TEST-5
image: 70131370/javadoc-service:1.0.0-TEST-6
restart: always
depends_on:
- registry-service
Expand All @@ -37,7 +37,7 @@ services:
- microservice-network

authentication-service:
image: 70131370/authentication-service:1.0.0-TEST-5
image: 70131370/authentication-service:1.0.0-TEST-6
restart: always
depends_on:
- registry-service
Expand All @@ -61,7 +61,7 @@ services:
- /data/authentication-db:/var/lib/mysql

usermanagement-service:
image: 70131370/usermanagement-service:1.0.0-TEST-5
image: 70131370/usermanagement-service:1.0.0-TEST-6
restart: always
depends_on:
- registry-service
Expand All @@ -88,7 +88,7 @@ services:
- /data/usermanagement-db:/var/lib/mysql

gateway-service:
image: 70131370/gateway-service:1.0.0-TEST-5
image: 70131370/gateway-service:1.0.0-TEST-6
restart: always
depends_on:
- registry-service
Expand Down
4 changes: 2 additions & 2 deletions gateway-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>permission-library</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</dependency>

</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions javadoc-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>javadoc-service</artifactId>
<name>javadoc-service</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions permission-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>permission-library</artifactId>
<name>permission-library</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.michibaum</groupId>
<artifactId>microservice</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<packaging>pom</packaging>
<name>microservice</name>

Expand All @@ -19,10 +19,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spring-cloud.version>2023.0.0</spring-cloud.version>
<spring-boot-admin.version>3.1.8</spring-boot-admin.version>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<kotlin.version>1.7.20</kotlin.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<java.version>21</java.version>
<kotlin.version>1.9.21</kotlin.version>

<!-- Docker Hub -->
<dockerHub.url>https://registry.hub.docker.com</dockerHub.url>
Expand Down
6 changes: 3 additions & 3 deletions registry-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>registry-service</artifactId>
<name>registry-service</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions usermanagement-library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</parent>

<artifactId>usermanagement-library</artifactId>
<name>usermanagement-library</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down
10 changes: 5 additions & 5 deletions usermanagement-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
<parent>
<artifactId>microservice</artifactId>
<groupId>com.michibaum</groupId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</parent>

<artifactId>usermanagement-service</artifactId>
<name>usermanagement-service</name>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
</properties>

<dependencies>
Expand Down Expand Up @@ -69,13 +69,13 @@
<dependency>
<groupId>com.michibaum</groupId>
<artifactId>usermanagement-library</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</dependency>

<dependency>
<groupId>com.michibaum</groupId>
<artifactId>authentication-library</artifactId>
<version>1.0.0-TEST-5</version>
<version>1.0.0-TEST-6</version>
</dependency>

</dependencies>
Expand Down

0 comments on commit dd5d999

Please sign in to comment.