mirror of https://github.com/apache/lucene.git
Correct regexes normalizing jar filenames so that the resulting licenses are consistent with gradle (which will use proper artifact name, not a chain of regexes).
This commit is contained in:
parent
322ed8ce4d
commit
c40689875a
|
@ -89,7 +89,7 @@
|
|||
<property name="skipRegexChecksum" value=""/>
|
||||
<license-check-macro dir="${basedir}" licensedir="${common.dir}/licenses">
|
||||
<additional-filters>
|
||||
<replaceregex pattern="jetty([^/]+)$" replace="jetty" flags="gi" />
|
||||
<replaceregex pattern="^jetty([^/]+)$" replace="jetty" flags="gi" />
|
||||
<replaceregex pattern="slf4j-([^/]+)$" replace="slf4j" flags="gi" />
|
||||
<replaceregex pattern="javax\.servlet([^/]+)$" replace="javax.servlet" flags="gi" />
|
||||
<replaceregex pattern="(bcmail|bcprov)-([^/]+)$" replace="\1" flags="gi" />
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
<!-- Typical version patterns. -->
|
||||
<replaceregex pattern="\.rc[0-9]+" replace="" flags="gi" />
|
||||
<replaceregex pattern="\-(r)?([0-9\-\_\.])+(([a-zA-Z]+)([0-9\-\.])*)?" replace="" flags="gi" />
|
||||
<replaceregex pattern="(?<!log4j)\-(r)?([0-9\-\_\.])+(([a-zA-Z]+)([0-9\-\.])*)?" replace="" flags="gi" />
|
||||
|
||||
<replaceregex pattern="[-]tests$" replace="-tests" flags="gi" />
|
||||
|
||||
|
|
|
@ -333,7 +333,7 @@
|
|||
<exclude name="package/**"/>
|
||||
</additional-excludes>
|
||||
<additional-filters>
|
||||
<replaceregex pattern="jetty([^/]+)$" replace="jetty" flags="gi" />
|
||||
<replaceregex pattern="^jetty([^/]+)$" replace="jetty" flags="gi" />
|
||||
<!-- start.jar comes from jetty, .jar already stripped by checker defaults -->
|
||||
<replaceregex pattern="^start$" replace="jetty" flags="gi" />
|
||||
<replaceregex pattern="slf4j-([^/]+)$" replace="slf4j" flags="gi" />
|
||||
|
|
Loading…
Reference in New Issue