Skip to content

Commit 5e3f7fc

Browse files
committed
Avoid running annotation-related tests on Windows for Java 17 as they fail on CI.
1 parent c0fbd7f commit 5e3f7fc

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

byte-buddy-dep/pom.xml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,35 @@
259259
</plugins>
260260
</build>
261261
</profile>
262+
<profile>
263+
<id>build-java-17-windows</id>
264+
<activation>
265+
<activeByDefault>false</activeByDefault>
266+
<jdk>17</jdk>
267+
<os>
268+
<family>Windows</family>
269+
</os>
270+
</activation>
271+
<build>
272+
<plugins>
273+
<!-- Avoids occasional segfault. -->
274+
<plugin>
275+
<groupId>org.apache.maven.plugins</groupId>
276+
<artifactId>maven-surefire-plugin</artifactId>
277+
<version>${version.plugin.surefire}</version>
278+
<configuration>
279+
<excludes>
280+
<exclude>net.bytebuddy.description.type.TypeDescriptionArrayProjectionTest</exclude>
281+
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionForLoadedAnnotationTest</exclude>
282+
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionForLoadedAnnotationDifferentClassLoaderTest</exclude>
283+
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionLatentTest</exclude>
284+
<exclude>net.bytebuddy.pool.TypePoolDefaultAnnotationDescriptionTest</exclude>
285+
</excludes>
286+
</configuration>
287+
</plugin>
288+
</plugins>
289+
</build>
290+
</profile>
262291
<profile>
263292
<id>extras</id>
264293
<activation>

0 commit comments

Comments
 (0)