Skip to content

Commit

Permalink
bumped java to v17 an dupdated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Łukasz Włódarczyk committed Nov 22, 2024
1 parent 667f932 commit 7f0f205
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/test-app-sb-2x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<name>test-app</name>
<description>Dummy app for tests with spring-boot v2</description>
<properties>
<java.version>11</java.version>
<java.version>17</java.version>
<ngrok-spring-boot-starter.version>SNAPSHOT</ngrok-spring-boot-starter.version>
</properties>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion .github/test-app-sb-3x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.3</version>
<version>3.3.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>io.github.kilmajster</groupId>
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
<img align="center" src="https://img.shields.io/github/license/kilmajster/ngrok-spring-boot-starter?color=blue" alt="MIT license badge">
</a>
<br>
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions?query=workflow%3A%22CI+on+windows-latest%22">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/workflows/CI%20on%20windows-latest/badge.svg" alt="CI on Windows">
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-windows.yml">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-windows.yml/badge.svg" alt="CI on Windows">
</a>
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions?query=workflow%3A%22CI+on+ubuntu-latest%22">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/workflows/CI%20on%20ubuntu-latest/badge.svg" alt="CI on Ubuntu">
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-ubuntu.yml">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-ubuntu.yml/badge.svg" alt="CI on Ubuntu">
</a>
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions?query=workflow%3A%22CI+on+macos-latest%22">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/workflows/CI%20on%20macos-latest/badge.svg" alt="CI on MacOS">
<a href="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-macos.yml">
<img align="center" src="https://github.com/kilmajster/ngrok-spring-boot-starter/actions/workflows/automation-test-macos.yml/badge.svg" alt="CI on MacOS">
</a>
</h1>
<p align="center">
Expand All @@ -45,7 +45,9 @@ with the remote links, just like it's done below 👇
<img src="https://github.com/kilmajster/ngrok-spring-boot-starter/blob/main/.github/demo.gif" alt="demo gif">
</p>

Code of demo application available [here](https://github.com/kilmajster/demo).
Code of demo application is available
[here](https://github.com/kilmajster/ngrok-spring-boot-starter/tree/main/.github/test-app-sb-2x) for spring-boot v2 and
[here](https://github.com/kilmajster/ngrok-spring-boot-starter/tree/main/.github/test-app-sb-3x) for v3.

## Dependency
- maven:
Expand Down
75 changes: 38 additions & 37 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,26 +59,27 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
<version>3.3.5</version>
<relativePath/>
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<java.version>1.8</java.version>
<java.version>17</java.version>

<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.8.0</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>

<commons-io.version>2.16.1</commons-io.version>
<commons-lang3.version>3.15.0</commons-lang3.version>
<commons-io.version>2.18.0</commons-io.version>
<commons-lang3.version>3.17.0</commons-lang3.version>
<commons-compress.version>1.27.1</commons-compress.version>
<jackson-dataformat-yaml.version>2.17.2</jackson-dataformat-yaml.version>
<jackson-dataformat-yaml.version>2.18.1</jackson-dataformat-yaml.version>

<spring-cloud-contract-wiremock.version>4.1.4</spring-cloud-contract-wiremock.version>

<spring-cloud-contract-wiremock.version>3.1.10</spring-cloud-contract-wiremock.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
<maven-javadoc-plugin.version>3.11.1</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -155,40 +156,40 @@
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>

</build>

<profiles>
<profile>
<id>ossrh</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
Expand Down

0 comments on commit 7f0f205

Please sign in to comment.