Skip to content

Commit

Permalink
build(deps): bump com.tngtech.archunit:archunit-junit5 from 1.2.1 to …
Browse files Browse the repository at this point in the history
…1.3.0
  • Loading branch information
kkriske authored Apr 22, 2024
1 parent 1820d76 commit 9e4a9df
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>5.10.2</junit.version>
<surefire.version>3.2.5</surefire.version>
<archunit.version>1.3.0</archunit.version>
<graalvm.version>24.0.0</graalvm.version>
<java9.sourceDirectory>${project.basedir}/src/main/java9</java9.sourceDirectory>
</properties>
Expand Down Expand Up @@ -351,15 +352,6 @@
<configuration>
<fallback>false</fallback>
<verbose>true</verbose>
<buildArgs>
<!--
ArchUnit tests don't run in native-image tests.
Remove the ArchUnit JUnit Engine from the ServiceLoader.
-->
<buildArg>
-H:ServiceLoaderFeatureExcludeServiceProviders=com.tngtech.archunit.junit.internal.ArchUnitTestEngine
</buildArg>
</buildArgs>
</configuration>
</plugin>

Expand All @@ -371,13 +363,30 @@
<excludes>
<!-- Cannot run in native mode, classes under test cannot be found, class path is empty -->
<exclude>**/MultipleClassLoaderTest.java</exclude>
<!-- Not needed -->
<exclude>**/architecture/*.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>${archunit.version}</version>
<scope>test</scope>
<exclusions>
<!--
ArchUnit tests don't run in native-image tests.
Remove the ArchUnit JUnit Engine entirely from the dependency graph thus from the ServiceLoader.
-->
<exclusion>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</profile>
<profile>
<id>native-exported</id>
Expand Down Expand Up @@ -451,7 +460,7 @@
<dependency>
<groupId>com.tngtech.archunit</groupId>
<artifactId>archunit-junit5</artifactId>
<version>1.2.1</version>
<version>${archunit.version}</version>
<scope>test</scope>
</dependency>
<!-- Required by archunit -->
Expand Down

0 comments on commit 9e4a9df

Please sign in to comment.