mirror of https://github.com/apache/lucene.git
put license and notice in solr jar and war
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481314 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d7e5cc00dc
commit
1275a2bd98
12
build.xml
12
build.xml
|
@ -246,7 +246,7 @@
|
||||||
<!-- Creates the Solr distribution files. -->
|
<!-- Creates the Solr distribution files. -->
|
||||||
<target name="dist"
|
<target name="dist"
|
||||||
description="Creates the Solr distribution files."
|
description="Creates the Solr distribution files."
|
||||||
depends="dist-src, dist-war, dist-jar" />
|
depends="dist-war, dist-jar" />
|
||||||
|
|
||||||
<!-- Creates a Manifest file for Jars and WARs -->
|
<!-- Creates a Manifest file for Jars and WARs -->
|
||||||
<target name="make-manifest" >
|
<target name="make-manifest" >
|
||||||
|
@ -304,6 +304,7 @@
|
||||||
<exclude name="servlet-api*.jar" />
|
<exclude name="servlet-api*.jar" />
|
||||||
</lib>
|
</lib>
|
||||||
<fileset dir="${src}/webapp/resources" />
|
<fileset dir="${src}/webapp/resources" />
|
||||||
|
<metainf dir="${basedir}" includes="LICENSE.txt,NOTICE.txt"/>
|
||||||
</war>
|
</war>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
@ -324,8 +325,9 @@
|
||||||
basedir="${dest}"
|
basedir="${dest}"
|
||||||
includes="org/apache/**"
|
includes="org/apache/**"
|
||||||
filesetmanifest="skip"
|
filesetmanifest="skip"
|
||||||
manifest="${dest}/META-INF/MANIFEST.MF"
|
manifest="${dest}/META-INF/MANIFEST.MF">
|
||||||
/>
|
<metainf dir="${basedir}" includes="LICENSE.txt,NOTICE.txt"/>
|
||||||
|
</jar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
@ -359,7 +361,7 @@
|
||||||
<zip destfile="${dist}/${fullnamever}.zip">
|
<zip destfile="${dist}/${fullnamever}.zip">
|
||||||
<zipfileset dir="."
|
<zipfileset dir="."
|
||||||
prefix="${fullnamever}"
|
prefix="${fullnamever}"
|
||||||
includes="*.txt *.xml lib/** src/** example/**"
|
includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/**"
|
||||||
excludes="**/data/ **/logs/ **/classes/" />
|
excludes="**/data/ **/logs/ **/classes/" />
|
||||||
<zipfileset dir="."
|
<zipfileset dir="."
|
||||||
prefix="${fullnamever}"
|
prefix="${fullnamever}"
|
||||||
|
@ -371,7 +373,7 @@
|
||||||
<tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
|
<tar destfile="${dist}/${fullnamever}.tgz" compression="gzip">
|
||||||
<tarfileset dir="."
|
<tarfileset dir="."
|
||||||
prefix="${fullnamever}"
|
prefix="${fullnamever}"
|
||||||
includes="*.txt *.xml lib/** src/** example/**"
|
includes="LICENSE.txt NOTICE.txt *.txt *.xml lib/** src/** example/**"
|
||||||
excludes="**/data/ **/logs/ **/classes/" />
|
excludes="**/data/ **/logs/ **/classes/" />
|
||||||
<tarfileset dir="."
|
<tarfileset dir="."
|
||||||
prefix="${fullnamever}"
|
prefix="${fullnamever}"
|
||||||
|
|
Loading…
Reference in New Issue