You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2013/09/15 02:14:25 UTC

svn commit: r1523367 - in /lucene/dev/trunk: lucene/tools/ solr/licenses/

Author: markrmiller
Date: Sun Sep 15 00:14:24 2013
New Revision: 1523367

URL: http://svn.apache.org/r1523367
Log:
improve license version detection

Added:
    lucene/dev/trunk/solr/licenses/hadoop-common-tests-NOTICE.txt
      - copied unchanged from r1523355, lucene/dev/trunk/solr/licenses/hadoop-common-2.0.0-cdh4.2.0-SNAPSHOT-tests-NOTICE.txt
    lucene/dev/trunk/solr/licenses/isoparser-LICENSE-ASL.txt
      - copied unchanged from r1523355, lucene/dev/trunk/solr/licenses/isoparser-1.0-RC-LICENSE-ASL.txt
    lucene/dev/trunk/solr/licenses/isoparser-NOTICE.txt
      - copied unchanged from r1523355, lucene/dev/trunk/solr/licenses/isoparser-1.0-RC-NOTICE.txt
Removed:
    lucene/dev/trunk/solr/licenses/hadoop-common-2.0.0-cdh4.2.0-SNAPSHOT-tests-NOTICE.txt
    lucene/dev/trunk/solr/licenses/isoparser-1.0-RC-LICENSE-ASL.txt
    lucene/dev/trunk/solr/licenses/isoparser-1.0-RC-NOTICE.txt
Modified:
    lucene/dev/trunk/lucene/tools/custom-tasks.xml

Modified: lucene/dev/trunk/lucene/tools/custom-tasks.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/tools/custom-tasks.xml?rev=1523367&r1=1523366&r2=1523367&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/tools/custom-tasks.xml (original)
+++ lucene/dev/trunk/lucene/tools/custom-tasks.xml Sun Sep 15 00:14:24 2013
@@ -39,11 +39,13 @@
     
     <!-- Some typical snapshot/minimalized JAR suffixes. -->
     <replaceregex pattern="-min$" replace="" flags="gi" />
-    <replaceregex pattern="SNAPSHOT$" replace="" flags="gi" />
+    <replaceregex pattern="SNAPSHOT" replace="" flags="gi" />
 
     <!-- Typical version patterns. -->
     <replaceregex pattern="\.rc[0-9]+" replace="" flags="gi" />
-    <replaceregex pattern="\-(r)?([0-9\-\_\.])+((b(eta)?)|((a(lpha)?))([0-9\-\.])*)?(\-tests)?$" replace="" flags="gi" />
+    <replaceregex pattern="\-(r)?([0-9\-\_\.])+(([a-zA-Z]+)([0-9\-\.])*)?" replace="" flags="gi" />
+    
+    <replaceregex pattern="tests$" replace="-tests" flags="gi" />
 
     <!-- git hashcode pattern: its always 40 chars right? -->
     <replaceregex pattern="\-[a-z0-9]{40,40}$" replace="" flags="gi" />