Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Java 17 #528

Merged
merged 10 commits into from
Jul 21, 2023
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
java-version: 17

- name: Build with Maven
run: mvn --batch-mode -P jacoco,checks package
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<parent>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-parent</artifactId>
<version>9</version>
<version>11</version>
<relativePath/>
</parent>
<artifactId>powsybl-diagram</artifactId>
Expand Down Expand Up @@ -62,7 +62,7 @@
</modules>

<properties>
<java.version>11</java.version>
<java.version>17</java.version>

<sonar.coverage.jacoco.xmlReportPaths>
../distribution-diagram/target/site/jacoco-aggregate/jacoco.xml,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ void testFrenchFormatting() {
voltageLevelGraphLayout(g);

// write SVG and compare to reference
assertEquals(toString("/TestFormattingFeederInfos.svg"), toSVG(g, "/TestFormattingFeederInfos.svg"));
assertEquals(toString("/TestFormattingFeederInfosNNBSP.svg"), toSVG(g, "/TestFormattingFeederInfos.svg"));
So-Fras marked this conversation as resolved.
Show resolved Hide resolved
}

@Test
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.