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:
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.2//EN" "https://checkstyle.org/dtds/configuration_1_2.dtd">
|
||||
<module name="com.puppycrawl.tools.checkstyle.Checker">
|
||||
<module name="io.spring.nohttp.checkstyle.check.NoHttpCheck">
|
||||
<property name="whitelistFileName" value="${main.basedir}/src/checkstyle/nohttp-whitelist.txt"/>
|
||||
</module>
|
||||
</module>
|
||||
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>
|
||||
@@ -4,10 +4,8 @@
|
||||
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
|
||||
<suppressions>
|
||||
<suppress files="[\\/]transaction-logs[\\/]" checks="NoHttp" />
|
||||
<suppress files="[\\/]target[\\/]" checks="NoHttp" />
|
||||
<suppress files="[\\/]build.log" checks="NoHttp" />
|
||||
<suppress files=".+\.(jar|git|ico|p12|gif|jks|jpg|svg)" checks="NoHttp" />
|
||||
<suppress files="dependency-reduced-pom.xml" 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" />
|
||||
Reference in New Issue
Block a user