Commit 35707c93 authored by Matteo Melli's avatar Matteo Melli

Merge branch 'fixes' into 'master'

Bugfixes

See merge request ongresinc/pgio!6
parents 2ea0a3e6 a12134b7
......@@ -7,7 +7,7 @@
<parent>
<artifactId>pgio-parent</artifactId>
<groupId>com.ongres.pgio</groupId>
<version>1.0.0</version>
<version>1.0.1-SNAPSHOT</version>
</parent>
<artifactId>main</artifactId>
......@@ -340,6 +340,7 @@
<executable>${env.GRAALVM_HOME}/bin/native-image</executable>
<arguments>
<argument>-H:IncludeResourceBundles=joptsimple.HelpFormatterMessages</argument>
<argument>-H:IncludeResourceBundles=joptsimple.ExceptionMessages</argument>
<argument>-H:ReflectionConfigurationFiles=${basedir}/src/main/svm/reflection.json</argument>
<argument>-jar</argument>
<argument>${project.build.directory}/dist/lib/${assembler.name}-${project.version}.jar</argument>
......
......@@ -244,7 +244,7 @@ public class Main {
JsonValue groups = Json.createReader(inputStream).readValue();
if (groups.getValueType() == ValueType.ARRAY) {
Json.createReader(inputStream).readArray().forEach(element -> {
groups.asJsonArray().forEach(element -> {
if (element.getValueType() == ValueType.OBJECT) {
appendFromObject(builder, element.asJsonObject());
}
......
......@@ -6,7 +6,7 @@
<groupId>com.ongres.pgio</groupId>
<artifactId>pgio-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<prerequisites>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment