Skip to content

Commit

Permalink
Update compiler configuration in pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Mar 2, 2025
1 parent 0ca170f commit 10697f3
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,18 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<phase>test-compile</phase>
Expand All @@ -223,7 +230,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand Down Expand Up @@ -417,7 +423,7 @@
</execution>
</executions>
<configuration>
<source>8</source>
<source>${java.version}</source>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit 10697f3

Please sign in to comment.