Skip to content

Commit cdc842e

Browse files
committed
native image configuration
1 parent 878fd4d commit cdc842e

File tree

6 files changed

+1454
-1
lines changed

6 files changed

+1454
-1
lines changed

dev-README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# dev-README
2+
3+
## native image reflection configuration
4+
5+
To generate reflection configuration run `helper.NativeImageHelper` and copy the generated json to `src/main/resources/META-INF/native-image/com.arangodb/arangodb-java-driver/reflect-config.json`.

pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.arangodb</groupId>
77
<artifactId>arangodb-java-driver</artifactId>
8-
<version>6.6.0</version>
8+
<version>6.6.1-SNAPSHOT</version>
99
<inceptionYear>2016</inceptionYear>
1010
<packaging>jar</packaging>
1111

@@ -218,6 +218,12 @@
218218
<version>0.1.5</version>
219219
<scope>test</scope>
220220
</dependency>
221+
<dependency>
222+
<groupId>org.reflections</groupId>
223+
<artifactId>reflections</artifactId>
224+
<version>0.9.12</version>
225+
<scope>test</scope>
226+
</dependency>
221227
</dependencies>
222228

223229
<dependencyManagement>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Args= -H:ReflectionConfigurationResources=${.}/reflect-config.json \
2+
--allow-incomplete-classpath \
3+
--initialize-at-run-time=com.arangodb.internal.http.HttpConnection

0 commit comments

Comments
 (0)