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

Steve Rowe updated LUCENE-5273:
-------------------------------

    Attachment: LUCENE-5273.patch

Patch that fixes the problem, and adds checks to {{smokeTestRelease.py}}.

I had been thinking that the way to fix this problem was to somehow not rebuild 
manifests and jars when their constituents had not changed.  A couple efforts 
in this direction failed for various reasons, though.

Instead, this patch causes the release building process to unpack 
{{lucene-<version>.tgz}} to {{lucene/build/lucene.tgz.unpacked}}, and 
{{solr-<version>.tgz}} to {{solr/build/solr.tgz.unpacked}}, and then pull 
binary artifacts from the unpacked lucene distribution when they're needed in 
the Solr distribution and the Solr war, and from the appropriate unpacked 
distribution when deploying Lucene and Solr Maven artifacts.

{{ant nightly-smoke}} succeeds on trunk with this patch.

I backported the {{smokeTestRelease.py}} changes to the {{lucene_solr_4_5}} 
branch, then ran the smoke tester against the final 4.5 RC, after first 
converting exceptions for non-identicality to print statements with "Should 
fail:" prepended, and I got the following output:

{noformat}
  unpack solr-4.5.0.tgz...
    verify JAR metadata/identity/no javax.* or java.* classes...
    unpack lucene-4.5.0.tgz...
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-icu-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/icu/lucene-analyzers-icu-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-morfologik-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/morfologik/lucene-analyzers-morfologik-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-smartcn-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/smartcn/lucene-analyzers-smartcn-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-stempel-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/stempel/lucene-analyzers-stempel-4.5.0.jar
 in Lucene binary distribution
      **WARNING**: skipping check of 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/dataimporthandler/lib/activation-1.1.jar:
 it has javax.* classes
      **WARNING**: skipping check of 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/dataimporthandler/lib/mail-1.4.1.jar:
 it has javax.* classes
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/uima/lucene-libs/lucene-analyzers-uima-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/uima/lucene-analyzers-uima-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/dist/test-framework/lucene-libs/lucene-test-framework-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/test-framework/lucene-test-framework-4.5.0.jar
 in Lucene binary distribution
    verify WAR metadata/contained JAR identity/no javax.* or java.* classes...
    unpack lucene-4.5.0.tgz...
Should fail: Artifact WEB-INF/lib/lucene-analyzers-common-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/common/lucene-analyzers-common-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-analyzers-kuromoji-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/kuromoji/lucene-analyzers-kuromoji-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-analyzers-phonetic-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/phonetic/lucene-analyzers-phonetic-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-codecs-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/codecs/lucene-codecs-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-core-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/core/lucene-core-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-grouping-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/grouping/lucene-grouping-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-highlighter-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/highlighter/lucene-highlighter-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-join-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/join/lucene-join-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-memory-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/memory/lucene-memory-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-misc-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/misc/lucene-misc-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-queries-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queries/lucene-queries-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-queryparser-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queryparser/lucene-queryparser-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-spatial-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/spatial/lucene-spatial-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-suggest-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/suggest/lucene-suggest-4.5.0.jar
 in Lucene binary distribution
[...]
  unpack solr-4.5.0.zip...
    verify JAR metadata/identity/no javax.* or java.* classes...
    unpack lucene-4.5.0.tgz...
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-icu-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/icu/lucene-analyzers-icu-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-morfologik-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/morfologik/lucene-analyzers-morfologik-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-smartcn-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/smartcn/lucene-analyzers-smartcn-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/analysis-extras/lucene-libs/lucene-analyzers-stempel-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/stempel/lucene-analyzers-stempel-4.5.0.jar
 in Lucene binary distribution
      **WARNING**: skipping check of 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/dataimporthandler/lib/activation-1.1.jar:
 it has javax.* classes
      **WARNING**: skipping check of 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/dataimporthandler/lib/mail-1.4.1.jar:
 it has javax.* classes
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/contrib/uima/lucene-libs/lucene-analyzers-uima-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/uima/lucene-analyzers-uima-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/dist/test-framework/lucene-libs/lucene-test-framework-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/test-framework/lucene-test-framework-4.5.0.jar
 in Lucene binary distribution
    verify WAR metadata/contained JAR identity/no javax.* or java.* classes...
    unpack lucene-4.5.0.tgz...
Should fail: Artifact WEB-INF/lib/lucene-analyzers-common-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/common/lucene-analyzers-common-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-analyzers-kuromoji-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/kuromoji/lucene-analyzers-kuromoji-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-analyzers-phonetic-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/phonetic/lucene-analyzers-phonetic-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-codecs-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/codecs/lucene-codecs-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-core-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/core/lucene-core-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-grouping-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/grouping/lucene-grouping-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-highlighter-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/highlighter/lucene-highlighter-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-join-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/join/lucene-join-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-memory-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/memory/lucene-memory-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-misc-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/misc/lucene-misc-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-queries-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queries/lucene-queries-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-queryparser-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queryparser/lucene-queryparser-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-spatial-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/spatial/lucene-spatial-4.5.0.jar
 in Lucene binary distribution
