Archived
fix: add picocli-codegen for GraalVM native-image support
The native binary was crashing on startup because picocli's reflection metadata wasn't being generated for GraalVM native-image. Added picocli-codegen annotation processor to generate the required reflect-config.json at compile time. Bumped version to 0.1.1. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
13655f5a54
commit
d6a27aab3b
3 files changed
+18
-2
No files matched your search
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.samsonmedia</groupId>
|
||||
<artifactId>barn</artifactId>
|
||||
<version>0.1.0</version>
|
||||
<version>0.1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>Barn</name>
|
||||
@@ -135,6 +135,16 @@
|
||||
<arg>-Xlint:-processing</arg>
|
||||
<arg>-Werror</arg>
|
||||
</compilerArgs>
|
||||
<annotationProcessorPaths>
|
||||
<path>
|
||||
<groupId>info.picocli</groupId>
|
||||
<artifactId>picocli-codegen</artifactId>
|
||||
<version>${picocli.version}</version>
|
||||
</path>
|
||||
</annotationProcessorPaths>
|
||||
<compilerArgs combine.children="append">
|
||||
<arg>-Aproject=${project.groupId}/${project.artifactId}</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
|
||||
Reference in new issue
Block a user