Skip to content

Commit 3159dd5

Browse files
HeshamHM28claude
authored andcommitted
fix: shade args4j and EMMA transitive deps in codeflash-runtime fat JAR
Add relocation rules for org.kohsuke (args4j) and com.vladium (EMMA RT) to prevent classpath conflicts from unshaded JaCoCo CLI transitive deps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7dba86c commit 3159dd5

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

codeflash-java-runtime/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,14 @@
178178
<pattern>org.jacoco</pattern>
179179
<shadedPattern>com.codeflash.shaded.org.jacoco</shadedPattern>
180180
</relocation>
181+
<relocation>
182+
<pattern>org.kohsuke</pattern>
183+
<shadedPattern>com.codeflash.shaded.org.kohsuke</shadedPattern>
184+
</relocation>
185+
<relocation>
186+
<pattern>com.vladium</pattern>
187+
<shadedPattern>com.codeflash.shaded.com.vladium</shadedPattern>
188+
</relocation>
181189
</relocations>
182190
<transformers>
183191
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">

0 commit comments

Comments
 (0)