Skip to content

Commit bb4ff63

Browse files
cryptobenchclaude
andcommitted
Fix ACME provider discovery by not relocating acme4j
ServiceLoader couldn't find providers after package relocation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a3ff96e commit bb4ff63

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,14 +108,15 @@
108108
</goals>
109109
<configuration>
110110
<relocations>
111-
<relocation>
112-
<pattern>org.shredzone.acme4j</pattern>
113-
<shadedPattern>com.easywebmap.shaded.acme4j</shadedPattern>
114-
</relocation>
111+
<!-- Don't relocate acme4j - breaks ServiceLoader provider discovery -->
115112
<relocation>
116113
<pattern>org.bouncycastle</pattern>
117114
<shadedPattern>com.easywebmap.shaded.bouncycastle</shadedPattern>
118115
</relocation>
116+
<relocation>
117+
<pattern>org.jose4j</pattern>
118+
<shadedPattern>com.easywebmap.shaded.jose4j</shadedPattern>
119+
</relocation>
119120
</relocations>
120121
<filters>
121122
<filter>

0 commit comments

Comments
 (0)