mirror of https://github.com/apache/lucene.git
improve license version detection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1523367 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2eb1750f4d
commit
ffef7b3d1d
|
@ -39,11 +39,13 @@
|
||||||
|
|
||||||
<!-- Some typical snapshot/minimalized JAR suffixes. -->
|
<!-- Some typical snapshot/minimalized JAR suffixes. -->
|
||||||
<replaceregex pattern="-min$" replace="" flags="gi" />
|
<replaceregex pattern="-min$" replace="" flags="gi" />
|
||||||
<replaceregex pattern="SNAPSHOT$" replace="" flags="gi" />
|
<replaceregex pattern="SNAPSHOT" replace="" flags="gi" />
|
||||||
|
|
||||||
<!-- Typical version patterns. -->
|
<!-- Typical version patterns. -->
|
||||||
<replaceregex pattern="\.rc[0-9]+" replace="" flags="gi" />
|
<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? -->
|
<!-- git hashcode pattern: its always 40 chars right? -->
|
||||||
<replaceregex pattern="\-[a-z0-9]{40,40}$" replace="" flags="gi" />
|
<replaceregex pattern="\-[a-z0-9]{40,40}$" replace="" flags="gi" />
|
||||||
|
|
Loading…
Reference in New Issue