Move checkstyle files into .build

patch by Berenguer Blasi; reviewed by Stefan Miklosovic for CASSANDRA-18603
This commit is contained in:
Bereng 2023-06-21 08:52:05 +02:00
parent 868df97d78
commit f7b952387a
4 changed files with 8 additions and 7 deletions

View File

@ -40,6 +40,7 @@
<!-- directory details -->
<property name="basedir" value="."/>
<property name="build.helpers.dir" value="${basedir}/.build"/>
<property name="build.src" value="${basedir}/src"/>
<property name="build.src.java" value="${basedir}/src/java"/>
<property name="build.src.antlr" value="${basedir}/src/antlr"/>
@ -2325,8 +2326,8 @@
<property name="checkstyle.report.file" value="${checkstyle.log.dir}/checkstyle_report.xml"/>
<mkdir dir="${checkstyle.log.dir}" />
<property name="checkstyle.properties" value="${basedir}/checkstyle.xml" />
<property name="checkstyle.suppressions" value="${basedir}/checkstyle_suppressions.xml" />
<property name="checkstyle.properties" value="${build.helpers.dir}/checkstyle.xml" />
<property name="checkstyle.suppressions" value="${build.helpers.dir}/checkstyle_suppressions.xml" />
<checkstyle config="${checkstyle.properties}"
failureProperty="checkstyle.failure"
failOnViolation="true">
@ -2341,8 +2342,8 @@
<property name="checkstyle_test.report.file" value="${checkstyle.log.dir}/checkstyle_report_test.xml"/>
<mkdir dir="${checkstyle.log.dir}" />
<property name="checkstyle_test.properties" value="${basedir}/checkstyle_test.xml" />
<property name="checkstyle.suppressions" value="${basedir}/checkstyle_suppressions.xml" />
<property name="checkstyle_test.properties" value="${build.helpers.dir}/checkstyle_test.xml" />
<property name="checkstyle.suppressions" value="${build.helpers.dir}/checkstyle_suppressions.xml" />
<checkstyle config="${checkstyle_test.properties}"
failureProperty="checkstyle.failure"
failOnViolation="true">
@ -2399,7 +2400,7 @@
</target>
<import file="${basedir}/.build/build-resolver.xml"/>
<import file="${basedir}/.build/build-rat.xml"/>
<import file="${basedir}/.build/build-owasp.xml"/>
<import file="${build.helpers.dir}/build-resolver.xml"/>
<import file="${build.helpers.dir}/build-rat.xml"/>
<import file="${build.helpers.dir}/build-owasp.xml"/>
</project>