Skip to content

Commit

Permalink
Define dependency on surefire-junit4 so its downloaded during go-offl…
Browse files Browse the repository at this point in the history
…ine (java-native-access#119)

Motivation:

We need to explicit specify the surefire-junit5 dependency so it is downloaded for offline builds.

Modifications:

Add dependency section to plugin

Result:

Download dependency for offline builds
  • Loading branch information
normanmaurer authored Dec 20, 2020
1 parent 386727e commit 7e58a3e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,13 @@
<!-- Ensure the whole stacktrace is preserved when an exception is thrown. See https://issues.apache.org/jira/browse/SUREFIRE-1457 -->
<trimStackTrace>false</trimStackTrace>
</configuration>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>2.22.1</version>
</dependency>
</dependencies>
</plugin>
<!-- always produce osgi bundles -->
<plugin>
Expand Down Expand Up @@ -593,5 +600,11 @@
<version>1.1.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit4</artifactId>
<version>2.22.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

0 comments on commit 7e58a3e

Please sign in to comment.