Skip to content

Commit

Permalink
Issue checkstyle#1571: Use catalog files as an alternative to SourceF…
Browse files Browse the repository at this point in the history
…orge dtds location
  • Loading branch information
MEZk authored and timurt committed May 6, 2017
1 parent bd595d4 commit 18a7206
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions config/catalog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<system systemId="http://checkstyle.sourceforge.net/dtds/configuration_1_0.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/configuration_1_0.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/configuration_1_1.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/configuration_1_1.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/configuration_1_2.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/configuration_1_2.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/configuration_1_3.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/packages_1_0.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/packages_1_0.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/suppressions_1_0.dtd" uri="./../src/main/resources/com/puppycrawl/tools/checkstyle/suppressions_1_0.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/suppressions_1_1.dtd" uri="./../src/main/java/resources/com/puppycrawl/tools/checkstyle/suppressions_1_1.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/import_control_1_0.dtd" uri="./../src/main/resources/com/puppycrawl/tools/checkstyle/checks/imports/import_control_1_0.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/import_control_1_1.dtd" uri="./../src/main/resources/com/puppycrawl/tools/checkstyle/checks/imports/import_control_1_1.dtd"/>
<system systemId="http://checkstyle.sourceforge.net/dtds/import_control_1_2.dtd" uri="./../src/main/resources/com/puppycrawl/tools/checkstyle/checks/imports/import_control_1_2.dtd"/>
</catalog>
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,9 @@
<systemId>src/main/resources/com/puppycrawl/tools/checkstyle/configuration_1_3.dtd</systemId>
</validationSet>
</validationSets>
<catalogs>
<catalog>config/catalog.xml</catalog>
</catalogs>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 18a7206

Please sign in to comment.