diff --git a/pom.xml b/pom.xml
index 84bcff4..c48308d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,11 +3,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
-
- org.hypergraphdb
- hypergraphdb
- 1.4-SNAPSHOT
-
bundle
${groupId}-${artifactId};singleton:=true
@@ -16,7 +11,7 @@
jar
org.hypergraphdb
hgdbmjson
- 1.4-SNAPSHOT
+ 2.0-SNAPSHOT
HyperGraphDB MJSON Persistence
@@ -34,7 +29,7 @@
org.hypergraphdb
hgdb
- 1.4-SNAPSHOT
+ 2.0-SNAPSHOT
org.sharegov
@@ -44,13 +39,13 @@
org.hypergraphdb
hgdbtest
- 1.4-SNAPSHOT
+ 2.0-SNAPSHOT
test
org.hypergraphdb
hgbdbje
- 1.4-SNAPSHOT
+ 2.0-SNAPSHOT
test
@@ -63,11 +58,52 @@
-
-
- test/resources
-
-
+ target
+ target/classes
+ ${project.artifactId}-${project.version}
+ src/java
+ target/test-classes
+ test/java
+
+
+ test/resources
+
+
+
+
+ org.apache.maven.wagon
+ wagon-ssh
+ 2.10
+
+
+
+
+
+ org.eclipse.m2e
+ lifecycle-mapping
+ 1.0.0
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+ [1.0.0,)
+
+ unpack
+
+
+
+
+
+
+
+
+
+
+
+
org.apache.maven.plugins
@@ -81,7 +117,7 @@
org.apache.felix
maven-bundle-plugin
- 1.4.0
+ 4.2.1
true
META-INF
@@ -93,6 +129,29 @@
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.8.1
+
+ 11
+ 11
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ always
+ -Djava.library.path=${project.build.directory}/lib
+
+ **/*.java
+
+ true
+
+ true
+
+
diff --git a/test/java/hgtest/mjsonapp/CrossProductResultTests.java b/test/java/hgtest/mjsonapp/CrossProductResultTests.java
index fccfcaa..008822a 100644
--- a/test/java/hgtest/mjsonapp/CrossProductResultTests.java
+++ b/test/java/hgtest/mjsonapp/CrossProductResultTests.java
@@ -30,7 +30,7 @@ String toString(List tuple)
Iterator I = tuple.iterator();
while (I.hasNext())
{
- sb.append(graph.get(I.next()));
+ sb.append(graph.get(I.next()).toString());
if (I.hasNext()) sb.append(", ");
}
sb.append("]");
@@ -86,7 +86,7 @@ public Object call()
{
while (rs.hasNext())
{
- System.out.println(graph.get(rs.next().get(0)));
+ System.out.println((String) graph.get(rs.next().get(0)));
atoms.remove(rs.current().get(0));
}
}