[ 
https://issues.apache.org/jira/browse/SOLR-3725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved SOLR-3725.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.1)
                   4.0
                   5.0
    
> package-local-src-tgz target is pulling in non-source jars, dist/** and 
> package/**
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-3725
>                 URL: https://issues.apache.org/jira/browse/SOLR-3725
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.0-ALPHA
>            Reporter: Michael Dodsworth
>            Priority: Minor
>             Fix For: 5.0, 4.0
>
>         Attachments: SOLR-3725.patch
>
>
> package-local-src-tgz generates a 141M archive which contains a bunch of 
> non-source jars:
> {code}
> tar tfz apache-solr-4.0-SNAPSHOT-src.tgz  | grep -E '(war|jar)$' | wc -l
> 134
> {code}
> It looks like we're expecting dist/** and package/** to be excluded:
> {code:xml}
> <tarfileset dir="." prefix="${fullnamever}/solr"
>                     excludes="build ${package.dir}/** ${dist}/**
>                              example/webapps/*.war 
> example/exampledocs/post.jar
>                              lib/README.committers.txt **/data/ **/logs/*
>                              **/*.sh **/bin/ scripts/
>                              .idea/ **/*.iml **/pom.xml" />
> {code}
> The issue is that package.dir and dist refer to absolute paths; excludes 
> assumes relative paths.
> It's also pulling in all the contrib/**/lib/ and example/lib/ jars.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to