Should fail: Artifact WEB-INF/lib/lucene-suggest-4.5.0.jar in 
/Users/sarowe/temp/tmpDir/unpack/solr-4.5.0/example/webapps/solr.war is not 
identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/suggest/lucene-suggest-4.5.0.jar
 in Lucene binary distribution
[...]
Test Maven artifacts for Lucene and Solr...
[...]
    verify that Maven artifacts are same as in the binary distribution...
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-common/4.5.0/lucene-analyzers-common-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/common/lucene-analyzers-common-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-icu/4.5.0/lucene-analyzers-icu-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/icu/lucene-analyzers-icu-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-kuromoji/4.5.0/lucene-analyzers-kuromoji-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/kuromoji/lucene-analyzers-kuromoji-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-morfologik/4.5.0/lucene-analyzers-morfologik-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/morfologik/lucene-analyzers-morfologik-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-phonetic/4.5.0/lucene-analyzers-phonetic-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/phonetic/lucene-analyzers-phonetic-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-smartcn/4.5.0/lucene-analyzers-smartcn-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/smartcn/lucene-analyzers-smartcn-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-stempel/4.5.0/lucene-analyzers-stempel-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/stempel/lucene-analyzers-stempel-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-analyzers-uima/4.5.0/lucene-analyzers-uima-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/analysis/uima/lucene-analyzers-uima-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-benchmark/4.5.0/lucene-benchmark-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/benchmark/lucene-benchmark-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-classification/4.5.0/lucene-classification-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/classification/lucene-classification-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-codecs/4.5.0/lucene-codecs-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/codecs/lucene-codecs-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-core/4.5.0/lucene-core-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/core/lucene-core-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-demo/4.5.0/lucene-demo-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/demo/lucene-demo-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-facet/4.5.0/lucene-facet-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/facet/lucene-facet-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-grouping/4.5.0/lucene-grouping-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/grouping/lucene-grouping-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-highlighter/4.5.0/lucene-highlighter-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/highlighter/lucene-highlighter-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-join/4.5.0/lucene-join-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/join/lucene-join-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-memory/4.5.0/lucene-memory-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/memory/lucene-memory-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-misc/4.5.0/lucene-misc-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/misc/lucene-misc-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-queries/4.5.0/lucene-queries-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queries/lucene-queries-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-queryparser/4.5.0/lucene-queryparser-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/queryparser/lucene-queryparser-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-replicator/4.5.0/lucene-replicator-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/replicator/lucene-replicator-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-sandbox/4.5.0/lucene-sandbox-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/sandbox/lucene-sandbox-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-spatial/4.5.0/lucene-spatial-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/spatial/lucene-spatial-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-suggest/4.5.0/lucene-suggest-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/suggest/lucene-suggest-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/lucene/lucene-test-framework/4.5.0/lucene-test-framework-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-lucene-getBinaryDistFiles/lucene-4.5.0/test-framework/lucene-test-framework-4.5.0.jar
 in lucene binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-analysis-extras/4.5.0/solr-analysis-extras-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-analysis-extras-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-cell/4.5.0/solr-cell-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-cell-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-clustering/4.5.0/solr-clustering-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-clustering-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-core/4.5.0/solr-core-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-core-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-dataimporthandler-extras/4.5.0/solr-dataimporthandler-extras-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-dataimporthandler-extras-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-dataimporthandler/4.5.0/solr-dataimporthandler-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-dataimporthandler-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-langid/4.5.0/solr-langid-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-langid-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-solrj/4.5.0/solr-solrj-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-solrj-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-test-framework/4.5.0/solr-test-framework-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-test-framework-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-uima/4.5.0/solr-uima-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-uima-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr-velocity/4.5.0/solr-velocity-4.5.0.jar
 is not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-velocity-4.5.0.jar
 in solr binary distribution
Should fail: Maven artifact 
/Users/sarowe/temp/tmpDir/maven/org/apache/solr/solr/4.5.0/solr-4.5.0.war is 
not identical to 
/Users/sarowe/temp/tmpDir/unpack-solr-getBinaryDistFiles/solr-4.5.0/dist/solr-4.5.0.war
 in solr binary distribution
{noformat}

So I think it works.

> Binary artifacts in Lucene and Solr convenience binary distributions 
> accompanying a release, including on Maven Central, should be identical 
> across all distributions
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-5273
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5273
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: general/build
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>             Fix For: 4.6
>
>         Attachments: LUCENE-5273.patch
>
>
> As mentioned in various issues (e.g. LUCENE-3655, LUCENE-3885, SOLR-4766), we 
> release multiple versions of the same artifact: binary Maven artifacts are 
> not identical to the ones in the Lucene and Solr binary distributions, and 
> the Lucene jars in the Solr binary distribution, including within the war, 
> are not identical to the ones in the Lucene binary distribution.  This is bad.
> It's (probably always?) not horribly bad, since the differences all appear to 
> be caused by the build re-creating manifests and re-building jars and the 
> Solr war from their constituents at various points in the release build 
> process; as a result, manifest timestamp attributes, as well as archive 
> metadata (at least constituent timestamps, maybe other things?), differ each 
> time a jar is rebuilt.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to