csvobjects
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.csvobjects</groupId>
<artifactId>csvobjects</artifactId>
<version>4.0.1</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.csvobjects</groupId>
<artifactId>csvobjects</artifactId>
<version>4.0.1</version>
<name>CSVObjects</name>
<description>CSV parser and JavaBean mapper driven by declarative XML configuration, with mapping metadata cross-verified against custom @csv.* Javadoc tags.</description>
<url>https://csvobjects.org/</url>
<licenses>
<license>
<name>GNU General Public License, version 2 or later</name>
<url>https://www.gnu.org/licenses/old-licenses/gpl-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:https://github.com/evolve75/csvobjects.git</connection>
<developerConnection>scm:git:ssh://git@github.com/evolve75/csvobjects.git</developerConnection>
<url>https://github.com/evolve75/csvobjects</url>
<tag>R4.0.1</tag>
</scm>
<developers>
<developer>
<name>Anupam Sengupta</name>
<email>anupamsg@gmail.com</email>
<url>https://github.com/evolve75</url>
<organizationUrl>https://csvobjects.org/</organizationUrl>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.release>17</maven.compiler.release>
<junit.jupiter.version>5.12.2</junit.jupiter.version>
<commons.csv.version>1.14.1</commons.csv.version>
</properties>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>${commons.csv.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.4.1</version>
<configuration>
<filesets>
<fileset>
<directory>${project.basedir}</directory>
<includes>
<include>CSVObjects.log</include>
<include>CSVObjects.log.*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<release>${maven.compiler.release}</release>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.5.0</version>
<executions>
<execution>
<id>enforce-java-and-maven</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[17,)</version>
</requireJavaVersion>
<requireMavenVersion>
<version>[3.9,)</version>
</requireMavenVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<excludes>
<exclude>**/*TimedTest.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.12</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>checkstyle</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<!-- Use modern built-in defaults instead of legacy project-specific rules. -->
<configLocation>google_checks.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failOnViolation>true</failOnViolation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<executions>
<execution>
<id>checkstyle-report</id>
<phase>verify</phase>
<goals>
<goal>checkstyle</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>docs</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<source>${maven.compiler.release}</source>
<doclint>none</doclint>
<encoding>${project.build.sourceEncoding}</encoding>
<additionalOptions>
<additionalOption>-taglet</additionalOption>
<additionalOption>org.csvobjects.csv.taglets.CSVBeanMappingTaglet</additionalOption>
<additionalOption>-taglet</additionalOption>
<additionalOption>org.csvobjects.csv.taglets.CSVFieldMappingTaglet</additionalOption>
<additionalOption>-taglet</additionalOption>
<additionalOption>org.csvobjects.csv.taglets.CSVFormatterMappingTaglet</additionalOption>
<additionalOption>-tagletpath</additionalOption>
<additionalOption>${project.build.outputDirectory}</additionalOption>
</additionalOptions>
<tags>
<tag>
<name>csv.bean-mapping</name>
<placement>a</placement>
<head>CSV Bean mapping:</head>
</tag>
<tag>
<name>csv.field-mapping</name>
<placement>a</placement>
<head>CSV Field mapping:</head>
</tag>
<tag>
<name>csv.formatter-mapping</name>
<placement>a</placement>
<head>CSV Formatter:</head>
</tag>
</tags>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<phase>verify</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!--
Publishes signed release artifacts to Maven Central via the
Sonatype Central Portal. Requires:
- GPG signing key configured for maven-gpg-plugin (either the
default key, or gpg.keyname/gpg.passphrase properties).
- A <server> entry in ~/.m2/settings.xml whose id matches
<publishingServerId> below, holding Central Portal
publishing token credentials.
- org.csvobjects namespace ownership verified on the Central
Portal (see issue #12 in the 4.0.0 tracking issue).
Run together with the docs profile so sources+javadoc+binary
are all present: mvn deploy -Prelease,docs
-->
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.7</version>
<configuration>
<!--
Headless CI signing: force non-interactive passphrase
handling instead of waiting on a pinentry prompt.
gpg.passphrase is populated by actions/setup-java from
the GPG_PASSPHRASE env var (see release.yml).
-->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>