diff --git a/pom.xml b/pom.xml
index a209ba6..7cfbead 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,8 +29,8 @@
UTF-8
- 1.7
- 1.7
+ 1.8
+ 1.8
3.2
2.5.3
2.7
@@ -40,19 +40,38 @@
2.5.1
2.1
2.4
+ 2.7
+ 2.6
+ 2.8.2
+ 3.4
2.5.2
4.12
18.0
- 1.0.9
+ 1.0.11
- 2.2.1
+ 3.0.4
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ ${version.maven.plugin.jar}
+
+
+ org.apache.maven.plugins
+ maven-deploy-plugin
+ ${version.maven.plugin.deploy}
+
+
+ org.apache.maven.plugins
+ maven-site-plugin
+ ${version.maven.plugin.site}
+
org.apache.maven.plugins
maven-compiler-plugin
@@ -107,7 +126,7 @@
com.mycila
license-maven-plugin
- 2.6
+ ${version.maven.plugin.license}
com/mycila/maven/plugin/license/templates/APACHE-2.txt
diff --git a/src/test/java/org/dswarm/graph/json/stream/test/ModelBuilderTest.java b/src/test/java/org/dswarm/graph/json/stream/test/ModelBuilderTest.java
index 981b994..b932714 100644
--- a/src/test/java/org/dswarm/graph/json/stream/test/ModelBuilderTest.java
+++ b/src/test/java/org/dswarm/graph/json/stream/test/ModelBuilderTest.java
@@ -96,6 +96,17 @@ public void testBuild6() throws Exception {
testBuildInternal("test-mabxml2.gson");
}
+ /**
+ * multiple CSV records to check order
+ *
+ * @throws Exception
+ */
+ @Test
+ public void testBuild7() throws Exception {
+
+ testBuildInternal("test-csv.gson");
+ }
+
private void testBuildInternal(final String testModelFile) throws Exception {
final String inputJSONString = TestUtil.getResourceAsString(testModelFile);
diff --git a/src/test/resources/test-csv.gson b/src/test/resources/test-csv.gson
new file mode 100644
index 0000000..928d71d
--- /dev/null
+++ b/src/test/resources/test-csv.gson
@@ -0,0 +1,176 @@
+[
+ {
+ "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0": [
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
+ "o": {
+ "uri": "http://data.slub-dresden.de/resources/2/schema#RecordType"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#id",
+ "o": {
+ "v": "6543"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#name",
+ "o": {
+ "v": "quietsch"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#description",
+ "o": {
+ "v": "quietsch quietsch"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#isbn",
+ "o": {
+ "v": "23400999234"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/72eb6682-4662-407b-b278-846595e56eb0"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#year",
+ "o": {
+ "v": "1956"
+ }
+ }
+ ]
+ },
+ {
+ "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff": [
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
+ "o": {
+ "uri": "http://data.slub-dresden.de/resources/2/schema#RecordType"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#id",
+ "o": {
+ "v": "5432"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#name",
+ "o": {
+ "v": "quäk"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#description",
+ "o": {
+ "v": "quäk quäk"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#isbn",
+ "o": {
+ "v": "45645688800"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/0c3a770b-8200-48e0-8dad-9404fe6ee4ff"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#year",
+ "o": {
+ "v": "1913"
+ }
+ }
+ ]
+ },
+ {
+ "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba": [
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type",
+ "o": {
+ "uri": "http://data.slub-dresden.de/resources/2/schema#RecordType"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#id",
+ "o": {
+ "v": "7654"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#name",
+ "o": {
+ "v": "plök"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#description",
+ "o": {
+ "v": "plök plök"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#isbn",
+ "o": {
+ "v": "23000543645"
+ }
+ },
+ {
+ "s": {
+ "uri": "http://data.slub-dresden.de/datamodels/DataModel-c2ef3667-bb72-4c2a-972f-13d8c46a995f/records/950f49f1-7934-49db-a60a-1df10f5088ba"
+ },
+ "p": "http://data.slub-dresden.de/resources/2/schema#year",
+ "o": {
+ "v": "2013"
+ }
+ }
+ ]
+ }
+]
\ No newline at end of file