This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch add-junit-to-api in repository https://gitbox.apache.org/repos/asf/opennlp.git
commit 27c1d71bd179e39ca7bed9aed205022d62389524 Author: Richard Zowalla <[email protected]> AuthorDate: Fri Jun 20 16:24:27 2025 +0200 Add JUnit 5 dependency to API module as it is needed see " Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.5.3:test (default-test) on project opennlp-api: groups/excludedGroups require TestNG, JUnit48+ or JUnit 5 (a specific engine required on classpath) on project test classpath" --- opennlp-api/pom.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/opennlp-api/pom.xml b/opennlp-api/pom.xml index ae9a91a7..b89ee4cb 100644 --- a/opennlp-api/pom.xml +++ b/opennlp-api/pom.xml @@ -39,6 +39,18 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-api</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter-engine</artifactId> + <scope>test</scope> + </dependency> </dependencies> </project> \ No newline at end of file
