The Jacorb (core) pom exposes slf4j-jdk14 as a compile dependency. This requires exclusion of slf4j-jdk14 in dependent projects. slf4j-jdk14 is not a compile dependency. mvn co-ordinates <dependency> <groupId>org.jacorb</groupId> <artifactId>jacorb</artifactId> <version>3.6.1</version> </dependency> Dependencies <dependencies> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-jdk14</artifactId> </dependency> <dependency> <groupId>org.jacorb</groupId> <artifactId>jacorb-omgapi</artifactId> </dependency> </dependencies>
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.