Use HTTPS for license links
This commit updates the MavenPublishingConventions to use HTTPS to link to the Apache license. The configuration of NoHTTP has also been reworked so that it will correctly find usch uses of http:// URLs. Closes gh-21459
This commit is contained in:
13
src/nohttp/checkstyle.xml
Normal file
13
src/nohttp/checkstyle.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
|
||||
"https://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
||||
<module name="Checker">
|
||||
<property name="charset" value="UTF-8"/>
|
||||
<property name="fileExtensions" value=""/>
|
||||
<module name="io.spring.nohttp.checkstyle.check.NoHttpCheck">
|
||||
<property name="whitelistFileName" value="src/nohttp/whitelist.lines"/>
|
||||
</module>
|
||||
<module name="SuppressionFilter">
|
||||
<property name="file" value="src/nohttp/suppressions.xml"/>
|
||||
</module>
|
||||
<module name="SuppressWithPlainTextCommentFilter"/>
|
||||
</module>
|
||||
12
src/nohttp/suppressions.xml
Normal file
12
src/nohttp/suppressions.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE suppressions PUBLIC
|
||||
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
<suppressions>
|
||||
<suppress files="[\\/]transaction-logs[\\/]" checks="NoHttp" />
|
||||
<suppress files="[\\/]build.log" checks="NoHttp" />
|
||||
<suppress files=".+\.(jar|git|ico|p12|gif|jks|jpg|svg)" checks="NoHttp" />
|
||||
<suppress files="jquery.validate.js" checks="NoHttp" />
|
||||
<suppress files="jquery-[0-9]\.[0-9]\.[0-9].js" checks="NoHttp" />
|
||||
<suppress files="[\\/]spring-boot-project.setup" checks="NoHttp" />
|
||||
</suppressions>
|
||||
8
src/nohttp/whitelist.lines
Normal file
8
src/nohttp/whitelist.lines
Normal file
@@ -0,0 +1,8 @@
|
||||
^http://exslt.org/common.*
|
||||
^http://hsqldb.org.*
|
||||
^http://livereload.com/.*
|
||||
^http://www.jdotsoft.com.*
|
||||
^http://spockframework.org.*
|
||||
^http://ganglia.sourceforge.net.*
|
||||
^http://schemas.xmlsoap.org.*
|
||||
^http://www.liquibase.org/xml/ns/dbchangelog/.*
|
||||
Reference in New Issue
Block a user