Skip to content

Commit

Permalink
Avoid running annotation-related tests on Windows for Java 17 as they…
Browse files Browse the repository at this point in the history
… fail on CI.
  • Loading branch information
raphw committed Aug 10, 2023
1 parent c0fbd7f commit 5e3f7fc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions byte-buddy-dep/pom.xml
Expand Up @@ -259,6 +259,35 @@
</plugins>
</build>
</profile>
<profile>
<id>build-java-17-windows</id>
<activation>
<activeByDefault>false</activeByDefault>
<jdk>17</jdk>
<os>
<family>Windows</family>
</os>
</activation>
<build>
<plugins>
<!-- Avoids occasional segfault. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.plugin.surefire}</version>
<configuration>
<excludes>
<exclude>net.bytebuddy.description.type.TypeDescriptionArrayProjectionTest</exclude>
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionForLoadedAnnotationTest</exclude>
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionForLoadedAnnotationDifferentClassLoaderTest</exclude>
<exclude>net.bytebuddy.description.annotation.AnnotationDescriptionLatentTest</exclude>
<exclude>net.bytebuddy.pool.TypePoolDefaultAnnotationDescriptionTest</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>extras</id>
<activation>
Expand Down

0 comments on commit 5e3f7fc

Please sign in to comment.