Commit b0eb5ef7 authored by Phillip Webb's avatar Phillip Webb

Fix checkstyle import control

Use fully expanded referenced in an attempt to make the CI happy.

Fixes gh-8532
parent 5d89a0c0
......@@ -18,7 +18,7 @@
<url>http://www.spring.io</url>
</organization>
<properties>
<main.basedir>..</main.basedir>
<main.basedir>${basedir}/..</main.basedir>
<disable.checks>false</disable.checks>
<java.version>1.8</java.version>
<aether.version>1.0.2.v20150114</aether.version>
......@@ -502,7 +502,7 @@
<configLocation>src/checkstyle/checkstyle.xml</configLocation>
<suppressionsLocation>src/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
<headerLocation>src/checkstyle/checkstyle-header.txt</headerLocation>
<propertyExpansion>checkstyle.build.directory=${project.build.directory}</propertyExpansion>
<propertyExpansion>main.basedir=${main.basedir}</propertyExpansion>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
......
......@@ -78,7 +78,7 @@
<property name="processJavadoc" value="true" />
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck">
<property name="file" value="spring-boot-parent/src/checkstyle/import-control.xml" />
<property name="file" value="file://${main.basedir}/spring-boot-parent/src/checkstyle/import-control.xml" />
<property name="path" value="^.*[\\/]src[\\/]main[\\/].*$" />
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment