Skip to content

Commit

Permalink
Use release javac option (strimzi#10368)
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Valeri <[email protected]>
  • Loading branch information
fvaleri authored Jul 22, 2024
1 parent 049eed1 commit 000b202
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
</licenses>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- No Javadocs warnings as errors here => we do not want to fail because of warnings -->
<javadoc.fail.on.warnings>false</javadoc.fail.on.warnings>
Expand Down
3 changes: 1 addition & 2 deletions crd-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<artifactId>crd-annotations</artifactId>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- Points to the root directory of the Strimzi project directory and can be used for fixed location to configuration files -->
<strimziRootDirectory>${basedir}${file.separator}..</strimziRootDirectory>
Expand Down
3 changes: 1 addition & 2 deletions crd-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
</licenses>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- Points to the root directory of the Strimzi project directory and can be used for fixed location to configuration files -->
<strimziRootDirectory>${basedir}${file.separator}..</strimziRootDirectory>
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>

<!-- Configures if we should fail on warnings when generating Javadocs -->
<javadoc.fail.on.warnings>true</javadoc.fail.on.warnings>
Expand Down
3 changes: 1 addition & 2 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<artifactId>test</artifactId>

<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>

<!-- Points to the root directory of the Strimzi project directory and can be used for fixed location to configuration files -->
<strimziRootDirectory>${basedir}${file.separator}..</strimziRootDirectory>
Expand Down

0 comments on commit 000b202

Please sign in to comment.