Skip to content

Commit

Permalink
Enable JDK 8 for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Aug 25, 2023
1 parent a20c74f commit 6b816c1
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,25 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<!-- parent pom 1.11 forces version instead of using property -->
<source>${jdkTarget}</source>
<target>${jdkTarget}</target>
<source>8</source>
<target>8</target>
</configuration>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<source>${jdkTarget}</source>
<target>${jdkTarget}</target>
</configuration>
</execution>
<execution>
<id>default-testCompile</id>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
Expand Down Expand Up @@ -364,17 +379,4 @@
</dependency>
</dependencies>

<profiles>
<profile>
<id>jdk15+</id>
<activation>
<jdk>[15,)</jdk>
</activation>
<properties>
<jdkTarget>1.7</jdkTarget>
<javadocSource>7</javadocSource>
</properties>
</profile>
</profiles>

</project>

0 comments on commit 6b816c1

Please sign in to comment.