Skip to content

Commit cdb21e9

Browse files
committed
Test that the Java agent works on all new Java versions
1 parent 6c5e85e commit cdb21e9

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

end-to-end-tests/pom.xml

+16
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,22 @@
146146
</build>
147147
</profile>
148148

149+
<profile>
150+
<id>noToolchain</id>
151+
<build>
152+
<plugins>
153+
<plugin>
154+
<artifactId>maven-toolchains-plugin</artifactId>
155+
<executions>
156+
<execution>
157+
<phase>none</phase>
158+
</execution>
159+
</executions>
160+
</plugin>
161+
</plugins>
162+
</build>
163+
</profile>
164+
149165
<profile>
150166
<id>eclipse</id>
151167
<build>

scripts/build.sh

+12
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,15 @@ JAVA_HOME="$JAVA10_HOME" mvn clean verify \
4848
--errors
4949
JAVA_HOME="$JAVA11_HOME" mvn clean verify \
5050
--errors
51+
52+
# Make sure that the Java agent works on all new Java versions
53+
54+
JAVA_HOME="$JAVA9_HOME" mvn clean verify \
55+
--errors \
56+
-P fork,noToolchain
57+
JAVA_HOME="$JAVA10_HOME" mvn clean verify \
58+
--errors \
59+
-P fork,noToolchain
60+
JAVA_HOME="$JAVA11_HOME" mvn clean verify \
61+
--errors \
62+
-P fork,noToolchain

0 commit comments

Comments
 (0)