You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Kay Kay (JIRA)" <ji...@apache.org> on 2010/04/26 08:33:32 UTC

[jira] Created: (ZOOKEEPER-753) log4j dependency in the pom needs to have exclusion lists

log4j dependency in the pom needs to have exclusion lists
---------------------------------------------------------

                 Key: ZOOKEEPER-753
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-753
             Project: Zookeeper
          Issue Type: Bug
            Reporter: Kay Kay
             Fix For: 3.3.1


http://repo2.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom 

The pom contains log4j dependency as itself. 

  <dependency> 
      <groupId>log4j</groupId> 
      <artifactId>log4j</artifactId> 
      <version>1.2.15</version> 
      <scope>compile</scope> 
    </dependency> 

This is broken without an exclusion list, since the pending dependencies of javax.mail. etc. are not necessary for the most part. 

Please fix this along with 3.3.1 and republish new dependencies , since at its current state , it is usable by some projects (to host in central , say). 

Correct dependency for log4j: 


<dependency> 
      <groupId>log4j</groupId> 
      <artifactId>log4j</artifactId> 
      <version>1.2.15</version> 
      <scope>compile</scope> 
      <exclusions> 
        <exclusion> 
          <groupId>javax.mail</groupId> 
          <artifactId>mail</artifactId> 
        </exclusion> 
        <exclusion> 
          <groupId>javax.jms</groupId> 
          <artifactId>jms</artifactId> 
        </exclusion> 
        <exclusion> 
          <groupId>com.sun.jdmk</groupId> 
          <artifactId>jmxtools</artifactId> 
        </exclusion> 
        <exclusion> 
          <groupId>com.sun.jmx</groupId> 
          <artifactId>jmxri</artifactId> 
        </exclusion> 
      </exclusions> 
    </dependency> 


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


[jira] Updated: (ZOOKEEPER-753) log4j dependency in the pom needs to have exclusion lists

Posted by "Kay Kay (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kay Kay updated ZOOKEEPER-753:
------------------------------

    Fix Version/s: 3.4.0
                       (was: 3.3.1)

Reassigning versions to 3.4.0 , since a workaround is available, which is basically to paste another dependency of the log4j exclusion in the pom along with zookeeper. Not pleasant, but not urgent for the next minor release. 

It seems an ivy-mvn conversion is happening in zk. Need to work on the same to provide a patch to incorporate this later. 

> log4j dependency in the pom needs to have exclusion lists
> ---------------------------------------------------------
>
>                 Key: ZOOKEEPER-753
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-753
>             Project: Zookeeper
>          Issue Type: Bug
>            Reporter: Kay Kay
>             Fix For: 3.4.0
>
>
> http://repo2.maven.org/maven2/org/apache/hadoop/zookeeper/3.3.0/zookeeper-3.3.0.pom 
> The pom contains log4j dependency as itself. 
>   <dependency> 
>       <groupId>log4j</groupId> 
>       <artifactId>log4j</artifactId> 
>       <version>1.2.15</version> 
>       <scope>compile</scope> 
>     </dependency> 
> This is broken without an exclusion list, since the pending dependencies of javax.mail. etc. are not necessary for the most part. 
> Please fix this along with 3.3.1 and republish new dependencies , since at its current state , it is usable by some projects (to host in central , say). 
> Correct dependency for log4j: 
> <dependency> 
>       <groupId>log4j</groupId> 
>       <artifactId>log4j</artifactId> 
>       <version>1.2.15</version> 
>       <scope>compile</scope> 
>       <exclusions> 
>         <exclusion> 
>           <groupId>javax.mail</groupId> 
>           <artifactId>mail</artifactId> 
>         </exclusion> 
>         <exclusion> 
>           <groupId>javax.jms</groupId> 
>           <artifactId>jms</artifactId> 
>         </exclusion> 
>         <exclusion> 
>           <groupId>com.sun.jdmk</groupId> 
>           <artifactId>jmxtools</artifactId> 
>         </exclusion> 
>         <exclusion> 
>           <groupId>com.sun.jmx</groupId> 
>           <artifactId>jmxri</artifactId> 
>         </exclusion> 
>       </exclusions> 
>     </dependency> 

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