@@ -21,7 +21,7 @@ limitations under the License.
2121 <parent >
2222 <groupId >org.apache.commons</groupId >
2323 <artifactId >commons-parent</artifactId >
24- <version >28 </version >
24+ <version >32 </version >
2525 </parent >
2626 <groupId >org.apache.commons</groupId >
2727 <artifactId >commons-csv</artifactId >
@@ -50,6 +50,7 @@ CSV files of various types.
5050 <dependency >
5151 <groupId >com.h2database</groupId >
5252 <artifactId >h2</artifactId >
53+ <!-- 1.3.172 requires Java 1.6 -->
5354 <version >1.3.168</version >
5455 <scope >test</scope >
5556 </dependency >
@@ -89,14 +90,22 @@ CSV files of various types.
8990 </developer >
9091 </developers >
9192 <contributors >
93+ <contributor >
94+ <name >Bob Smith</name >
95+ </contributor >
9296 </contributors >
9397
9498 <scm >
9599 <connection >scm:svn:http://svn.apache.org/repos/asf/commons/proper/csv/trunk</connection >
96100 <developerConnection >scm:svn:https://svn.apache.org/repos/asf/commons/proper/csv/trunk</developerConnection >
97- <url >http://svn.apache.org/repos/asf /commons/proper/csv/trunk</url >
101+ <url >http://svn.apache.org/viewvc /commons/proper/csv/trunk</url >
98102 </scm >
99103
104+ <issueManagement >
105+ <system >jira</system >
106+ <url >http://issues.apache.org/jira/browse/CSV</url >
107+ </issueManagement >
108+
100109 <distributionManagement >
101110 <site >
102111 <id >apache.website</id >
@@ -112,12 +121,17 @@ CSV files of various types.
112121 <commons .componentid>csv</commons .componentid>
113122 <commons .jira.id>CSV</commons .jira.id>
114123 <commons .jira.pid>12313222</commons .jira.pid>
115- <maven .compile .source>1.7</maven .compile .source>
116- <maven .compile .target>1.7</maven .compile .target>
124+ <maven .compiler .source>1.7</maven .compiler .source>
125+ <maven .compiler .target>1.7</maven .compiler .target>
117126 <!-- Ensure copies work OK (can be removed later when this is in parent POM) -->
118127 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
119128 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
120129 <commons .encoding>UTF-8</commons .encoding>
130+ <!--
131+ Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target' dir
132+ and wants license headers in .properties to be the header for Java files.
133+ -->
134+ <checkstyle .version>2.9.1</checkstyle .version>
121135 <checkstyle .header.file>${basedir} /LICENSE-header.txt</checkstyle .header.file>
122136 </properties >
123137
@@ -142,22 +156,31 @@ CSV files of various types.
142156 </excludes >
143157 </configuration >
144158 </plugin >
159+ <!-- Allow checkstyle to be run interactively; keep in sync with report config below -->
160+ <plugin >
161+ <groupId >org.apache.maven.plugins</groupId >
162+ <artifactId >maven-checkstyle-plugin</artifactId >
163+ <version >${checkstyle.version} </version >
164+ <configuration >
165+ <configLocation >${basedir} /checkstyle.xml</configLocation >
166+ <enableRulesSummary >false</enableRulesSummary >
167+ <headerLocation >${checkstyle.header.file} </headerLocation >
168+ </configuration >
169+ </plugin >
145170 </plugins >
146171 </build >
147172
148173 <reporting >
149174 <plugins >
175+ <!-- Keep in sync with build config above -->
150176 <plugin >
151177 <groupId >org.apache.maven.plugins</groupId >
152178 <artifactId >maven-checkstyle-plugin</artifactId >
153- <!-- Use 2.9.1 instead of 2.10; 2.10 seems to scan the 'target'
154- dir and wants license headers in .properties to be the header for
155- Java files. -->
156- <version >2.9.1</version >
179+ <version >${checkstyle.version} </version >
157180 <configuration >
158181 <configLocation >${basedir} /checkstyle.xml</configLocation >
159182 <enableRulesSummary >false</enableRulesSummary >
160- <headerFile >${basedir} /LICENSE- header.txt</ headerFile >
183+ <headerLocation >${checkstyle. header.file} </ headerLocation >
161184 </configuration >
162185 <!-- We need to specify reportSets because 2.9.1 creates two reports -->
163186 <reportSets >
@@ -173,7 +196,7 @@ CSV files of various types.
173196 <artifactId >maven-pmd-plugin</artifactId >
174197 <version >3.0.1</version >
175198 <configuration >
176- <targetJdk >${maven.compile .target} </targetJdk >
199+ <targetJdk >${maven.compiler .target} </targetJdk >
177200 </configuration >
178201 </plugin >
179202 <plugin >
@@ -193,6 +216,10 @@ CSV files of various types.
193216 </tags >
194217 </configuration >
195218 </plugin >
219+ <!--
220+ NOTE: this requires Maven 3.0.x; when used with Maven 2.2.1, the following error is seen:
221+ Embedded error: Error rendering Maven report: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
222+ -->
196223 <plugin >
197224 <groupId >org.codehaus.mojo</groupId >
198225 <artifactId >javancss-maven-plugin</artifactId >
0 commit comments