[
https://issues.apache.org/jira/browse/AXIS2-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Lazarski resolved AXIS2-6089.
------------------------------------
Resolution: Implemented
Thanks for mentioning this - someone else already noticed it via a GitHub PR
however the issue was not in Jira yet.
See below:
commit 75e699705bc45e1c2b166090746f0338d042b632
Merge: 250153e034 6dbb0495c9
Author: robertlazarski <[email protected]>
Date: Thu Mar 20 06:42:44 2025 -1000
Merge pull request #892 from czpilar/kernel-junit-test-scope
junit dependency should be in test scope
> Axis2 2.0.0 - axis2-kernel dependency on "junit" (4) as non-test dependency
> ---------------------------------------------------------------------------
>
> Key: AXIS2-6089
> URL: https://issues.apache.org/jira/browse/AXIS2-6089
> Project: Axis2
> Issue Type: Bug
> Components: kernel
> Affects Versions: 2.0.0
> Reporter: Jeff Thomas
> Priority: Major
>
> The Axis2 module 'axis2-kernel' brings in JUnit to all usages as a non-test
> dependency.
> Here the "test" scope is commented out.
> {code:java}
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <!--
> <scope>test</scope>
> -->
> </dependency> {code}
> It can't be right that junit gets pulled in as a transitive compile/runtime
> dependency everytime axis2-kernel is used.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]