Skip to content

Commit

Permalink
OPENNLP-1609: Bump com.ginsberg:junit5-system-exit from 1.1.2 to 2.0.0 (
Browse files Browse the repository at this point in the history
#650)

* Bump com.ginsberg:junit5-system-exit from 1.1.2 to 2.0.0

Bumps [com.ginsberg:junit5-system-exit](https://github.com/tginsberg/junit5-system-exit) from 1.1.2 to 2.0.0.
- [Release notes](https://github.com/tginsberg/junit5-system-exit/releases)
- [Changelog](https://github.com/tginsberg/junit5-system-exit/blob/master/CHANGELOG.md)
- [Commits](tginsberg/junit5-system-exit@v.1.1.2...v2.0.0)

---
updated-dependencies:
- dependency-name: com.ginsberg:junit5-system-exit
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Use system exit java agent correctly. Remove unneeded Java 18+ profile (as the issue is circumvented by using a custom java agent)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Richard Zowalla <rzo1@apache.org>
  • Loading branch information
dependabot[bot] and rzo1 authored Sep 23, 2024
1 parent 88b4f6f commit e0e692e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 29 deletions.
46 changes: 17 additions & 29 deletions opennlp-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>com.ginsberg</groupId>
<artifactId>junit5-system-exit</artifactId>
<version>1.1.2</version>
<version>${junit5-system-exit.version}</version>
<scope>test</scope>
</dependency>

Expand Down Expand Up @@ -116,38 +116,26 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin}</version>
<configuration>
<argLine>-Xmx2048m -Dorg.slf4j.simpleLogger.defaultLogLevel=off -javaagent:${settings.localRepository}/com/ginsberg/junit5-system-exit/${junit5-system-exit.version}/junit5-system-exit-${junit5-system-exit.version}.jar</argLine>
<forkCount>${opennlp.forkCount}</forkCount>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<excludes>
<exclude>**/stemmer/*</exclude>
<exclude>**/stemmer/snowball/*</exclude>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>jdk18+</id>
<activation>
<jdk>[18,]</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin}</version>
<configuration>
<argLine>-Xmx2048m -Djava.security.manager=allow -Dorg.slf4j.simpleLogger.defaultLogLevel=off</argLine>
<forkCount>${opennlp.forkCount}</forkCount>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<excludes>
<exclude>**/stemmer/*</exclude>
<exclude>**/stemmer/snowball/*</exclude>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>

<profile>
<id>jmh</id>
<dependencies>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@
<classgraph.version>4.8.175</classgraph.version>
<opennlp.models.version>1.0.1</opennlp.models.version>
<opennlp.forkCount>1.0C</opennlp.forkCount>
<junit5-system-exit.version>2.0.0</junit5-system-exit.version>
<coveralls.maven.plugin>4.3.0</coveralls.maven.plugin>
<jacoco.maven.plugin>0.8.12</jacoco.maven.plugin>
<maven.surefire.plugin>3.2.2</maven.surefire.plugin>
Expand Down

0 comments on commit e0e692e

Please sign in to comment.