Skip to content

Commit 2979411

Browse files
committed
Fix Apache RAT plugin console warnings
1 parent f32405e commit 2979411

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

pom.xml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -167,35 +167,35 @@
167167
<artifactId>apache-rat-plugin</artifactId>
168168
<!-- Should agree with config in reporting section -->
169169
<configuration>
170-
<excludes>
170+
<inputExcludes>
171171
<!-- These files are used as test data and test result specifications. -->
172-
<exclude>src/test/resources/org/apache/commons/csv/empty.txt</exclude>
173-
<exclude>src/test/resources/org/apache/commons/csv/CSV-141/csv-141.csv</exclude>
174-
<exclude>src/test/resources/org/apache/commons/csv/csv-167/sample1.csv</exclude>
175-
<exclude>src/test/resources/org/apache/commons/csv/CSV-198/optd_por_public.csv</exclude>
176-
<exclude>src/test/resources/org/apache/commons/csv/CSV-196/emoji.csv</exclude>
177-
<exclude>src/test/resources/org/apache/commons/csv/CSV-196/japanese.csv</exclude>
178-
<exclude>src/test/resources/org/apache/commons/csv/CSV-213/999751170.patch.csv</exclude>
179-
<exclude>src/test/resources/org/apache/commons/csv/CSV-254/csv-254.csv</exclude>
180-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/bom.csv</exclude>
181-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test.csv</exclude>
182-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_default.txt</exclude>
183-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_default_comment.txt</exclude>
184-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_rfc4180.txt</exclude>
185-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_rfc4180_trim.txt</exclude>
186-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85.csv</exclude>
187-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85_default.txt</exclude>
188-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85_ignoreEmpty.txt</exclude>
172+
<inputExclude>src/test/resources/org/apache/commons/csv/empty.txt</inputExclude>
173+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-141/csv-141.csv</inputExclude>
174+
<inputExclude>src/test/resources/org/apache/commons/csv/csv-167/sample1.csv</inputExclude>
175+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-198/optd_por_public.csv</inputExclude>
176+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-196/emoji.csv</inputExclude>
177+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-196/japanese.csv</inputExclude>
178+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-213/999751170.patch.csv</inputExclude>
179+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-254/csv-254.csv</inputExclude>
180+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/bom.csv</inputExclude>
181+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test.csv</inputExclude>
182+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_default.txt</inputExclude>
183+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_default_comment.txt</inputExclude>
184+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_rfc4180.txt</inputExclude>
185+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/test_rfc4180_trim.txt</inputExclude>
186+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85.csv</inputExclude>
187+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85_default.txt</inputExclude>
188+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV85_ignoreEmpty.txt</inputExclude>
189189
<!-- The ferc.gov files are included discussion in https://issues.apache.org/jira/browse/LEGAL-175. -->
190-
<exclude>src/test/resources/org/apache/commons/csv/ferc.gov/contract.txt</exclude>
191-
<exclude>src/test/resources/org/apache/commons/csv/ferc.gov/transaction.txt</exclude>
192-
<exclude>src/test/resources/**/*.bin</exclude>
193-
<exclude>src/test/resources/org/apache/commons/csv/CSV-259/sample.txt</exclude>
194-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV246.csv</exclude>
195-
<exclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV246_checkWithNoComment.txt</exclude>
196-
<exclude>src/test/resources/org/apache/commons/csv/CSV-290/psql.csv</exclude>
197-
<exclude>src/test/resources/org/apache/commons/csv/CSV-290/psql.tsv</exclude>
198-
</excludes>
190+
<inputExclude>src/test/resources/org/apache/commons/csv/ferc.gov/contract.txt</inputExclude>
191+
<inputExclude>src/test/resources/org/apache/commons/csv/ferc.gov/transaction.txt</inputExclude>
192+
<inputExclude>src/test/resources/**/*.bin</inputExclude>
193+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-259/sample.txt</inputExclude>
194+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV246.csv</inputExclude>
195+
<inputExclude>src/test/resources/org/apache/commons/csv/CSVFileParser/testCSV246_checkWithNoComment.txt</inputExclude>
196+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-290/psql.csv</inputExclude>
197+
<inputExclude>src/test/resources/org/apache/commons/csv/CSV-290/psql.tsv</inputExclude>
198+
</inputExcludes>
199199
</configuration>
200200
</plugin>
201201
</plugins>

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
<!-- FIX -->
4545
<action type="fix" issue="CSV-320" dev="aherbert" due-to="Jan Burkhardt">Remove Spotbugs dependency and use exclude-filter instead #564.</action>
4646
<action type="fix" dev="ggregory" due-to="Cassio Santos">Remove broken website link #577.</action>
47+
<action type="fix" dev="ggregory" due-to="Gary Gregory">Fix Apache RAT plugin console warnings.</action>
4748
<!-- ADD -->
4849
<!-- UPDATE -->
4950
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 93 #573, #595.</action>

0 commit comments

Comments
 (0)