Skip to content

Commit 0d1361a

Browse files
author
Niall Kegan Pemberton
committed
COMMONSSITE-30 - fix the checkstyle configuration to work for multi-module and review/update <reporting> plugin version numbers for the poms being changed.
- pom's need to use ${basedir} for configuration files as the multi-module profile is run from commons-parent, so if not specified it can't find those files - the checkstyle configuration file needs to use ${checkstyle.header.file} for the headerFile property and <headerFile> element added to the plugin config in the pom.xml - fix m1 checkstyle config to reflect the above where appropriate (specify header file property) git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@659438 13f79535-47bb-0310-9956-ffa450edef68
1 parent 71b23e2 commit 0d1361a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
<plugin>
187187
<groupId>org.apache.maven.plugins</groupId>
188188
<artifactId>maven-changes-plugin</artifactId>
189+
<version>2.0</version>
189190
<configuration>
190191
<xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
191192
<issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
@@ -203,14 +204,14 @@
203204
<artifactId>maven-checkstyle-plugin</artifactId>
204205
<version>2.1</version>
205206
<configuration>
206-
<configLocation>checkstyle.xml</configLocation>
207+
<configLocation>${basedir}/checkstyle.xml</configLocation>
207208
<enableRulesSummary>false</enableRulesSummary>
208209
</configuration>
209210
</plugin>
210211
<plugin>
211212
<groupId>org.codehaus.mojo</groupId>
212213
<artifactId>findbugs-maven-plugin</artifactId>
213-
<version>1.1.1</version>
214+
<version>1.2</version>
214215
<configuration>
215216
<threshold>Normal</threshold>
216217
<effort>Default</effort>

0 commit comments

Comments
 (0)