Skip to content

Commit 4fb8554

Browse files
authored
ignore links in license report (apache#629)
1 parent 952fed6 commit 4fb8554

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

.github/workflows/link-validator.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
run: sbt -Dpekko.genjavadoc.enabled=true "set ThisBuild / version := \"1.0.0\"; Javaunidoc/doc; Compile/unidoc; docs/paradox"
4747

4848
- name: Run Link Validator
49-
run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf
49+
run: cs launch net.runne::site-link-validator:0.2.5 -- scripts/link-validator.conf

scripts/link-validator.conf

+5-29
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ site-link-validator {
4747
ignore-missing-local-files-regex = ""
4848
// e.g. "^api/alpakka/snapshot/pekko/stream/alpakka/googlecloud/storage/impl/Formats.*"
4949

50+
ignore-files = [
51+
# This file is generated, we can't do much about the invalid links here
52+
"license-report.html"
53+
]
54+
5055
ignore-prefixes = [
5156
# Fails after a number of requests with "403 Forbidden"
5257
"https://javadoc.io/static/"
@@ -64,40 +69,11 @@ site-link-validator {
6469
"http://code.google.com/"
6570
# sample endpoint
6671
"http://localhost:8080"
67-
# broken URL in license report
68-
"http://pholser.github.com/"
69-
"http://specs2.org/"
7072
]
7173

7274
non-https-whitelist = [
7375
# sample in docs
7476
"http://example.com"
75-
# license report
76-
"http://asm.ow2.io/"
77-
"http://commons.apache.org/"
78-
"http://www.apache.org/licenses/LICENSE-2.0"
79-
"http://findbugs.sourceforge.net/"
80-
"http://github.com/FasterXML/"
81-
"http://github.com/ronmamo/"
82-
"http://github.com/sbt/junit-interface/"
83-
"http://jopt-simple.github.io/jopt-simple"
84-
"http://junit.org"
85-
"http://netty.io/"
86-
"http://openjdk.java.net/legal/gplv2+ce.html"
87-
"http://opensource.org/licenses/MIT"
88-
"http://parboiled.org"
89-
"http://specs2.org/"
90-
"http://www.eclipse.org/legal/epl-v10.html"
91-
"http://www.javassist.org/"
92-
"http://www.mozilla.org/MPL/MPL-1.1.html"
93-
"http://www.opensource.org/licenses/"
94-
"http://opensource.org/licenses/"
95-
"http://www.reactive-streams.org/"
96-
"http://www.scala-lang.org/"
97-
"http://www.scala-sbt.org"
98-
"http://www.scalacheck.org"
99-
"http://www.scalatest.org"
100-
"http://www.slf4j.org"
10177
# no https support
10278
"http://spray.io/blog/"
10379
# javadoc

0 commit comments

Comments
 (0)