Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
-
maven 2
Description
Dear Commons Logging Developers,
I don't know if this is the right place, but I have a problem with the maven 2 artifact for commons-logging, available at:
ftp://ibiblio.org/pub/packages/maven2/commons-logging/commons-logging/1.1/
ftp://ibiblio.org/pub/packages/maven2/commons-logging/commons-logging/1.1/commons-logging-1.1.pom
The pom lists avalon-framework, servlet-api, junit, log4j, logkit as REQUIRED dependencies, while instead they should be optional dependencies.
How to fix:
add <optional>true</optional> to all dependencies that are optional, e.g.
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
<optional>true</optional>
</dependency>
Thanks
Attachments
Issue Links
- duplicates
-
LOGGING-105 Implementation dependencies should be set to runtime scope
- Closed