Browse Source

ZOOKEEPER-720. Use zookeeper-{version}-sources.jar instead of zookeeper-{version}-src.jar to publish sources in the Maven repository

git-svn-id: https://svn.apache.org/repos/asf/hadoop/zookeeper/trunk@933102 13f79535-47bb-0310-9956-ffa450edef68
Patrick D. Hunt 15 years ago
parent
commit
7ac6891efb
3 changed files with 15 additions and 11 deletions
  1. 4 0
      CHANGES.txt
  2. 6 6
      README.txt
  3. 5 5
      build.xml

+ 4 - 0
CHANGES.txt

@@ -11,6 +11,10 @@ BUGFIXES:
   ZOOKEEPER-735. cppunit test testipv6 assumes that the machine is ipv6
   enabled. (mahadev)
 
+  ZOOKEEPER-720. Use zookeeper-{version}-sources.jar instead of
+  zookeeper-{version}-src.jar to publish sources in the Maven repository
+  (paolo via phunt)
+
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 
   (phunt via mahadev)

+ 6 - 6
README.txt

@@ -21,12 +21,12 @@ zookeeper-<version>.jar         - legacy jar file which contains all classes
                                   a result
 
 zookeeper-<version>-bin.jar     - contains only class (*.class) files
-zookeeper-<version>-src.jar     - contains only src (*.java) files
+zookeeper-<version>-sources.jar - contains only src (*.java) files
 zookeeper-<version>-javadoc.jar - contains only javadoc files
 
-The bin/src/javadoc jars were added specifically to support Maven/Ivy which have the
-ability to pull these down automatically as part of your build process. The content
-of the legacy jar and the bin+src jar are the same.
+The bin/src/javadoc jars were added specifically to support Maven/Ivy which have 
+the ability to pull these down automatically as part of your build process. 
+The content of the legacy jar and the bin+sources jar are the same.
 
-As of version 3.3.0 bin/src/javadoc jars are deployed to the Apache Maven repository.
-  http://people.apache.org/repo/m2-ibiblio-rsync-repository/
+As of version 3.3.0 bin/sources/javadoc jars are deployed to the Apache Maven 
+repository: http://people.apache.org/repo/m2-ibiblio-rsync-repository/

+ 5 - 5
build.xml

@@ -511,10 +511,10 @@
     </target>
 
 	<!-- ====================================================== -->
-    <!-- Make zookeeper-src.jar                                 -->
+    <!-- Make zookeeper-sources.jar                                 -->
     <!-- ====================================================== -->
     <target name="src-jar" depends="build-generated">
-        <jar jarfile="${build.dir}/${final.name}-src.jar">
+        <jar jarfile="${build.dir}/${final.name}-sources.jar">
             <fileset file="LICENSE.txt" />
             <fileset dir="${java.src.dir}"/>
             <fileset dir="${src_generated.dir}" excludes="**/.generated"/>
@@ -583,7 +583,7 @@
       <copy todir="${dist.dir}"> 
         <fileset file="${build.dir}/${final.name}.jar"/>
         <fileset file="${build.dir}/${final.name}-bin.jar"/>
-        <fileset file="${build.dir}/${final.name}-src.jar"/>
+        <fileset file="${build.dir}/${final.name}-sources.jar"/>
         <fileset file="${build.dir}/${final.name}-javadoc.jar"/>
       </copy>
       
@@ -591,8 +591,8 @@
       <checksum file="${dist.dir}/${final.name}.jar" algorithm="sha1"/>
       <checksum file="${dist.dir}/${final.name}-bin.jar" algorithm="md5"/>
       <checksum file="${dist.dir}/${final.name}-bin.jar" algorithm="sha1"/>
-      <checksum file="${dist.dir}/${final.name}-src.jar" algorithm="md5"/>
-      <checksum file="${dist.dir}/${final.name}-src.jar" algorithm="sha1"/>
+      <checksum file="${dist.dir}/${final.name}-sources.jar" algorithm="md5"/>
+      <checksum file="${dist.dir}/${final.name}-sources.jar" algorithm="sha1"/>
       <checksum file="${dist.dir}/${final.name}-javadoc.jar" algorithm="md5"/>
       <checksum file="${dist.dir}/${final.name}-javadoc.jar" algorithm="sha1"/>