diff --git a/.github/workflows/link-validator.yml b/.github/workflows/link-validator.yml index 30b9a4f89..e414b0c7c 100644 --- a/.github/workflows/link-validator.yml +++ b/.github/workflows/link-validator.yml @@ -35,4 +35,4 @@ jobs: run: sbt docs/makeSite - name: Run Link Validator - run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf + run: cs launch net.runne::site-link-validator:0.2.5 -- scripts/link-validator.conf diff --git a/scripts/link-validator.conf b/scripts/link-validator.conf index 387cb45c1..f4b6c9694 100644 --- a/scripts/link-validator.conf +++ b/scripts/link-validator.conf @@ -21,6 +21,11 @@ site-link-validator { ignore-missing-local-files-regex = "^api/pekko-connectors/snapshot/org/apache/pekko/stream/connectors/googlecloud/storage/impl/Formats.*" + ignore-files = [ + # This file is generated, we can't do much about the invalid links here + "license-report.html" + ] + ignore-prefixes = [ # Fails after a number of requests with "403 Forbidden" "https://javadoc.io/static/" @@ -34,53 +39,10 @@ site-link-validator { "https://mvnrepository.com/artifact/" # Errors in Scaladoc from Google Common header `X-Upload-Content-Type` "https://doc.akka.io/api/akka-http/10.2.9/akka/http/impl/util/" - # Broken license report links - "http://glassfish.java.net/public/CDDL+GPL_1_1.html" - "https://glassfish.java.net/public/CDDL+GPL_1_1.html" - "http://jackson.codehaus.org" - "http://java.net/projects/jms-spec/pages/Home" - "http://jaxb.java.net/" - "http://jetty.mortbay.org" - "http://jta-spec.java.net" - "http://propensive.com/" - "http://servlet-spec.java.net" - "http://websocket-spec.java.net" - "https://jaxb.dev.java.net/" - "https://jsr311.dev.java.net" - "http://lmax-exchange.github.com/disruptor" ] non-https-whitelist = [ - # license report - "http://logback.qos.ch/" - "http://www.slf4j.org/" - "http://reactivemongo.org" - "http://www.thedevpiece.com/" - "http://aopalliance.sourceforge.net" - "http://asm.ow2.io/" - "http://avro.apache.org" - "http://beanvalidation.org" - "http://checkerframework.org" - "http://code.google.com/p/" - "http://commons.apache.org/" - "http://geode.apache.org" - "http://couchbase.com" - "http://creativecommons.org/publicdomain/zero/1.0/" - "http://ehcache.org" - "http://fastutil.di.unimi.it/" - "http://findbugs.sourceforge.net/" - "http://github.com/FasterXML/" - "http://github.com/airlift/aircompressor" - "http://github.com/google/" - "http://github.com/jnr/" - "http://github.com/julianhyde/eigenbase-properties" - "http://github.com/sbt/junit-interface/" - "http://github.com/square/javapoet/" - "http://glassfish.java.net/public/CDDL+GPL_1_1.html" - "http://hamcrest.org/JavaHamcrest/" # generated by @apidoc "http://pravega.io/" - "http://www.scala-lang.org/api/2.13.13/scala/concurrent/Future.html" - "http://www.scala-lang.org/api/2.13.13/scala/util/Try.html" ] }