Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

NUTCH-2290 Update licenses of bundled libraries UTCH-2822 Split the LICENSE.txt file into two files for source resp. binary releases - ensure the binary license and notice files are shipped with the source and binary packages

Sebastian Nagel9a59ec9f06bf
diff --git a/build.xml b/build.xml
index 891fa4656..17b3fd292 100644
--- a/build.xml
+++ b/build.xml
@@ -880,6 +880,12 @@
<copy todir="${src.dist.version.dir}/" file="build.xml"/>
<copy todir="${src.dist.version.dir}/" file="default.properties"/>
+ <copy todir="${src.dist.version.dir}/" file="LICENSE-binary"/>
+ <copy todir="${src.dist.version.dir}/" file="NOTICE-binary"/>
+ <copy todir="${src.dist.version.dir}/licenses-binary" includeEmptyDirs="true">
+ <fileset dir="licenses-binary"/>
+ </copy>
+
</target>
<target name="package-bin" depends="runtime, javadoc" description="--> generate binary distribution package">
@@ -918,6 +924,12 @@
</fileset>
</copy>
+ <copy todir="${bin.dist.version.dir}/" file="LICENSE-binary"/>
+ <copy todir="${bin.dist.version.dir}/" file="NOTICE-binary"/>
+ <copy todir="${bin.dist.version.dir}/licenses-binary" includeEmptyDirs="true">
+ <fileset dir="licenses-binary"/>
+ </copy>
+
<copy todir="${bin.dist.version.dir}/plugins" includeEmptyDirs="true">
<fileset dir="runtime/local/plugins"/>
</copy>