Skip to content

Commit

Permalink
Add CSV mapper for REST server FIX oasp#606
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-lavigne committed Nov 24, 2017
1 parent 63e897f commit 36db86c
Show file tree
Hide file tree
Showing 10 changed files with 2,001 additions and 0 deletions.
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

0 comments on commit 36db86c

Please sign in to comment.