Permalink
Browse files

HIVE-1729. Satisfy ASF release management requirements

(Carl Steinbach via jvs)



git-svn-id: https://svn.apache.org/repos/asf/hadoop/hive/trunk@1024432 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 7b0a1ba commit db2de92e23f970dd2a4e5bc2f8a32f6ab9dacf26 John Sichi committed Oct 19, 2010
Showing with 55 additions and 7 deletions.
  1. +3 −0 CHANGES.txt
  2. +1 −0 build-common.xml
  3. +5 −1 build.xml
  4. +1 −0 contrib/build.xml
  5. +1 −0 hbase-handler/build.xml
  6. +10 −1 hwi/build.xml
  7. +16 −3 lib/json-LICENSE.txt
  8. +10 −2 metastore/build.xml
  9. +8 −0 ql/build.xml
View
@@ -658,6 +658,9 @@ Release 0.6.0 - Unreleased
HIVE-1726. Update README file for 0.6.0 release
(Carl Steinbach via jvs)
+ HIVE-1729. Satisfy ASF release management requirements
+ (Carl Steinbach via jvs)
+
OPTIMIZATIONS
HIVE-1348. Move inputFileChanged() from ExecMapper to where it is needed
View
@@ -294,6 +294,7 @@
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="Apache"/>
</manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
</jar>
</target>
View
@@ -328,6 +328,9 @@
<fileset dir="${test.data.dir}/files" includes="*.*" excludes="${vcs.excludes}"/>
</copy>
<copy file="${basedir}/README.txt" todir="${target.dir}"/>
+ <copy file="${basedir}/NOTICE" todir="${target.dir}"/>
+ <copy file="${basedir}/LICENSE" todir="${target.dir}"/>
+ <copy file="${basedir}/RELEASE_NOTES.txt" todir="${target.dir}"/>
<copy todir="${target.example.dir}/queries" preservelastmodified="true" flatten="true">
<fileset dir="${ql.test.query.dir}/positive" includes="*.q" excludes="${vcs.excludes}"/>
</copy>
@@ -518,7 +521,8 @@
</macro_tar>
</target>
- <target name="binary" depends="package, docs, javadoc" description="Make tarball without source and documentation">
+ <target name="binary" depends="package, docs, javadoc"
+ description="Make release tarball without source and documentation">
<macro_tar param.destfile="${build.dir.hive}/${bin.final.name}.tar.gz">
<param.listofitems>
<tarfileset dir="${build.dir.hive}/dist" mode="755" prefix="${bin.final.name}"
View
@@ -121,6 +121,7 @@
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="Apache"/>
</manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
</jar>
</target>
View
@@ -99,6 +99,7 @@
<attribute name="Implementation-Version" value="${version}"/>
<attribute name="Implementation-Vendor" value="Apache"/>
</manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
</jar>
</target>
View
@@ -44,7 +44,16 @@
<!--hive_hwi.war file contains only the JSP sources -->
<target name="war">
- <jar jarfile="${build.dir.hive}/hwi/hive-hwi-${version}.war" basedir="${basedir}/web"/>
+ <jar jarfile="${build.dir.hive}/hwi/hive-hwi-${version}.war" basedir="${basedir}/web">
+ <manifest>
+ <!-- Not putting these in their own manifest section, since that inserts
+ a new-line, which breaks the reading of the attributes. -->
+ <attribute name="Implementation-Title" value="Hive"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ <attribute name="Implementation-Vendor" value="Apache"/>
+ </manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
+ </jar>
</target>
<!-- Compile is a clone of the build-common.xml compile, with one exception:
View
@@ -1,9 +1,22 @@
Copyright (c) 2002 JSON.org
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
The Software shall be used for Good, not Evil.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -100,8 +100,16 @@
<jar
jarfile="${build.dir}/${name}-model-${version}.jar"
basedir="${build.classes}"
- includes="**/model/M*"
- />
+ includes="**/model/M*">
+ <manifest>
+ <!-- Not putting these in their own manifest section, since that inserts
+ a new-line, which breaks the reading of the attributes. -->
+ <attribute name="Implementation-Title" value="Hive"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ <attribute name="Implementation-Vendor" value="Apache"/>
+ </manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
+ </jar>
</target>
<target name="generate-schema">
View
@@ -193,6 +193,14 @@
<fileset dir="${build.dir.hive}/commons-lang/classes" includes="**/StringUtils.class,**/WordUtils.class"/>
<fileset dir="${build.dir.hive}/json/classes" includes="**/*.class"/>
<fileset dir="${build.dir.hive}/shims/classes" includes="**/*.class"/>
+ <manifest>
+ <!-- Not putting these in their own manifest section, since that inserts
+ a new-line, which breaks the reading of the attributes. -->
+ <attribute name="Implementation-Title" value="Hive"/>
+ <attribute name="Implementation-Version" value="${version}"/>
+ <attribute name="Implementation-Vendor" value="Apache"/>
+ </manifest>
+ <metainf dir="${hive.root}" includes="LICENSE,NOTICE"/>
</jar>
</target>

0 comments on commit db2de92

Please sign in to comment.