You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by br...@apache.org on 2011/02/19 00:36:22 UTC

svn commit: r1072195 - in /zookeeper/branches/branch-3.3: CHANGES.txt build.xml src/contrib/bookkeeper/bookkeeper.pom src/contrib/bookkeeper/build.xml

Author: breed
Date: Fri Feb 18 23:36:22 2011
New Revision: 1072195

URL: http://svn.apache.org/viewvc?rev=1072195&view=rev
Log:
ZOOKEEPER-960. Publish BookKeeper jars into maven

Added:
    zookeeper/branches/branch-3.3/src/contrib/bookkeeper/bookkeeper.pom
Modified:
    zookeeper/branches/branch-3.3/CHANGES.txt
    zookeeper/branches/branch-3.3/build.xml
    zookeeper/branches/branch-3.3/src/contrib/bookkeeper/build.xml

Modified: zookeeper/branches/branch-3.3/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/CHANGES.txt?rev=1072195&r1=1072194&r2=1072195&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/CHANGES.txt (original)
+++ zookeeper/branches/branch-3.3/CHANGES.txt Fri Feb 18 23:36:22 2011
@@ -27,6 +27,8 @@ IMPROVEMENTS:
 
   ZOOKEEPER-465. Ledger size in bytes. (Flavio via mahadev)
 
+  ZOOKEEPER-960. Publish BookKeeper jars into maven. (mahadev via breed)
+
 Release 3.3.2 - 2010-11-04
 Backward compatible changes:
 

Modified: zookeeper/branches/branch-3.3/build.xml
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/build.xml?rev=1072195&r1=1072194&r2=1072195&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/build.xml (original)
+++ zookeeper/branches/branch-3.3/build.xml Fri Feb 18 23:36:22 2011
@@ -604,15 +604,22 @@
         <fileset file="${build.dir}/${final.name}-sources.jar"/>
         <fileset file="${build.dir}/${final.name}-javadoc.jar"/>
       </copy>
-      
+
+      <copy file="${dist.dir}/contrib/bookkeeper/${final.name}-bookkeeper.jar" 
+           tofile="${dist.maven.dir}/bookkeeper-${version}.jar"/>
+      <copy file="${contrib.dir}/bookkeeper/bookkeeper.pom"
+           tofile="${dist.maven.dir}/bookkeeper-${version}.pom"/>
       <checksum file="${dist.maven.dir}/${final.name}.jar" algorithm="md5"/>
       <checksum file="${dist.maven.dir}/${final.name}.jar" algorithm="sha1"/>
+      
+      <checksum file="${dist.maven.dir}/bookkeeper-${version}.jar" algorithm="md5"/>
+      <checksum file="${dist.maven.dir}/bookkeeper-${version}.jar" algorithm="sha1"/>
       <checksum file="${dist.maven.dir}/${final.name}-sources.jar" algorithm="md5"/>
       <checksum file="${dist.maven.dir}/${final.name}-sources.jar" algorithm="sha1"/>
       <checksum file="${dist.maven.dir}/${final.name}-javadoc.jar" algorithm="md5"/>
       <checksum file="${dist.maven.dir}/${final.name}-javadoc.jar" algorithm="sha1"/>
-
-      <ivy:makepom settingsRef="${ant.project.name}" ivyfile="${basedir}/ivy.xml"
+  
+      <ivy:makepom  ivyfile="${basedir}/ivy.xml"
                    pomfile="${dist.maven.dir}/${final.name}.pom">
         <mapping conf="default" scope="compile"/>
         <mapping conf="test" scope="test"/>
@@ -620,6 +627,8 @@
       <checksum file="${dist.maven.dir}/${final.name}.pom" algorithm="md5"/>
       <checksum file="${dist.maven.dir}/${final.name}.pom" algorithm="sha1"/>
 
+      <checksum file="${dist.maven.dir}/bookkeeper-${version}.pom" algorithm="md5"/>
+      <checksum file="${dist.maven.dir}/bookkeeper-${version}.pom" algorithm="sha1"/>
       <copy todir="${dist.dir}/bin">
         <fileset dir="bin"/>
       </copy>

Added: zookeeper/branches/branch-3.3/src/contrib/bookkeeper/bookkeeper.pom
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/contrib/bookkeeper/bookkeeper.pom?rev=1072195&view=auto
==============================================================================
--- zookeeper/branches/branch-3.3/src/contrib/bookkeeper/bookkeeper.pom (added)
+++ zookeeper/branches/branch-3.3/src/contrib/bookkeeper/bookkeeper.pom Fri Feb 18 23:36:22 2011
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Apache Maven 2 POM generated by Apache Ivy
+   http://ant.apache.org/ivy/
+   Apache Ivy version: 2.1.0 20090925235825
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.zookeeper</groupId>
+  <artifactId>bookkeeper</artifactId>
+  <packaging>jar</packaging>
+  <version>3.3.3</version>
+  <dependencies>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.15</version>
+      <scope>compile</scope>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>4.8.1</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-lang</groupId>
+      <artifactId>commons-lang</artifactId>
+      <version>2.4</version>
+      <optional>true</optional>
+    </dependency>
+    <dependency>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
+      <version>3.1</version>
+      <optional>true</optional>
+    </dependency>
+   
+    <dependency>
+      <groupId>org.jboss.netty</groupId>
+      <artifactId>netty</artifactId>
+      <version>3.1.5.GA</version>
+      <optional>true</optional>
+    </dependency>
+  </dependencies>
+</project>

Modified: zookeeper/branches/branch-3.3/src/contrib/bookkeeper/build.xml
URL: http://svn.apache.org/viewvc/zookeeper/branches/branch-3.3/src/contrib/bookkeeper/build.xml?rev=1072195&r1=1072194&r2=1072195&view=diff
==============================================================================
--- zookeeper/branches/branch-3.3/src/contrib/bookkeeper/build.xml (original)
+++ zookeeper/branches/branch-3.3/src/contrib/bookkeeper/build.xml Fri Feb 18 23:36:22 2011
@@ -18,7 +18,7 @@
 <project name="bookkeeper" default="jar">
   <import file="../build-contrib.xml"/>
 
-	<property name="test.build.dir" value="${build.test}" />
+    <property name="test.build.dir" value="${build.test}" />
     <property name="test.src.dir" value="test"/>
     <property name="test.log.dir" value="${test.build.dir}/logs" />
     <property name="test.data.dir" value="${test.build.dir}/data" />
@@ -138,7 +138,7 @@
     <copy todir="${dist.dir}/contrib/${name}/src">
       <fileset dir="${basedir}/src"/>
     </copy>
-  </target>
+   </target>
 
 </project>