Skip to content

Commit

Permalink
native image SPI config (DE-456)
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao committed Feb 23, 2023
1 parent e2710ac commit 65967e4
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.arangodb</groupId>
<artifactId>jackson-dataformat-velocypack</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
<inceptionYear>2017</inceptionYear>
<packaging>jar</packaging>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Args=\
-H:ResourceConfigurationResources=${.}/resource-config-spi.json \
-H:ReflectionConfigurationResources=${.}/reflect-config-spi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"name": "com.arangodb.jackson.dataformat.velocypack.VPackFactory",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
},
{
"name": "com.arangodb.jackson.dataformat.velocypack.VPackMapper",
"methods": [
{
"name": "<init>",
"parameterTypes": []
}
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"resources": {
"includes": [
{
"pattern": "META-INF/services/com.fasterxml.jackson.core.JsonFactory"
},
{
"pattern": "META-INF/services/com.fasterxml.jackson.core.ObjectCodec"
},
{
"pattern": "META-INF/services/com.fasterxml.jackson.core.TokenStreamFactory"
}
]
},
"bundles": []
}

0 comments on commit 65967e4

Please sign in to comment.