2012-09-11 14:55:18 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2014-08-10 05:56:49 -04:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2007-01-06 10:40:40 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2012-03-09 18:56:10 -05:00
|
|
|
<artifactId>commons-parent</artifactId>
|
2014-06-17 09:49:29 -04:00
|
|
|
<version>34</version>
|
2007-01-06 10:40:40 -05:00
|
|
|
</parent>
|
2012-09-11 14:30:53 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
2007-01-06 10:40:40 -05:00
|
|
|
<artifactId>commons-csv</artifactId>
|
2014-08-14 15:51:49 -04:00
|
|
|
<version>1.1-SNAPSHOT</version>
|
2013-10-21 11:16:01 -04:00
|
|
|
<name>Apache Commons CSV</name>
|
2013-03-22 13:49:27 -04:00
|
|
|
<url>http://commons.apache.org/proper/commons-csv/</url>
|
2012-03-18 23:08:09 -04:00
|
|
|
<description>
|
2013-10-21 11:16:01 -04:00
|
|
|
The Apache Commons CSV library provides a simple interface for reading and writing
|
2012-03-18 23:08:09 -04:00
|
|
|
CSV files of various types.
|
|
|
|
</description>
|
2012-09-11 14:51:54 -04:00
|
|
|
|
2007-01-06 10:40:40 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2012-12-05 09:49:17 -05:00
|
|
|
<version>4.11</version>
|
2007-01-06 10:40:40 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-10-11 11:45:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2014-07-15 23:11:45 -04:00
|
|
|
<version>2.4</version>
|
2012-10-11 11:45:13 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-10-14 14:08:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2014-08-10 06:21:32 -04:00
|
|
|
<version>1.4.181</version>
|
2012-10-14 14:08:58 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2007-01-06 10:40:40 -05:00
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
<developers>
|
|
|
|
<developer>
|
|
|
|
<id>bayard</id>
|
|
|
|
<name>Henri Yandell</name>
|
2008-01-04 03:47:44 -05:00
|
|
|
<email>bayard@apache.org</email>
|
2013-03-24 10:07:51 -04:00
|
|
|
<organization>The Apache Software Foundation</organization>
|
2008-01-04 03:47:44 -05:00
|
|
|
</developer>
|
|
|
|
<developer>
|
|
|
|
<name>Martin van den Bemt</name>
|
|
|
|
<id>mvdb</id>
|
|
|
|
<email>mvdb@apache.org</email>
|
2013-03-24 10:07:51 -04:00
|
|
|
<organization>The Apache Software Foundation</organization>
|
2007-01-06 10:40:40 -05:00
|
|
|
</developer>
|
2008-01-04 17:41:50 -05:00
|
|
|
<developer>
|
|
|
|
<name>Yonik Seeley</name>
|
|
|
|
<id>yonik</id>
|
|
|
|
<email>yonik@apache.org</email>
|
2013-03-24 10:07:51 -04:00
|
|
|
<organization>The Apache Software Foundation</organization>
|
2008-01-04 17:41:50 -05:00
|
|
|
</developer>
|
2012-09-11 14:51:54 -04:00
|
|
|
<developer>
|
|
|
|
<name>Gary Gregory</name>
|
|
|
|
<id>ggregory</id>
|
|
|
|
<email>ggregory@apache.org</email>
|
|
|
|
<url>http://www.garygregory.com</url>
|
|
|
|
<timezone>-5</timezone>
|
|
|
|
</developer>
|
2013-03-24 09:43:07 -04:00
|
|
|
<developer>
|
|
|
|
<name>Benedikt Ritter</name>
|
|
|
|
<id>britter</id>
|
|
|
|
<email>britter@apache.org</email>
|
2013-03-24 10:07:51 -04:00
|
|
|
<organization>The Apache Software Foundation</organization>
|
2013-03-24 09:43:07 -04:00
|
|
|
</developer>
|
2007-01-06 10:40:40 -05:00
|
|
|
</developers>
|
|
|
|
<contributors>
|
2013-08-06 10:18:40 -04:00
|
|
|
<contributor>
|
|
|
|
<name>Bob Smith</name>
|
|
|
|
</contributor>
|
2007-01-06 10:40:40 -05:00
|
|
|
</contributors>
|
|
|
|
|
|
|
|
<scm>
|
2014-08-14 15:51:49 -04:00
|
|
|
<connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/csv/tags/CSV_1.0</connection>
|
|
|
|
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/csv/tags/CSV_1.0</developerConnection>
|
|
|
|
<url>http://svn.apache.org/viewvc/commons/proper/csv/tags/CSV_1.0</url>
|
2007-01-06 10:40:40 -05:00
|
|
|
</scm>
|
|
|
|
|
2013-05-22 20:34:02 -04:00
|
|
|
<issueManagement>
|
|
|
|
<system>jira</system>
|
|
|
|
<url>http://issues.apache.org/jira/browse/CSV</url>
|
|
|
|
</issueManagement>
|
|
|
|
|
2007-01-06 10:40:40 -05:00
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
2007-08-01 17:17:32 -04:00
|
|
|
<id>apache.website</id>
|
2014-08-14 16:00:38 -04:00
|
|
|
<name>Apache Commons Site</name>
|
|
|
|
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-csv/</url>
|
2007-01-06 10:40:40 -05:00
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
|
|
|
|
2008-03-04 21:53:30 -05:00
|
|
|
<properties>
|
2012-09-11 14:51:54 -04:00
|
|
|
<commons.release.version>1.0</commons.release.version>
|
2014-08-10 04:59:44 -04:00
|
|
|
<commons.release.desc>(Java 6.0+)</commons.release.desc>
|
2012-09-11 14:51:54 -04:00
|
|
|
<!-- The RC version used in the staging repository URL. -->
|
|
|
|
<commons.rc.version>RC1</commons.rc.version>
|
2008-03-04 21:53:30 -05:00
|
|
|
<commons.componentid>csv</commons.componentid>
|
2012-03-10 19:13:46 -05:00
|
|
|
<commons.jira.id>CSV</commons.jira.id>
|
|
|
|
<commons.jira.pid>12313222</commons.jira.pid>
|
2014-07-17 11:23:10 -04:00
|
|
|
<maven.compiler.source>1.6</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.6</maven.compiler.target>
|
2012-09-11 14:51:54 -04:00
|
|
|
<!-- Ensure copies work OK (can be removed later when this is in parent POM) -->
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
<commons.encoding>UTF-8</commons.encoding>
|
2014-05-05 14:45:29 -04:00
|
|
|
|
2014-05-05 14:36:16 -04:00
|
|
|
<checkstyle.version>2.12.1</checkstyle.version>
|
2012-09-11 14:51:54 -04:00
|
|
|
<checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
|
2014-08-10 05:11:58 -04:00
|
|
|
|
|
|
|
<!-- Override jacoco version from commons parent 34, since it doesn't work with Java 8.
|
|
|
|
Remove this after commons parent 35 has been released. -->
|
|
|
|
<commons.jacoco.version>0.7.1.201405082137</commons.jacoco.version>
|
2012-09-11 14:51:54 -04:00
|
|
|
</properties>
|
2008-03-04 21:53:30 -05:00
|
|
|
|
2012-09-11 15:45:32 -04:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
|
|
|
<descriptor>src/main/assembly/bin.xml</descriptor>
|
|
|
|
<descriptor>src/main/assembly/src.xml</descriptor>
|
|
|
|
</descriptors>
|
|
|
|
<tarLongFileMode>gnu</tarLongFileMode>
|
|
|
|
</configuration>
|
2012-10-13 11:30:07 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/perf/PerformanceTest.java</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-23 15:15:59 -04:00
|
|
|
<!-- Allow checkstyle to be run interactively; keep in sync with report config below -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
<version>${checkstyle.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
|
|
|
<enableRulesSummary>false</enableRulesSummary>
|
|
|
|
<headerLocation>${checkstyle.header.file}</headerLocation>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2014-07-11 15:23:56 -04:00
|
|
|
|
|
|
|
<!-- We need to add our test data files to rat exclusions -->
|
|
|
|
<!-- Needed for command-line access, e.g mvn apache-rat:rat and mvn apache-rat:check -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<version>${commons.rat.version}</version>
|
|
|
|
<!-- Should agree with config in reporting section -->
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/bom.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_default.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_default_comment.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_rfc4180.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_rfc4180_trim.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85_default.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ferc.gov/contract.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ferc.gov/transaction.txt</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-09-11 15:45:32 -04:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2007-01-06 10:40:40 -05:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
2013-05-23 15:15:59 -04:00
|
|
|
<!-- Keep in sync with build config above -->
|
2007-01-06 19:21:43 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
2013-05-23 15:15:59 -04:00
|
|
|
<version>${checkstyle.version}</version>
|
2007-01-06 19:21:43 -05:00
|
|
|
<configuration>
|
2008-05-23 22:25:23 -04:00
|
|
|
<configLocation>${basedir}/checkstyle.xml</configLocation>
|
|
|
|
<enableRulesSummary>false</enableRulesSummary>
|
2013-05-23 15:15:59 -04:00
|
|
|
<headerLocation>${checkstyle.header.file}</headerLocation>
|
2012-09-11 14:51:54 -04:00
|
|
|
</configuration>
|
2013-04-08 16:40:45 -04:00
|
|
|
<!-- We need to specify reportSets because 2.9.1 creates two reports -->
|
|
|
|
<reportSets>
|
|
|
|
<reportSet>
|
|
|
|
<reports>
|
|
|
|
<report>checkstyle</report>
|
|
|
|
</reports>
|
|
|
|
</reportSet>
|
|
|
|
</reportSets>
|
2012-09-11 14:51:54 -04:00
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
2014-08-10 04:44:55 -04:00
|
|
|
<version>3.2</version>
|
2012-09-11 14:51:54 -04:00
|
|
|
<configuration>
|
2013-07-19 15:40:59 -04:00
|
|
|
<targetJdk>${maven.compiler.target}</targetJdk>
|
2007-01-06 19:21:43 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-09-11 14:51:54 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
2014-08-10 04:44:55 -04:00
|
|
|
<version>3.0.0</version>
|
2012-09-11 14:51:54 -04:00
|
|
|
</plugin>
|
2014-05-05 15:07:11 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<configuration>
|
|
|
|
<tagListOptions>
|
|
|
|
<tagClasses>
|
|
|
|
<tagClass>
|
|
|
|
<displayName>Needs Work</displayName>
|
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<matchString>TODO</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<matchString>FIXME</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<matchString>XXX</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
</tags>
|
|
|
|
</tagClass>
|
|
|
|
<tagClass>
|
|
|
|
<displayName>Noteable Markers</displayName>
|
|
|
|
<tags>
|
|
|
|
<tag>
|
|
|
|
<matchString>NOTE</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<matchString>NOPMD</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
<tag>
|
|
|
|
<matchString>NOSONAR</matchString>
|
|
|
|
<matchType>exact</matchType>
|
|
|
|
</tag>
|
|
|
|
</tags>
|
|
|
|
</tagClass>
|
|
|
|
</tagClasses>
|
|
|
|
</tagListOptions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2013-05-23 15:15:59 -04:00
|
|
|
<!--
|
2013-05-23 05:27:17 -04:00
|
|
|
NOTE: this requires Maven 3.0.x; when used with Maven 2.2.1, the following error is seen:
|
|
|
|
Embedded error: Error rendering Maven report: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
|
|
|
|
-->
|
2012-09-11 14:51:54 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>javancss-maven-plugin</artifactId>
|
|
|
|
<version>2.0</version>
|
|
|
|
</plugin>
|
2014-07-11 15:23:56 -04:00
|
|
|
|
|
|
|
<!-- We need to add our test data files to rat exclusions -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
<version>${commons.rat.version}</version>
|
|
|
|
<!-- Should agree with config in build section -->
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/bom.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_default.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_default_comment.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_rfc4180.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/test_rfc4180_trim.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85_default.txt</exclude>
|
|
|
|
<exclude>src/test/resources/CSVFileParser/testCSV85_ignoreEmpty.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ferc.gov/contract.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ferc.gov/transaction.txt</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2007-01-06 10:40:40 -05:00
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2014-08-14 16:00:38 -04:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>setup-checkout</id>
|
|
|
|
<activation>
|
|
|
|
<file>
|
|
|
|
<missing>site-content</missing>
|
|
|
|
</file>
|
|
|
|
</activation>
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
<version>1.7</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>prepare-checkout</id>
|
|
|
|
<phase>pre-site</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>run</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<exec executable="svn">
|
|
|
|
<arg line="checkout --depth immediates ${commons.scmPubUrl} ${commons.scmPubCheckoutDirectory}" />
|
|
|
|
</exec>
|
|
|
|
|
|
|
|
<exec executable="svn">
|
|
|
|
<arg line="update --set-depth exclude ${commons.scmPubCheckoutDirectory}/javadocs" />
|
|
|
|
</exec>
|
|
|
|
|
|
|
|
<pathconvert pathsep=" " property="dirs">
|
|
|
|
<dirset dir="${commons.scmPubCheckoutDirectory}" includes="*" />
|
|
|
|
</pathconvert>
|
|
|
|
<exec executable="svn">
|
|
|
|
<arg line="update --set-depth infinity ${dirs}" />
|
|
|
|
</exec>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2007-01-06 10:40:40 -05:00
|
|
|
</project>
|