Skip to content

Commit 286b5d9

Browse files
committed
Compile test sources against Java 1.8
1 parent c18cdeb commit 286b5d9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

mrbean/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@ ${project.groupId}.mrbean.*;version=${project.version}
5151
<artifactId>replacer</artifactId>
5252
</plugin>
5353

54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-compiler-plugin</artifactId>
57+
<configuration>
58+
<!-- Enable testing with Java 8 features, especially default methods in interfaces -->
59+
<testSource>1.8</testSource>
60+
<testTarget>1.8</testTarget>
61+
</configuration>
62+
</plugin>
63+
5464
<plugin>
5565
<!-- We will shade ASM, to simplify deployment, avoid version conflicts -->
5666
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)