Skip to content

Commit

Permalink
Issue checkstyle#11003: fix link to apache.org (linkcheck plugin)
Browse files Browse the repository at this point in the history
  • Loading branch information
romani committed Dec 14, 2021
1 parent 0340e8a commit f9fb954
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions LICENSE.apache20
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
https://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

Expand Down Expand Up @@ -193,7 +193,7 @@
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ The software uses the ANTLR package (https://www.antlr.org/). Its license terms
are in the file named "RIGHTS.antlr" in this directory.

This product includes software developed by
The Apache Software Foundation (http://www.apache.org/).
The Apache Software Foundation (https://www.apache.org/).

The software uses the Logging and Beanutils packages from the
Apache Commons project (http://commons.apache.org/). The license terms
Apache Commons project (https://commons.apache.org/). The license terms
of these packages are in the file named "LICENSE.apache20" in this
directory.

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@
<build>
<pluginManagement>
<plugins>
<!-- from super-pom http://maven.apache.org/ref/3.5.2/maven-model-builder/super-pom.html
<!-- from super-pom https://maven.apache.org/ref/3.5.2/maven-model-builder/super-pom.html
BEGIN -->
<!-- we need to override just make "mvn versions:plugin-updates-report"
see no old versions -->
Expand Down Expand Up @@ -1829,7 +1829,7 @@
<excludedLink>http://www.antlr.org/antlr4-maven-plugin</excludedLink>
<!-- Excluded due to Maven Release Plugin's issue #919:
https://issues.apache.org/jira/browse/MRELEASE-919 -->
<excludedLink>http://maven.apache.org/plugins/maven-release-plugin/</excludedLink>
<excludedLink>https://maven.apache.org/plugins/maven-release-plugin/</excludedLink>
<!-- permanent java.net.UnknownHostException : -->
<excludedLink>http://jacoco-maven-plugin/</excludedLink>
<!-- Excluded till https://issues.sonatype.org/browse/NEXUS-9643 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* to parent object or created by parent object.
* The general idea of
* Configuration/Configurable was taken from <a target="_top"
* href="http://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
* href="https://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
*/
@FunctionalInterface
public interface Configurable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/**
* A Configuration is used to configure a Configurable component. The general
* idea of Configuration/Configurable was taken from <a target="_top"
* href="http://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
* href="https://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
*/
public interface Configuration extends Serializable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Contextualizing is inheriting some properties from parent that are provided by user
* to parent object or created by parent object.
* The general idea of Context/Contextualizable was taken from <a target="_top"
* href="http://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
* href="https://avalon.apache.org/closed.html">Jakarta's Avalon framework</a>.
*/
@FunctionalInterface
public interface Contextualizable {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
COMPILATION_UNIT -> COMPILATION_UNIT [19:0]
|--BLOCK_COMMENT_BEGIN -> /* [1:0]
| |--COMMENT_CONTENT -> \n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the "License"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n [1:2]
| |--COMMENT_CONTENT -> \n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the "License"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n [1:2]
| `--BLOCK_COMMENT_END -> */ [17:1]
|--PACKAGE_DEF -> package [19:0]
| |--ANNOTATIONS -> ANNOTATIONS [19:47]
Expand Down
14 changes: 7 additions & 7 deletions src/xdocs/anttask.xml.vm
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
Or if you use Ant 1.6 and later and assuming that Checkstyle
is in the library search path, then you may use antlib feature
of Ant (see <a
href="http://ant.apache.org/manual/Types/antlib.html"
>http://ant.apache.org/manual/Types/antlib.html</a>
href="https://ant.apache.org/manual/Types/antlib.html"
>https://ant.apache.org/manual/Types/antlib.html</a>
for more details). For example:
</p>

Expand Down Expand Up @@ -107,7 +107,7 @@
<td>fileset</td>
<td>
A set of files to run checkstyle on. Nested attribute.
See <a href="http://ant.apache.org/manual/Types/fileset.html">fileset</a>
See <a href="https://ant.apache.org/manual/Types/fileset.html">fileset</a>
ant documentation for details
</td>
<td>
Expand All @@ -120,7 +120,7 @@
<td>path</td>
<td>
A set of path to run checkstyle on. Nested attribute.
See <a href="http://ant.apache.org/manual/using.html#path">path</a>
See <a href="https://ant.apache.org/manual/using.html#path">path</a>
ant documentation for details
</td>
<td>
Expand Down Expand Up @@ -239,11 +239,11 @@

<p>
This task supports the nested elements <a
href="http://ant.apache.org/manual/Types/fileset.html">&lt;fileset&gt;</a>,
href="https://ant.apache.org/manual/Types/fileset.html">&lt;fileset&gt;</a>,
<a
href="http://ant.apache.org/manual/using.html#path">&lt;classpath&gt;</a>,
href="https://ant.apache.org/manual/using.html#path">&lt;classpath&gt;</a>,
<a
href="http://ant.apache.org/manual/using.html#path">&lt;path&gt;</a>,
href="https://ant.apache.org/manual/using.html#path">&lt;path&gt;</a>,
<code>&lt;formatter&gt;</code>, and <code>&lt;property&gt;</code>.
</p>

Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/contributing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
development tools (

<a href="https://git-scm.com">GIT</a>,
<a href="http://maven.apache.org">Maven</a>,
<a href="https://maven.apache.org">Maven</a>,
<a href="https://junit.org/junit5/">JUnit</a>).
</p>
<p>
Expand Down
8 changes: 4 additions & 4 deletions src/xdocs/index.xml.vm
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@

<p>
A good example of a report that can be produced using Checkstyle and
<a href="http://maven.apache.org/">Maven</a> can be <a
href="http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle.html">seen here</a>
<a href="https://maven.apache.org/">Maven</a> can be <a
href="https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle.html">seen here</a>
.
</p>
</section>
Expand Down Expand Up @@ -345,10 +345,10 @@
graphs.</td>
</tr>
<tr>
<td><a href="http://maven.apache.org/">Maven</a></td>
<td><a href="https://maven.apache.org/">Maven</a></td>
<td>Vincent Massol</td>
<td>Checkstyle supported out of the box</td>
<td><a href="http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle.html">
<td><a href="https://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle.html">
example report</a></td>
</tr>
<tr>
Expand Down
8 changes: 4 additions & 4 deletions src/xdocs/releasenotes_old_1-0_5-9.xml
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,9 @@
<ul>
<li>
Converted the build system to
<a href="http://maven.apache.org/">Maven</a>. The directory structure
<a href="https://maven.apache.org/">Maven</a>. The directory structure
has been maintained for now, rather than adopting Maven's
<a href="http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html">
<a href="https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html">
standard directory layout
</a>. This will change once Maven has been <i>proven</i>.
</li>
Expand Down Expand Up @@ -2005,7 +2005,7 @@

<li>Renamed checkstyle-version-optional.jar to
checkstyle-optional-version.jar to make the distribution
<a href="http://maven.apache.org">Maven</a> friendly.</li>
<a href="https://maven.apache.org">Maven</a> friendly.</li>

</ul>

Expand Down Expand Up @@ -2080,7 +2080,7 @@
<li>Checks that are designed to be used for a
special class of applications (like J2EE) or that require
external libraries are now distributed in a separate jar
file. This is similar to the way the <a href="http://ant.apache.org">Ant</a>
file. This is similar to the way the <a href="https://ant.apache.org">Ant</a>
distribution is organized.</li>

<li>Updated Jakarta Regexp library to version 1.3.</li>
Expand Down
14 changes: 7 additions & 7 deletions src/xdocs/writinglisteners.xml.vm
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ Audit finished. Total errors: 1
<section name="Examples">
<p>
This section describes two examples based on <a
href="http://ant.apache.org/">ANT</a> listeners. The first
href="https://ant.apache.org/">ANT</a> listeners. The first
listener, <code> CommonsLoggingListener</code>,
hands off events to the <a
href="http://commons.apache.org/proper/commons-logging/">Apache
href="https://commons.apache.org/proper/commons-logging/">Apache
Commons Logging</a> facade and the second, <code>MailLogger</code>,
sends a report of an audit via
e-mail. The discussion of these examples and how to use them is
Expand All @@ -249,10 +249,10 @@ Audit finished. Total errors: 1

<p>
<a
href="http://commons.apache.org/proper/commons-logging/">Apache
href="https://commons.apache.org/proper/commons-logging/">Apache
Commons Logging</a> provides a facade for logging tools
<a
href="http://logging.apache.org/log4j/2.x/index.html">log4j</a>,
href="https://logging.apache.org/log4j/2.x/index.html">log4j</a>,
J2SE 1.4, and others. Checkstyle listener <code>CommonsLoggingListener</code>
responds to an AuditEvent by handing it off to the current Commons Logging Log.
</p>
Expand All @@ -273,11 +273,11 @@ Audit finished. Total errors: 1
in the classpath because that jar file contains all the Commons
Logging classes. The default Log under J2SE 1.4 is wrapper
class <a
href="http://commons.apache.org/proper/commons-logging/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html">
href="https://commons.apache.org/proper/commons-logging/apidocs/org/apache/commons/logging/impl/Jdk14Logger.html">
Jdk14Logger</a>.
Under earlier Java versions, the default Log is a simple wrapper
class, <a
href="http://commons.apache.org/proper/commons-logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html">
href="https://commons.apache.org/proper/commons-logging/apidocs/org/apache/commons/logging/impl/SimpleLog.html">
SimpleLog</a>.
Both default logging tools can be used directly from Commons
Logging; if you need to use other tools such as log4j, then you
Expand All @@ -287,7 +287,7 @@ Audit finished. Total errors: 1
<p>
Logging configuration details for Jakarta Commons Logging are in
the <a
href="http://commons.apache.org/proper/commons-logging/">documentation</a>.
href="https://commons.apache.org/proper/commons-logging/">documentation</a>.
As a simple example, assume that <code>log4j.jar</code> is in the classpath and the
following <code>log4j.properties</code> file is
in the current directory:
Expand Down

0 comments on commit f9fb954

Please sign in to comment.