mirror of https://github.com/apache/lucene.git
SOLR-3725: fix package-local-src-tgz to not bring in jars/binary content
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371688 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f1c79b69b6
commit
392ddde4d3
|
@ -48,6 +48,9 @@ Bug Fixes
|
||||||
* SOLR-3229: Fixed TermVectorComponent to work with distributed search
|
* SOLR-3229: Fixed TermVectorComponent to work with distributed search
|
||||||
(Hang Xie, hossman)
|
(Hang Xie, hossman)
|
||||||
|
|
||||||
|
* SOLR-3725: Fixed package-local-src-tgz target to not bring in unnecessary jars
|
||||||
|
and binary contents. (Michael Dodsworth via rmuir)
|
||||||
|
|
||||||
================== 4.0.0-BETA ===================
|
================== 4.0.0-BETA ===================
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -361,12 +361,17 @@
|
||||||
value="${common-solr.dir}/build/${fullnamever}-src.tgz"/>
|
value="${common-solr.dir}/build/${fullnamever}-src.tgz"/>
|
||||||
<delete file="${source.package.file}" failonerror="false" />
|
<delete file="${source.package.file}" failonerror="false" />
|
||||||
|
|
||||||
|
<!-- includes/excludes requires a relative path -->
|
||||||
|
<property name="dist.rel" location="${dist}" relative="yes"/>
|
||||||
|
<property name="package.dir.rel" location="${package.dir}" relative="yes"/>
|
||||||
|
|
||||||
<tar destfile="${source.package.file}" compression="gzip" longfile="gnu">
|
<tar destfile="${source.package.file}" compression="gzip" longfile="gnu">
|
||||||
<tarfileset dir=".." prefix="${fullnamever}" includes="*.txt *.xml dev-tools/" />
|
<tarfileset dir=".." prefix="${fullnamever}" includes="*.txt *.xml dev-tools/" />
|
||||||
<tarfileset dir="." prefix="${fullnamever}" includes="LICENSE.txt NOTICE.txt"/>
|
<tarfileset dir="." prefix="${fullnamever}" includes="LICENSE.txt NOTICE.txt"/>
|
||||||
<tarfileset dir="." prefix="${fullnamever}/solr"
|
<tarfileset dir="." prefix="${fullnamever}/solr"
|
||||||
excludes="build ${package.dir}/** ${dist}/**
|
excludes="build/** ${package.dir.rel}/** ${dist.rel}/**
|
||||||
example/webapps/*.war example/exampledocs/post.jar
|
example/webapps/*.war example/lib/**
|
||||||
|
**/*.jar
|
||||||
lib/README.committers.txt **/data/ **/logs/*
|
lib/README.committers.txt **/data/ **/logs/*
|
||||||
**/*.sh **/bin/ scripts/
|
**/*.sh **/bin/ scripts/
|
||||||
.idea/ **/*.iml **/pom.xml" />
|
.idea/ **/*.iml **/pom.xml" />
|
||||||
|
|
Loading…
Reference in New Issue