commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Berger (JIRA)" <j...@apache.org>
Subject [jira] Created: (LOGGING-113) pom.xml in maven repository does not list dependencies as optional
Date Thu, 24 May 2007 11:41:16 GMT
pom.xml in maven repository does not list dependencies as optional
------------------------------------------------------------------

                 Key: LOGGING-113
                 URL: https://issues.apache.org/jira/browse/LOGGING-113
             Project: Commons Logging
          Issue Type: Improvement
    Affects Versions: 1.1.0
         Environment: maven 2
            Reporter: Max Berger
            Priority: Minor


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message