Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Add CSV mapper for REST server FIX #606 #607

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
<cxf.version>3.1.8</cxf.version>
<mmm.util.version>7.3.0</mmm.util.version>
<oasp.flatten.mode>bom</oasp.flatten.mode>
<commons-io.version>2.5</commons-io.version>
<jackson.core.version>2.6.4</jackson.core.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -101,6 +103,17 @@
<artifactId>commons-collections4</artifactId>
<version>4.1</version>
</dependency>
<!-- Library for common functions (strings for example) -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<!-- Support for money datatype including operations/calculations -->
<dependency>
<groupId>org.javamoney</groupId>
Expand Down Expand Up @@ -207,6 +220,12 @@
<artifactId>jackson-core</artifactId>
<version>2.3.3</version>
</dependency>
<!-- Jackson for CSV mapping -->
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
<version>2.6.4</version>
</dependency>
<!-- Dozer for bean-mapping/conversion (Alternative to Orika) -->
<dependency>
<groupId>net.sf.dozer</groupId>
Expand Down Expand Up @@ -274,6 +293,11 @@
<artifactId>oasp4j-basic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.oasp.java.modules</groupId>
<artifactId>oasp4j-csv</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.oasp.java.modules</groupId>
<artifactId>oasp4j-batch</artifactId>
Expand Down Expand Up @@ -314,6 +338,35 @@
<artifactId>oasp4j-web</artifactId>
<version>${project.version}</version>
</dependency>

<!-- CSV -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.core.version}</version>
<!-- <version>${jackson-parent.version}</version> -->
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>${jackson.core.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
<version>${jackson.core.version}</version>
</dependency>

</dependencies>
</dependencyManagement>

Expand Down
52 changes: 52 additions & 0 deletions modules/csv/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.oasp.java.dev</groupId>
<artifactId>oasp4j-modules</artifactId>
<version>dev-SNAPSHOT</version>
</parent>

<groupId>io.oasp.java.modules</groupId>
<artifactId>oasp4j-csv</artifactId>
<version>${oasp4j.version}</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Code for manipulating CSV of the Open Application Standard Platform for Java (OASP4J).</description>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>oasp4j-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
</dependency>
</dependencies>
</project>
Loading