Skip to content

Commit

Permalink
Merge pull request #7 from exxcellent/feat/wheaterdata-java17
Browse files Browse the repository at this point in the history
upgrade to java 17
  • Loading branch information
wolfgang-janz authored Sep 8, 2023
2 parents cb3e3c9 + f6f712a commit 9646e02
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 42 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn --batch-mode --update-snapshots verify
26 changes: 0 additions & 26 deletions .gitlab-ci.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Your solution should focus on **maintainability**, **reusability** and
== Getting started

=== Install Java
For this project, the Java Development Kit 11 or above is required. You can download it from https://adoptopenjdk.net/.
For this project, the Java Development Kit 17 or above is required. You can download it from https://adoptopenjdk.net/.

=== Getting a copy
The starting point for every challenge is provided as a branch in a Gitlab.com/GitHub
Expand Down
12 changes: 4 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>de.exxcellent</groupId>
<artifactId>challenge</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1-SNAPSHOT</version>

<name>weather</name>
<description>eXXcellent programming challenge</description>
Expand All @@ -15,30 +15,26 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.1.2</version>
</plugin>
</plugins>
</build>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<exec.mainClass>de.exxcellent.challenge.App</exec.mainClass>
<maven.compiler.source>1.11</maven.compiler.source>
<maven.compiler.target>1.11</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
</properties>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.8.0-M1</version>
<version>5.9.3</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 9646e02

Please sign in to comment.