[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847688#action_12847688
 ] 

Paolo Castagna commented on ZOOKEEPER-224:
------------------------------------------

Where can I find the latest ZooKeeper release candidate?

The only Ant target which generates the pom.xml file is "package". I have 
removed the dependency on "create-cppunit-configure" just to see the pom.xml 
file generated by Ivy.

The pom.xml file generated by Ivy seems fine. The only problem I foresee is 
related to log4j, but everybody has that.

Ideally, you would like to have something like this in your pom.xml, however I 
do not know how to tell Ivy to generate this:

{code}
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.15</version>
      <exclusions>
        <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>
        <exclusion>
          <groupId>javax.mail</groupId>
          <artifactId>mail</artifactId>
        </exclusion>
      </exclusions> 
    </dependency>
{code}

A similar issue has been discussed here: 
https://issues.apache.org/jira/browse/HADOOP-6629 

About sources vs. src:

{code}
 "If you are not using Maven as your build system, and want something uploaded 
  to the Central Repository then you just need to make a bundle jar manually. 
  Please use the jar executable, not zip, pkzip or equivalent. The bundle 
  should have the following content:

    pom.xml
    foo-1.0.jar (or whatever artifact is referred to in the pom.xml)
    foo-1.0-sources.jar 
    foo-1.0-javadoc.jar"

  The names of the jar files inside the bundle must be built from the 
  <artifactId> and <version> in the pom.xml file, like this:

    ${artifactId}-${version}.jar
    ${artifactId}-${version}-sources.jar  
    ${artifactId}-${version}-javadoc.jar"
{code}

  -- http://maven.apache.org/guides/mini/guide-central-repository-upload.html

> Deploy ZooKeeper jars/artifacts to a Maven Repository
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-224
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-224
>             Project: Zookeeper
>          Issue Type: Task
>          Components: build
>    Affects Versions: 3.0.0
>            Reporter: Hiram Chirino
>            Assignee: Patrick Hunt
>            Priority: Critical
>             Fix For: 3.3.0
>
>
> I've created the maven poms needed for the 3.0.0 release.  
> The directory structure and artifacts located at:
> http://people.apache.org/~chirino/zk-repo/
> aka
> people.apache.org:/x1/users/chirino/public_html/zk-repo
> Just need sto get GPG signed by the project KEY and deployed to:
> people.apache.org:/www/people.apache.org/repo/m2-ibiblio-rsync-repository
> Who's the current ZooKeeper release manager?

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

Reply via email to