| Summary: | Jacorb (core) pom exposes slf4j-jdk14 as a compile time dependency | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | David Gibbs <david.gibbs> |
| Component: | Configuration and Build | Assignee: | Mailinglist to track bugs <jacorb-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jacorb |
| Priority: | P5 | ||
| Version: | 3.6.1 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
David Gibbs
2015-08-19 05:42:07 UTC
I think it would be feasible to change it to runtime scope (https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Scope) (and suitably alter the demos to pass the correct classpath). Would this satisfy your use-case? Fixed by 996859447b02e425317184a463f62baa908051ab Hi Nick, very sorry I did not see your comment earlier, much earlier. I think that slf4j-jdk14 is not a runtime dependency of jacorb. It's a runtime dependency of the example applications. If the scope is "runtime" then applications using jacorb will have a transitive runtime dependency on slf4j-jdk14 and still require the exclusions. slf4j complains when runtime conflicts arise with other logging implementations. If the tests depend on the slf4j-jdk14 logging implementation then it would be reasonable for it to be of scope "test". I would suggest * making slf4j-jdk14 of scope "test" or removing it from dependency management * adding slf4j-jdk14 with scope "runtime" to the example applications" thanks Dave Ok fiar point, there would be a conflict:
> I would suggest
> * making slf4j-jdk14 of scope "test" or removing it from dependency management
> * adding slf4j-jdk14 with scope "runtime" to the example applications"
How about removing slf4j-jdk14 from core/services and adding it as a dependency to the demos/tests?
SHA 0e85fb590ab53545ede629387c8fb290be663dab Hi Nick , I submitted a Pull request with very minor suggested differences. |