2012-09-11 14:55:18 -04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!--
|
2016-11-26 01:15:38 -05:00
|
|
|
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
|
2012-09-11 14:55:18 -04:00
|
|
|
|
2016-11-26 01:15:38 -05:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2012-09-11 14:55:18 -04:00
|
|
|
|
2016-11-26 01:15:38 -05:00
|
|
|
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.
|
2012-09-11 14:55:18 -04:00
|
|
|
-->
|
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>
|
2018-09-19 04:32:55 -04:00
|
|
|
<version>47</version>
|
2007-01-06 10:40:40 -05:00
|
|
|
</parent>
|
|
|
|
<artifactId>commons-csv</artifactId>
|
2018-09-25 09:11:34 -04:00
|
|
|
<version>1.7-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>
|
2014-12-06 11:21:38 -05:00
|
|
|
<version>4.12</version>
|
2007-01-06 10:40:40 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2017-10-09 15:22:53 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
<artifactId>mockito-all</artifactId>
|
2017-10-09 15:26:57 -04:00
|
|
|
<version>1.10.19</version>
|
2017-10-09 15:22:53 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-10-11 11:45:13 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
<artifactId>commons-io</artifactId>
|
2017-10-20 12:04:51 -04:00
|
|
|
<version>2.6</version>
|
2012-10-11 11:45:13 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-01-18 21:38:09 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2018-09-27 11:53:33 -04:00
|
|
|
<version>3.8.1</version>
|
2016-01-18 21:38:09 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2012-10-14 14:08:58 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
2019-02-23 09:21:19 -05:00
|
|
|
<version>1.4.198</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>
|
2015-02-08 18:47:27 -05:00
|
|
|
<developer>
|
|
|
|
<name>Emmanuel Bourg</name>
|
|
|
|
<id>ebourg</id>
|
|
|
|
<email>ebourg@apache.org</email>
|
|
|
|
<organization>Apache</organization>
|
|
|
|
</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>
|
|
|
|
</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>
|
2017-05-27 20:34:39 -04:00
|
|
|
<developer>
|
|
|
|
<name>Rob Tompkins</name>
|
|
|
|
<id>chtompki</id>
|
|
|
|
<email>chtompki@apache.org</email>
|
|
|
|
<organization>The Apache Software Foundation</organization>
|
|
|
|
</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>
|
2016-07-10 15:33:02 -04:00
|
|
|
<connection>scm:git:http://git-wip-us.apache.org/repos/asf/commons-csv.git</connection>
|
|
|
|
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/commons-csv.git</developerConnection>
|
|
|
|
<url>https://git-wip-us.apache.org/repos/asf?p=commons-csv.git</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>
|
2019-02-23 09:24:36 -05:00
|
|
|
<commons.release.version>1.7</commons.release.version>
|
2019-02-24 10:04:45 -05:00
|
|
|
<commons.release.desc>(Java 8)</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>
|
2017-05-27 20:34:39 -04:00
|
|
|
<commons.module.name>org.apache.commons.csv</commons.module.name>
|
2012-03-10 19:13:46 -05:00
|
|
|
<commons.jira.id>CSV</commons.jira.id>
|
|
|
|
<commons.jira.pid>12313222</commons.jira.pid>
|
2018-09-19 05:54:57 -04:00
|
|
|
<project.inceptionYear>2005</project.inceptionYear>
|
2019-02-24 10:04:45 -05:00
|
|
|
<maven.compiler.source>1.8</maven.compiler.source>
|
|
|
|
<maven.compiler.target>1.8</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
|
|
|
|
2019-02-23 09:33:17 -05:00
|
|
|
<checkstyle.version>3.0.0</checkstyle.version>
|
2012-09-11 14:51:54 -04:00
|
|
|
<checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
|
2014-10-29 10:36:35 -04:00
|
|
|
<checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt</checkstyle.resourceExcludes>
|
2018-09-19 04:32:55 -04:00
|
|
|
|
|
|
|
<!-- Fix for COMMONSSITE-124 remove once commons-parent 48 has been released -->
|
|
|
|
<commons.scmPubUrl>https://svn.apache.org/repos/infra/websites/production/commons/content/proper/${project.artifactId}</commons.scmPubUrl>
|
2018-09-19 04:38:30 -04:00
|
|
|
<!-- Fix for COMMONSSITE-125 remove once commons-parent 48 has been released -->
|
|
|
|
<commons.osgi.symbolicName>org.apache.commons.${commons.componentid}</commons.osgi.symbolicName>
|
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>
|
2017-08-01 14:41:47 -04:00
|
|
|
<defaultGoal>clean verify apache-rat:check clirr:check javadoc:javadoc</defaultGoal>
|
2014-11-08 19:05:03 -05:00
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
|
|
<version>1.1</version>
|
|
|
|
<configuration>
|
|
|
|
<ignorePathsToDelete>
|
|
|
|
<ignorePathToDelete>archives/**</ignorePathToDelete>
|
|
|
|
</ignorePathsToDelete>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
2016-07-10 15:33:02 -04:00
|
|
|
</pluginManagement>
|
2012-09-11 15:45:32 -04:00
|
|
|
<plugins>
|
2015-02-09 04:12:00 -05:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<testExcludes>
|
|
|
|
<testExclude>**/*Benchmark*</testExclude>
|
|
|
|
</testExcludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2012-09-11 15:45:32 -04:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<descriptors>
|
2015-08-22 11:12:56 -04:00
|
|
|
<descriptor>src/assembly/bin.xml</descriptor>
|
|
|
|
<descriptor>src/assembly/src.xml</descriptor>
|
2012-09-11 15:45:32 -04:00
|
|
|
</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>
|
|
|
|
</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>
|
|
|
|
<!-- Should agree with config in reporting section -->
|
|
|
|
<configuration>
|
|
|
|
<excludes>
|
2016-05-23 13:48:54 -04:00
|
|
|
<!-- These files are used as test data and test result specifications. -->
|
2016-05-05 08:48:51 -04:00
|
|
|
<exclude>src/test/resources/csv-167/sample1.csv</exclude>
|
2017-08-01 14:38:31 -04:00
|
|
|
<exclude>src/test/resources/CSV-198/optd_por_public.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSV-213/999751170.patch.csv</exclude>
|
2014-07-11 15:23:56 -04:00
|
|
|
<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>
|
2016-05-23 16:47:06 -04:00
|
|
|
<!-- The ferc.gov files are included discussion in https://issues.apache.org/jira/browse/LEGAL-175. -->
|
2014-07-11 15:23:56 -04:00
|
|
|
<exclude>src/test/resources/ferc.gov/contract.txt</exclude>
|
|
|
|
<exclude>src/test/resources/ferc.gov/transaction.txt</exclude>
|
|
|
|
</excludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2018-09-19 04:51:35 -04:00
|
|
|
|
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>
|
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>
|
2019-02-23 09:38:00 -05:00
|
|
|
<version>3.11.0</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>
|
|
|
|
</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>
|
2015-12-26 18:42:00 -05:00
|
|
|
<version>2.1</version>
|
2012-09-11 14:51:54 -04:00
|
|
|
</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>
|
2016-05-05 08:48:51 -04:00
|
|
|
<exclude>src/test/resources/csv-167/sample1.csv</exclude>
|
2017-08-26 18:31:03 -04:00
|
|
|
<exclude>src/test/resources/CSV-198/optd_por_public.csv</exclude>
|
|
|
|
<exclude>src/test/resources/CSV-213/999751170.patch.csv</exclude>
|
2014-07-11 15:23:56 -04:00
|
|
|
<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>
|
2015-08-10 02:55:02 -04:00
|
|
|
<version>1.8</version>
|
2014-08-14 16:00:38 -04:00
|
|
|
<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>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
|
|
|
|
<!-- Profile to build and run the benchmarks. Use 'mvn test -Pbenchmark', and add '-Dbenchmark=foo' to run only the foo benchmark -->
|
|
|
|
<profile>
|
|
|
|
<id>benchmark</id>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-core</artifactId>
|
|
|
|
<version>1.5.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.openjdk.jmh</groupId>
|
|
|
|
<artifactId>jmh-generator-annprocess</artifactId>
|
|
|
|
<version>1.5.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>genjava</groupId>
|
|
|
|
<artifactId>gj-csv</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<dependency>
|
2016-11-26 01:07:56 -05:00
|
|
|
<groupId>net.sourceforge.javacsv</groupId>
|
|
|
|
<artifactId>javacsv</artifactId>
|
|
|
|
<version>2.0</version>
|
2015-02-08 18:47:27 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.opencsv</groupId>
|
|
|
|
<artifactId>opencsv</artifactId>
|
|
|
|
<version>3.1</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>net.sf.supercsv</groupId>
|
|
|
|
<artifactId>super-csv</artifactId>
|
|
|
|
<version>2.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
|
2015-08-10 02:51:39 -04:00
|
|
|
<!-- Not in Maven Central, download manually from http://kasparov.skife.org/csv/csv-1.0.jar and install with:
|
|
|
|
mvn install:install-file -Dfile=E:/Java/skife.org/csv-1.0.jar -DgroupId=org.skife.kasparov -DartifactId=csv -Dversion=1.0 -Dpackaging=jar -->
|
2015-02-08 18:47:27 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.skife.kasparov</groupId>
|
|
|
|
<artifactId>csv</artifactId>
|
|
|
|
<version>1.0</version>
|
|
|
|
</dependency>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-09 07:58:44 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2017-06-15 01:44:09 -04:00
|
|
|
<version>3.6</version>
|
2015-02-09 07:58:44 -05:00
|
|
|
</dependency>
|
2015-02-08 18:47:27 -05:00
|
|
|
</dependencies>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<properties>
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
<benchmark>org.apache</benchmark>
|
|
|
|
</properties>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<!-- Enable the compilation of the benchmarks -->
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<configuration combine.self="override">
|
|
|
|
<testIncludes>
|
|
|
|
<testInclude>**/*</testInclude>
|
|
|
|
</testIncludes>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2016-07-10 15:33:02 -04:00
|
|
|
|
2015-02-08 18:47:27 -05:00
|
|
|
<!-- Hook the benchmarks to the test phase -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>benchmark</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>exec</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<classpathScope>test</classpathScope>
|
|
|
|
<executable>java</executable>
|
|
|
|
<arguments>
|
|
|
|
<argument>-classpath</argument>
|
|
|
|
<classpath/>
|
|
|
|
<argument>org.openjdk.jmh.Main</argument>
|
|
|
|
<argument>-rf</argument>
|
|
|
|
<argument>json</argument>
|
|
|
|
<argument>-rff</argument>
|
|
|
|
<argument>target/jmh-result.json</argument>
|
|
|
|
<argument>${benchmark}</argument>
|
|
|
|
</arguments>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
</profile>
|
2017-10-02 06:02:32 -04:00
|
|
|
|
|
|
|
<profile>
|
|
|
|
<id>java9</id>
|
|
|
|
<activation>
|
|
|
|
<jdk>9</jdk>
|
|
|
|
</activation>
|
|
|
|
<properties>
|
|
|
|
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
|
|
|
|
<coveralls.skip>true</coveralls.skip>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
2014-08-14 16:00:38 -04:00
|
|
|
</profiles>
|
|
|
|
|
2007-01-06 10:40:40 -05:00
|
|
|
</project>
|