Skip to content

Commit

Permalink
Merge pull request #64 from oskariorg/java17
Browse files Browse the repository at this point in the history
Merge Java 17 changes to develop
  • Loading branch information
ZakarFin authored Jan 29, 2025
2 parents 02855bd + 2d79de6 commit 0ca9d7c
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
java: ['8', '11']
java: ['17']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion app-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.oskari.demo</groupId>
<artifactId>server-extension</artifactId>
<version>1.29.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>app-resources</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flyway.example;
package flyway.app;

import org.oskari.helpers.AppSetupHelper;
import org.flywaydb.core.api.migration.BaseJavaMigration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flyway.example;
package flyway.app;

import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flyway.example;
package flyway.app;

import fi.nls.oskari.domain.Role;
import fi.nls.oskari.domain.User;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flyway.example;
package flyway.app;

import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package flyway.example;
package flyway.app;

import fi.nls.oskari.domain.map.view.Bundle;
import org.flywaydb.core.api.migration.BaseJavaMigration;
Expand Down
9 changes: 1 addition & 8 deletions app-specific-code/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.oskari.demo</groupId>
<artifactId>server-extension</artifactId>
<version>1.29.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>app-specific-code</artifactId>

Expand All @@ -15,12 +15,5 @@
<groupId>org.oskari</groupId>
<artifactId>control-base</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

</dependencies>
</project>
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.oskari.demo</groupId>
<artifactId>server-extension</artifactId>
<version>1.29.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>demo.oskari.org</name>

<properties>
<oskari.version>2.15.0-SNAPSHOT</oskari.version>
<oskari.version>3.0.0-SNAPSHOT</oskari.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.8</java.version>
<java.version>17</java.version>
</properties>

<repositories>
Expand Down Expand Up @@ -45,7 +45,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
Expand All @@ -54,15 +54,15 @@

<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.11</version>
<version>2.9.1</version>
<configuration>
<projectType>application</projectType>
<schemaVersion>1.4</schemaVersion>
Expand Down
2 changes: 1 addition & 1 deletion webapp-map/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.oskari.demo</groupId>
<artifactId>server-extension</artifactId>
<version>1.29.0-SNAPSHOT</version>
<version>2.0.0-SNAPSHOT</version>
</parent>

<artifactId>webapp-map</artifactId>
Expand Down

0 comments on commit 0ca9d7c

Please sign in to comment.