Skip to content

Commit

Permalink
Add maven compiler plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
evg-tso committed Sep 15, 2024
1 parent 9e3101c commit ba5e6d9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
</scm>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<opentelemetry.version>1.24.0</opentelemetry.version>
Expand Down Expand Up @@ -97,6 +99,23 @@
</dependency>
</dependencies>

<build>
<pluginManagement>
<plugins>
<!-- Maven Compiler Plugin for Java 8+ -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

<distributionManagement>
<snapshotRepository>
<id>github</id>
Expand Down

0 comments on commit ba5e6d9

Please sign in to comment.