From bb7bc2ff44bd87318b5633fbd5adc4dbd57ea319 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Wed, 4 Apr 2012 17:53:32 +0000 Subject: [PATCH] LUCENE-3945: use sha1 checksums to verify jars pulled from ivy match expectations git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309503 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/common-build.xml | 2 + .../contrib/demo/lib/servlet-api-2.4.jar.sha1 | 1 + .../sandbox/lib/jakarta-regexp-1.4.jar.sha1 | 1 + lucene/test-framework/lib/ant-1.7.1.jar.sha1 | 1 + .../lib/ant-junit-1.7.1.jar.sha1 | 1 + lucene/test-framework/lib/junit-4.10.jar.sha1 | 1 + .../lucene/validation/LicenseCheckTask.java | 92 ++++++++++++++++++- .../analysis/icu/lib/icu4j-4.8.1.1.jar.sha1 | 1 + .../lib/morfologik-fsa-1.5.2.jar.sha1 | 1 + .../lib/morfologik-polish-1.5.2.jar.sha1 | 1 + .../lib/morfologik-stemming-1.5.2.jar.sha1 | 1 + .../phonetic/lib/commons-codec-1.6.jar.sha1 | 1 + .../analysis/uima/lib/Tagger-2.3.1.jar.sha1 | 1 + .../lib/WhitespaceTokenizer-2.3.1.jar.sha1 | 1 + .../uima/lib/uimaj-core-2.3.1.jar.sha1 | 1 + .../lib/commons-compress-1.2.jar.sha1 | 1 + .../benchmark/lib/xercesImpl-2.9.1.jar.sha1 | 1 + modules/spatial/lib/spatial4j-0.2.jar.sha1 | 1 + solr/build.xml | 4 +- solr/common-build.xml | 12 +-- solr/contrib/analysis-extras/build.xml | 2 +- .../lib/icu4j-4.8.1.1.jar.sha1 | 1 + .../lib/carrot2-core-3.5.0.jar.sha1 | 1 + .../clustering/lib/hppc-0.3.3.jar.sha1 | 1 + .../lib/jackson-core-asl-1.7.4.jar.sha1 | 1 + .../lib/jackson-mapper-asl-1.7.4.jar.sha1 | 1 + .../lib/mahout-collections-0.3.jar.sha1 | 1 + .../clustering/lib/mahout-math-0.3.jar.sha1 | 1 + .../clustering/lib/simple-xml-2.4.1.jar.sha1 | 1 + .../dataimporthandler-extras/build.xml | 4 +- .../lib/activation-1.1.jar.sha1 | 1 + .../dataimporthandler/lib/mail-1.4.1.jar.sha1 | 1 + .../lib/apache-mime4j-core-0.7.jar.sha1 | 1 + .../lib/apache-mime4j-dom-0.7.jar.sha1 | 1 + solr/contrib/extraction/lib/asm-3.1.jar.sha1 | 1 + .../extraction/lib/bcmail-jdk15-1.45.jar.sha1 | 1 + .../extraction/lib/bcprov-jdk15-1.45.jar.sha1 | 1 + .../extraction/lib/boilerpipe-1.1.0.jar.sha1 | 1 + .../lib/commons-compress-1.3.jar.sha1 | 1 + .../extraction/lib/dom4j-1.6.1.jar.sha1 | 1 + .../extraction/lib/fontbox-1.6.0.jar.sha1 | 1 + .../extraction/lib/icu4j-4.8.1.1.jar.sha1 | 1 + solr/contrib/extraction/lib/jdom-1.0.jar.sha1 | 1 + .../extraction/lib/jempbox-1.6.0.jar.sha1 | 1 + .../metadata-extractor-2.4.0-beta-1.jar.sha1 | 1 + .../extraction/lib/netcdf-4.2-min.jar.sha1 | 1 + .../extraction/lib/pdfbox-1.6.0.jar.sha1 | 1 + .../extraction/lib/poi-3.8-beta4.jar.sha1 | 1 + .../lib/poi-ooxml-3.8-beta4.jar.sha1 | 1 + .../lib/poi-ooxml-schemas-3.8-beta4.jar.sha1 | 1 + .../lib/poi-scratchpad-3.8-beta4.jar.sha1 | 1 + solr/contrib/extraction/lib/rome-0.9.jar.sha1 | 1 + .../extraction/lib/tagsoup-1.2.1.jar.sha1 | 1 + .../extraction/lib/tika-core-1.0.jar.sha1 | 1 + .../extraction/lib/tika-parsers-1.0.jar.sha1 | 1 + .../extraction/lib/xercesImpl-2.8.1.jar.sha1 | 1 + .../extraction/lib/xml-apis-1.0.b2.jar.sha1 | 1 + .../extraction/lib/xmlbeans-2.3.0.jar.sha1 | 1 + solr/contrib/langid/build.xml | 4 +- solr/contrib/langid/lib/jsonic-1.2.7.jar.sha1 | 1 + .../lib/langdetect-1.1-20120112.jar.sha1 | 1 + .../lib/AlchemyAPIAnnotator-2.3.1.jar.sha1 | 1 + .../lib/OpenCalaisAnnotator-2.3.1.jar.sha1 | 1 + solr/contrib/uima/lib/Tagger-2.3.1.jar.sha1 | 1 + .../lib/WhitespaceTokenizer-2.3.1.jar.sha1 | 1 + .../uima/lib/commons-digester-2.0.jar.sha1 | 1 + .../uima/lib/uimaj-core-2.3.1.jar.sha1 | 1 + .../lib/commons-beanutils-1.7.0.jar.sha1 | 1 + .../lib/commons-collections-3.2.1.jar.sha1 | 1 + .../velocity/lib/velocity-1.6.4.jar.sha1 | 1 + .../velocity/lib/velocity-tools-2.0.jar.sha1 | 1 + .../solr/db/lib/hsqldb-1.8.0.10.jar.sha1 | 1 + ...etty-continuation-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-deploy-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-http-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-io-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-jmx-8.1.2.v20120308.jar.sha1 | 1 + .../jetty-security-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-server-8.1.2.v20120308.jar.sha1 | 1 + .../jetty-servlet-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-util-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-webapp-8.1.2.v20120308.jar.sha1 | 1 + .../lib/jetty-xml-8.1.2.v20120308.jar.sha1 | 1 + solr/example/lib/servlet-api-3.0.jar.sha1 | 1 + solr/example/start.jar.sha1 | 1 + solr/lib/commons-codec-1.6.jar.sha1 | 1 + solr/lib/commons-fileupload-1.2.1.jar.sha1 | 1 + solr/lib/commons-io-2.1.jar.sha1 | 1 + solr/lib/commons-lang-2.6.jar.sha1 | 1 + solr/lib/easymock-2.2.jar.sha1 | 1 + solr/lib/guava-r05.jar.sha1 | 1 + solr/lib/httpclient-4.1.3.jar.sha1 | 1 + solr/lib/httpcore-4.1.4.jar.sha1 | 1 + solr/lib/httpmime-4.1.3.jar.sha1 | 1 + solr/lib/javax.servlet-api-3.0.1.jar.sha1 | 1 + solr/lib/jcl-over-slf4j-1.6.1.jar.sha1 | 1 + solr/lib/log4j-over-slf4j-1.6.1.jar.sha1 | 1 + solr/lib/slf4j-api-1.6.1.jar.sha1 | 1 + solr/lib/slf4j-jdk14-1.6.1.jar.sha1 | 1 + solr/lib/spatial4j-0.2.jar.sha1 | 1 + solr/lib/wstx-asl-3.2.7.jar.sha1 | 1 + solr/lib/zookeeper-3.3.4.jar.sha1 | 1 + solr/webapp/build.xml | 8 +- 103 files changed, 202 insertions(+), 21 deletions(-) create mode 100644 lucene/contrib/demo/lib/servlet-api-2.4.jar.sha1 create mode 100644 lucene/contrib/sandbox/lib/jakarta-regexp-1.4.jar.sha1 create mode 100644 lucene/test-framework/lib/ant-1.7.1.jar.sha1 create mode 100644 lucene/test-framework/lib/ant-junit-1.7.1.jar.sha1 create mode 100644 lucene/test-framework/lib/junit-4.10.jar.sha1 create mode 100644 modules/analysis/icu/lib/icu4j-4.8.1.1.jar.sha1 create mode 100644 modules/analysis/morfologik/lib/morfologik-fsa-1.5.2.jar.sha1 create mode 100644 modules/analysis/morfologik/lib/morfologik-polish-1.5.2.jar.sha1 create mode 100644 modules/analysis/morfologik/lib/morfologik-stemming-1.5.2.jar.sha1 create mode 100644 modules/analysis/phonetic/lib/commons-codec-1.6.jar.sha1 create mode 100644 modules/analysis/uima/lib/Tagger-2.3.1.jar.sha1 create mode 100644 modules/analysis/uima/lib/WhitespaceTokenizer-2.3.1.jar.sha1 create mode 100644 modules/analysis/uima/lib/uimaj-core-2.3.1.jar.sha1 create mode 100644 modules/benchmark/lib/commons-compress-1.2.jar.sha1 create mode 100644 modules/benchmark/lib/xercesImpl-2.9.1.jar.sha1 create mode 100644 modules/spatial/lib/spatial4j-0.2.jar.sha1 create mode 100644 solr/contrib/analysis-extras/lib/icu4j-4.8.1.1.jar.sha1 create mode 100644 solr/contrib/clustering/lib/carrot2-core-3.5.0.jar.sha1 create mode 100644 solr/contrib/clustering/lib/hppc-0.3.3.jar.sha1 create mode 100644 solr/contrib/clustering/lib/jackson-core-asl-1.7.4.jar.sha1 create mode 100644 solr/contrib/clustering/lib/jackson-mapper-asl-1.7.4.jar.sha1 create mode 100644 solr/contrib/clustering/lib/mahout-collections-0.3.jar.sha1 create mode 100644 solr/contrib/clustering/lib/mahout-math-0.3.jar.sha1 create mode 100644 solr/contrib/clustering/lib/simple-xml-2.4.1.jar.sha1 create mode 100644 solr/contrib/dataimporthandler/lib/activation-1.1.jar.sha1 create mode 100644 solr/contrib/dataimporthandler/lib/mail-1.4.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/apache-mime4j-core-0.7.jar.sha1 create mode 100644 solr/contrib/extraction/lib/apache-mime4j-dom-0.7.jar.sha1 create mode 100644 solr/contrib/extraction/lib/asm-3.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/bcmail-jdk15-1.45.jar.sha1 create mode 100644 solr/contrib/extraction/lib/bcprov-jdk15-1.45.jar.sha1 create mode 100644 solr/contrib/extraction/lib/boilerpipe-1.1.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/commons-compress-1.3.jar.sha1 create mode 100644 solr/contrib/extraction/lib/dom4j-1.6.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/fontbox-1.6.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/icu4j-4.8.1.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/jdom-1.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/jempbox-1.6.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/metadata-extractor-2.4.0-beta-1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/netcdf-4.2-min.jar.sha1 create mode 100644 solr/contrib/extraction/lib/pdfbox-1.6.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/poi-3.8-beta4.jar.sha1 create mode 100644 solr/contrib/extraction/lib/poi-ooxml-3.8-beta4.jar.sha1 create mode 100644 solr/contrib/extraction/lib/poi-ooxml-schemas-3.8-beta4.jar.sha1 create mode 100644 solr/contrib/extraction/lib/poi-scratchpad-3.8-beta4.jar.sha1 create mode 100644 solr/contrib/extraction/lib/rome-0.9.jar.sha1 create mode 100644 solr/contrib/extraction/lib/tagsoup-1.2.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/tika-core-1.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/tika-parsers-1.0.jar.sha1 create mode 100644 solr/contrib/extraction/lib/xercesImpl-2.8.1.jar.sha1 create mode 100644 solr/contrib/extraction/lib/xml-apis-1.0.b2.jar.sha1 create mode 100644 solr/contrib/extraction/lib/xmlbeans-2.3.0.jar.sha1 create mode 100644 solr/contrib/langid/lib/jsonic-1.2.7.jar.sha1 create mode 100644 solr/contrib/langid/lib/langdetect-1.1-20120112.jar.sha1 create mode 100644 solr/contrib/uima/lib/AlchemyAPIAnnotator-2.3.1.jar.sha1 create mode 100644 solr/contrib/uima/lib/OpenCalaisAnnotator-2.3.1.jar.sha1 create mode 100644 solr/contrib/uima/lib/Tagger-2.3.1.jar.sha1 create mode 100644 solr/contrib/uima/lib/WhitespaceTokenizer-2.3.1.jar.sha1 create mode 100644 solr/contrib/uima/lib/commons-digester-2.0.jar.sha1 create mode 100644 solr/contrib/uima/lib/uimaj-core-2.3.1.jar.sha1 create mode 100644 solr/contrib/velocity/lib/commons-beanutils-1.7.0.jar.sha1 create mode 100644 solr/contrib/velocity/lib/commons-collections-3.2.1.jar.sha1 create mode 100644 solr/contrib/velocity/lib/velocity-1.6.4.jar.sha1 create mode 100644 solr/contrib/velocity/lib/velocity-tools-2.0.jar.sha1 create mode 100644 solr/example/example-DIH/solr/db/lib/hsqldb-1.8.0.10.jar.sha1 create mode 100644 solr/example/lib/jetty-continuation-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-deploy-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-http-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-io-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-jmx-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-security-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-server-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-servlet-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-util-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-webapp-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/jetty-xml-8.1.2.v20120308.jar.sha1 create mode 100644 solr/example/lib/servlet-api-3.0.jar.sha1 create mode 100644 solr/example/start.jar.sha1 create mode 100644 solr/lib/commons-codec-1.6.jar.sha1 create mode 100644 solr/lib/commons-fileupload-1.2.1.jar.sha1 create mode 100644 solr/lib/commons-io-2.1.jar.sha1 create mode 100644 solr/lib/commons-lang-2.6.jar.sha1 create mode 100644 solr/lib/easymock-2.2.jar.sha1 create mode 100644 solr/lib/guava-r05.jar.sha1 create mode 100644 solr/lib/httpclient-4.1.3.jar.sha1 create mode 100644 solr/lib/httpcore-4.1.4.jar.sha1 create mode 100644 solr/lib/httpmime-4.1.3.jar.sha1 create mode 100644 solr/lib/javax.servlet-api-3.0.1.jar.sha1 create mode 100644 solr/lib/jcl-over-slf4j-1.6.1.jar.sha1 create mode 100644 solr/lib/log4j-over-slf4j-1.6.1.jar.sha1 create mode 100644 solr/lib/slf4j-api-1.6.1.jar.sha1 create mode 100644 solr/lib/slf4j-jdk14-1.6.1.jar.sha1 create mode 100644 solr/lib/spatial4j-0.2.jar.sha1 create mode 100644 solr/lib/wstx-asl-3.2.7.jar.sha1 create mode 100644 solr/lib/zookeeper-3.3.4.jar.sha1 diff --git a/lucene/common-build.xml b/lucene/common-build.xml index 9cd5d57914c..868fdda3c12 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -53,6 +53,8 @@ + + diff --git a/lucene/contrib/demo/lib/servlet-api-2.4.jar.sha1 b/lucene/contrib/demo/lib/servlet-api-2.4.jar.sha1 new file mode 100644 index 00000000000..f1dc0ee5fcc --- /dev/null +++ b/lucene/contrib/demo/lib/servlet-api-2.4.jar.sha1 @@ -0,0 +1 @@ +3fc542fe8bb8164e8d3e840fe7403bc0518053c0 diff --git a/lucene/contrib/sandbox/lib/jakarta-regexp-1.4.jar.sha1 b/lucene/contrib/sandbox/lib/jakarta-regexp-1.4.jar.sha1 new file mode 100644 index 00000000000..5f4b3be3244 --- /dev/null +++ b/lucene/contrib/sandbox/lib/jakarta-regexp-1.4.jar.sha1 @@ -0,0 +1 @@ +0ea514a179ac1dd7e81c7e6594468b9b9910d298 diff --git a/lucene/test-framework/lib/ant-1.7.1.jar.sha1 b/lucene/test-framework/lib/ant-1.7.1.jar.sha1 new file mode 100644 index 00000000000..fb5d89a272d --- /dev/null +++ b/lucene/test-framework/lib/ant-1.7.1.jar.sha1 @@ -0,0 +1 @@ +1d33711018e7649a8427fff62a87f94f4e7d310f diff --git a/lucene/test-framework/lib/ant-junit-1.7.1.jar.sha1 b/lucene/test-framework/lib/ant-junit-1.7.1.jar.sha1 new file mode 100644 index 00000000000..2579a363123 --- /dev/null +++ b/lucene/test-framework/lib/ant-junit-1.7.1.jar.sha1 @@ -0,0 +1 @@ +942d04e42bc6a9fc61a7744625d89726af8ec006 diff --git a/lucene/test-framework/lib/junit-4.10.jar.sha1 b/lucene/test-framework/lib/junit-4.10.jar.sha1 new file mode 100644 index 00000000000..875e26cee22 --- /dev/null +++ b/lucene/test-framework/lib/junit-4.10.jar.sha1 @@ -0,0 +1 @@ +e4f1766ce7404a08f45d859fb9c226fc9e41a861 diff --git a/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java b/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java index b9d116bb972..5474665ec84 100644 --- a/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java +++ b/lucene/tools/src/java/org/apache/lucene/validation/LicenseCheckTask.java @@ -18,6 +18,11 @@ package org.apache.lucene.validation; */ import java.io.File; +import java.io.FileInputStream; +import java.io.BufferedReader; +import java.io.InputStreamReader; +import java.io.IOException; + import java.util.ArrayList; import java.util.Iterator; import java.util.LinkedHashMap; @@ -25,6 +30,10 @@ import java.util.List; import java.util.Locale; import java.util.Map; +import java.security.DigestInputStream; +import java.security.MessageDigest; +import java.security.NoSuchAlgorithmException; + import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; import org.apache.tools.ant.Task; @@ -36,10 +45,15 @@ import org.apache.tools.ant.types.resources.Resources; import org.apache.tools.ant.util.FileNameMapper; /** - * An ANT task that verifies if JAR file have associated LICENSE - * and NOTICE files. + * An ANT task that verifies if JAR file have associated LICENSE, + * NOTICE, and sha1 files. */ public class LicenseCheckTask extends Task { + + public final static String CHECKSUM_TYPE = "sha1"; + private static final int CHECKSUM_BUFFER_SIZE = 8 * 1024; + private static final int CHECKSUM_BYTE_MASK = 0xFF; + /** * All JAR files to check. */ @@ -120,7 +134,7 @@ public class LicenseCheckTask extends Task { } File jarFile = ((FileResource) r).getFile(); - if (!checkJarFile(jarFile)) { + if (! checkJarFile(jarFile) ) { errors++; } checked++; @@ -138,6 +152,50 @@ public class LicenseCheckTask extends Task { private boolean checkJarFile(File jarFile) { log("Scanning: " + jarFile.getPath(), verboseLevel); + // validate the jar matches against our expected hash + final File checksumFile = new File(jarFile.getParent(), + jarFile.getName() + "." + CHECKSUM_TYPE); + if (! (checksumFile.exists() && checksumFile.canRead()) ) { + log("MISSING " +CHECKSUM_TYPE+ " checksum file for: " + jarFile.getPath(), Project.MSG_ERR); + this.failures = true; + return false; + } else { + final String expectedChecksum = readChecksumFile(checksumFile); + try { + final MessageDigest md = MessageDigest.getInstance(CHECKSUM_TYPE); + byte[] buf = new byte[CHECKSUM_BUFFER_SIZE]; + try { + FileInputStream fis = new FileInputStream(jarFile); + try { + DigestInputStream dis = new DigestInputStream(fis, md); + try { + while (dis.read(buf, 0, CHECKSUM_BUFFER_SIZE) != -1) { + // NOOP + } + } finally { + dis.close(); + } + } finally { + fis.close(); + } + } catch (IOException ioe) { + throw new BuildException("IO error computing checksum of file: " + jarFile, ioe); + } + final byte[] checksumBytes = md.digest(); + final String checksum = createChecksumString(checksumBytes); + if ( ! checksum.equals(expectedChecksum) ) { + log("CHECKSUM FAILED for " + jarFile.getPath() + + " (expected: \"" + expectedChecksum + "\" was: \"" + checksum + "\")", + Project.MSG_ERR); + this.failures = true; + return false; + } + + } catch (NoSuchAlgorithmException ae) { + throw new BuildException("Digest type " + CHECKSUM_TYPE + " not supported by your JVM", ae); + } + } + // Get the expected license path base from the mapper and search for license files. Map foundLicenses = new LinkedHashMap(); List expectedLocations = new ArrayList(); @@ -193,4 +251,32 @@ outer: return true; } + + private static final String createChecksumString(byte[] digest) { + StringBuilder checksum = new StringBuilder(); + for (int i = 0; i < digest.length; i++) { + checksum.append(String.format(Locale.ENGLISH, "%02x", + CHECKSUM_BYTE_MASK & digest[i])); + } + return checksum.toString(); + } + private static final String readChecksumFile(File f) { + BufferedReader reader = null; + try { + reader = new BufferedReader(new InputStreamReader + (new FileInputStream(f), "UTF-8")); + try { + String checksum = reader.readLine(); + if (null == checksum || 0 == checksum.length()) { + throw new BuildException("Failed to find checksum in file: " + f); + } + return checksum; + } finally { + reader.close(); + } + } catch (IOException e) { + throw new BuildException("IO error reading checksum file: " + f, e); + } + } + } diff --git a/modules/analysis/icu/lib/icu4j-4.8.1.1.jar.sha1 b/modules/analysis/icu/lib/icu4j-4.8.1.1.jar.sha1 new file mode 100644 index 00000000000..103cd30c100 --- /dev/null +++ b/modules/analysis/icu/lib/icu4j-4.8.1.1.jar.sha1 @@ -0,0 +1 @@ +654b7021e7bb6c5b7b35c88d23cac1022c7b3d6b diff --git a/modules/analysis/morfologik/lib/morfologik-fsa-1.5.2.jar.sha1 b/modules/analysis/morfologik/lib/morfologik-fsa-1.5.2.jar.sha1 new file mode 100644 index 00000000000..e1828396c40 --- /dev/null +++ b/modules/analysis/morfologik/lib/morfologik-fsa-1.5.2.jar.sha1 @@ -0,0 +1 @@ +1513ee81494d7856f607ff8fffc74b4c6cbe0d48 diff --git a/modules/analysis/morfologik/lib/morfologik-polish-1.5.2.jar.sha1 b/modules/analysis/morfologik/lib/morfologik-polish-1.5.2.jar.sha1 new file mode 100644 index 00000000000..be196fa6ee8 --- /dev/null +++ b/modules/analysis/morfologik/lib/morfologik-polish-1.5.2.jar.sha1 @@ -0,0 +1 @@ +ee23a00580efe973aafa6f2c225e52951832901b diff --git a/modules/analysis/morfologik/lib/morfologik-stemming-1.5.2.jar.sha1 b/modules/analysis/morfologik/lib/morfologik-stemming-1.5.2.jar.sha1 new file mode 100644 index 00000000000..26d203ac0a6 --- /dev/null +++ b/modules/analysis/morfologik/lib/morfologik-stemming-1.5.2.jar.sha1 @@ -0,0 +1 @@ +eba98b7cd049e07d55a64b180345954b62e42ec5 diff --git a/modules/analysis/phonetic/lib/commons-codec-1.6.jar.sha1 b/modules/analysis/phonetic/lib/commons-codec-1.6.jar.sha1 new file mode 100644 index 00000000000..bf78aff7364 --- /dev/null +++ b/modules/analysis/phonetic/lib/commons-codec-1.6.jar.sha1 @@ -0,0 +1 @@ +b7f0fc8f61ecadeb3695f0b9464755eee44374d4 diff --git a/modules/analysis/uima/lib/Tagger-2.3.1.jar.sha1 b/modules/analysis/uima/lib/Tagger-2.3.1.jar.sha1 new file mode 100644 index 00000000000..c89a998f8fc --- /dev/null +++ b/modules/analysis/uima/lib/Tagger-2.3.1.jar.sha1 @@ -0,0 +1 @@ +cd02db9e8d54decb14cbe303d001d13735237290 diff --git a/modules/analysis/uima/lib/WhitespaceTokenizer-2.3.1.jar.sha1 b/modules/analysis/uima/lib/WhitespaceTokenizer-2.3.1.jar.sha1 new file mode 100644 index 00000000000..2bc25e58d4a --- /dev/null +++ b/modules/analysis/uima/lib/WhitespaceTokenizer-2.3.1.jar.sha1 @@ -0,0 +1 @@ +d7b0fd616c4289376c1f59e2a68edfb4cfd6730d diff --git a/modules/analysis/uima/lib/uimaj-core-2.3.1.jar.sha1 b/modules/analysis/uima/lib/uimaj-core-2.3.1.jar.sha1 new file mode 100644 index 00000000000..8f43663e489 --- /dev/null +++ b/modules/analysis/uima/lib/uimaj-core-2.3.1.jar.sha1 @@ -0,0 +1 @@ +99bf8d75b71410e4d5f2051ae79942721b3a2f60 diff --git a/modules/benchmark/lib/commons-compress-1.2.jar.sha1 b/modules/benchmark/lib/commons-compress-1.2.jar.sha1 new file mode 100644 index 00000000000..6a894d13c30 --- /dev/null +++ b/modules/benchmark/lib/commons-compress-1.2.jar.sha1 @@ -0,0 +1 @@ +45b5ec6a16d73d98fe370cfc2e8253bddc6a297e diff --git a/modules/benchmark/lib/xercesImpl-2.9.1.jar.sha1 b/modules/benchmark/lib/xercesImpl-2.9.1.jar.sha1 new file mode 100644 index 00000000000..86ebad92633 --- /dev/null +++ b/modules/benchmark/lib/xercesImpl-2.9.1.jar.sha1 @@ -0,0 +1 @@ +7bc7e49ddfe4fb5f193ed37ecc96c12292c8ceb6 diff --git a/modules/spatial/lib/spatial4j-0.2.jar.sha1 b/modules/spatial/lib/spatial4j-0.2.jar.sha1 new file mode 100644 index 00000000000..6adb0bbf7a6 --- /dev/null +++ b/modules/spatial/lib/spatial4j-0.2.jar.sha1 @@ -0,0 +1 @@ +8c0fa2cdb51f30a4f846cd60507b190e983f175a diff --git a/solr/build.xml b/solr/build.xml index 74638329443..c95d4836177 100644 --- a/solr/build.xml +++ b/solr/build.xml @@ -415,7 +415,7 @@ excludes="lib/README.committers.txt **/data/ **/logs/* **/classes/ **/*.sh **/ivy.xml **/build.xml **/bin/ **/*.iml **/*.ipr **/*.iws **/pom.xml - **/*pom.xml.template" /> + **/*pom.xml.template **/*.sha1" /> @@ -426,7 +426,7 @@ + excludes="**/*.tgz **/*.zip **/*.md5 **/*src*.jar **/*docs*.jar **/*.sha1" /> diff --git a/solr/common-build.xml b/solr/common-build.xml index 004ef4104ed..0273589ba78 100644 --- a/solr/common-build.xml +++ b/solr/common-build.xml @@ -59,14 +59,14 @@ - - - - - - + + + + + +