rvesse opened a new issue, #2593: URL: https://github.com/apache/jena/issues/2593
### Version 5.1.0 ### What happened? In upgrading a $dayjob project to Apache Jena 5.1.0 some of our modules starting failing test coverage checks, on investigation it was spotted that no tests were running because for some reason Maven Surefire was selecting JUnit rather than TestNG as the test framework so our tests weren't being detected. Inspecting the `mvn dependency:tree` output showed that ARQ had unintentionally leaked this dependency into compile scope PR to fix incoming ### Relevant output and stacktrace ```shell mvn dependency:tree -pl :jaxrs-base-server -Dincludes=org.junit.platform [INFO] Scanning for projects... [INFO] Inspecting build with total of 1 modules... [INFO] Installing Nexus Staging features: [INFO] ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin [INFO] [INFO] -------------< io.telicent.smart-caches:jaxrs-base-server >------------- [INFO] Building Telicent Smart Caches - JAX-RS Base Server 0.21.2-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:3.7.1:tree (default-cli) @ jaxrs-base-server --- [INFO] io.telicent.smart-caches:jaxrs-base-server:jar:0.21.2-SNAPSHOT [INFO] \- io.telicent.jena:rdf-abac-core:jar:0.71.2:compile [INFO] \- org.apache.jena:apache-jena-libs:pom:5.1.0:compile [INFO] \- org.apache.jena:jena-rdfpatch:jar:5.1.0:compile [INFO] \- org.apache.jena:jena-arq:jar:5.1.0:compile [INFO] \- org.junit.platform:junit-platform-suite-engine:jar:1.10.3:compile [INFO] +- org.junit.platform:junit-platform-engine:jar:1.10.3:compile [INFO] | \- org.junit.platform:junit-platform-commons:jar:1.10.3:compile [INFO] +- org.junit.platform:junit-platform-suite-api:jar:1.10.3:compile [INFO] \- org.junit.platform:junit-platform-suite-commons:jar:1.10.3:runtime [INFO] \- org.junit.platform:junit-platform-launcher:jar:1.10.3:runtime ``` ### Are you interested in making a pull request? Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
