Skip to content

Commit

Permalink
minor: cleanups for ant-phase-verify
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach authored and romani committed Oct 23, 2022
1 parent 469a4a8 commit 5768a5e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 19 deletions.
5 changes: 0 additions & 5 deletions config/ant-phase-verify.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
classpath="${mvn.runtime_classpath}"
/>

<property name="checkstyle.pattern.todo" value="NOTHingWillMatCH_-"/>
<property name="check.config" location="config/checkstyle_checks.xml"/>
<property name="check.config_non_main"
location="config/checkstyle_non_main_files_checks.xml"/>
Expand All @@ -38,7 +37,6 @@
<formatter type="plain"/>
<formatter type="xml" toFile="${mvn.project.build.directory}/cs_errors.xml"/>
<formatter type="sarif" toFile="${mvn.project.build.directory}/cs_errors.sarif"/>
<classpath path="${mvn.runtime_classpath}"/>
<property key="checkstyle.cache.file" file="${mvn.project.build.directory}/cachefile"/>
<property key="checkstyle.header.file" file="config/java.header"/>
<property key="checkstyle.regexp.header.file" file="config/java_regexp.header"/>
Expand Down Expand Up @@ -129,7 +127,6 @@
</path>
<formatter type="plain"/>
<formatter type="xml" toFile="${mvn.project.build.directory}/cs_non_main_files_errors.xml"/>
<classpath path="${mvn.runtime_classpath}"/>
</checkstyle>

<tstamp>
Expand Down Expand Up @@ -164,7 +161,6 @@
</path>
<formatter type="plain"/>
<formatter type="xml" toFile="${mvn.project.build.directory}/cs_resources_errors.xml"/>
<classpath path="${mvn.runtime_classpath}"/>
</checkstyle>

<tstamp>
Expand Down Expand Up @@ -228,7 +224,6 @@
</path>
<formatter type="plain"/>
<formatter type="xml" toFile="${mvn.project.build.directory}/cs_input_errors.xml"/>
<classpath path="${mvn.runtime_classpath}"/>
</checkstyle>

<tstamp>
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle_input_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Suppressions for resources -->
<module name="SuppressionFilter">
<property name="file"
value="${project.basedir}/config/checkstyle_input_suppressions.xml"/>
value="config/checkstyle_input_suppressions.xml"/>
</module>

<module name="RegexpSingleline">
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle_non_main_files_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<!-- Suppressions for resources -->
<module name="SuppressionFilter">
<property name="file"
value="${project.basedir}/config/checkstyle_non_main_files_suppressions.xml"/>
value="config/checkstyle_non_main_files_suppressions.xml"/>
</module>
<!-- Miscellaneous -->
<module name="NewlineAtEndOfFile" />
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle_resources_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<!-- Suppressions for resources -->
<module name="SuppressionFilter">
<property name="file"
value="${project.basedir}/config/checkstyle_resources_suppressions.xml"/>
value="config/checkstyle_resources_suppressions.xml"/>
</module>
<module name="FileTabCharacter"/>
<module name="RegexpSingleline">
Expand Down
2 changes: 1 addition & 1 deletion config/checkstyle_sevntu_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<!-- Filters -->
<module name="SuppressionFilter">
<property name="file" value="${project.basedir}/config/sevntu_suppressions.xml"/>
<property name="file" value="config/sevntu_suppressions.xml"/>
</module>

<module name="TreeWalker">
Expand Down
10 changes: 0 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,6 @@
<maxAllowedViolations>0</maxAllowedViolations>
<violationSeverity>error</violationSeverity>
<cacheFile>${project.build.directory}/cachefile_sevntu</cacheFile>
<propertyExpansion>project.basedir=${project.basedir}</propertyExpansion>
<sourceDirectories>
<sourceDirectory>${project.basedir}/src</sourceDirectory>
</sourceDirectories>
Expand Down Expand Up @@ -1496,21 +1495,12 @@
<configuration>
<target>
<property name="mvn.project.build.directory" value="${project.build.directory}" />
<property name="mvn.project.version" value="${project.version}" />
<property name="mvn.runtime_classpath" refid="maven.runtime.classpath" />
<property name="project.basedir" value="${project.basedir}" />
<ant antfile="config/ant-phase-verify.xml" />
</target>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-nodeps</artifactId>
<version>1.8.1</version>
</dependency>
</dependencies>
</plugin>

<!-- Ensure the manifest has all the gory details -->
Expand Down

0 comments on commit 5768a5e

Please sign in to comment.