Skip to content

Commit 682f8c6

Browse files
author
Niall Kegan Pemberton
committed
Fix cli for multi-module profile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@920816 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5253c11 commit 682f8c6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,9 @@
230230
<artifactId>maven-checkstyle-plugin</artifactId>
231231
<version>2.1</version>
232232
<configuration>
233-
<configLocation>src/conf/checkstyle.xml</configLocation>
233+
<configLocation>${basedir}/src/conf/checkstyle.xml</configLocation>
234234
<enableRulesSummary>false</enableRulesSummary>
235+
<headerFile>${basedir}/src/conf/HEADER.txt</headerFile>
235236
</configuration>
236237
</plugin>
237238
<plugin>

src/conf/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ limitations under the License.
7777
<!-- Checks for Headers -->
7878
<!-- See http://checkstyle.sf.net/config_header.html -->
7979
<module name="Header">
80-
<property name="headerFile" value="src/conf/HEADER.txt"/>
80+
<property name="headerFile" value="${checkstyle.header.file}"/>
8181
</module>
8282

8383
<!-- Following interprets the header file as regular expressions. -->

0 commit comments

Comments
 (0)