Skip to content

Commit 30f4b55

Browse files
authored
fix: add missing relocation for nd4j shade (deeplearning4j#10218)
Signed-off-by: jearton1024 <jearton1024@gmail.com>
1 parent 70d4281 commit 30f4b55

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

nd4j/nd4j-shade/guava/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148
<pattern>com.google</pattern>
149149
<shadedPattern>org.nd4j.shade</shadedPattern>
150150
</relocation>
151+
<relocation>
152+
<pattern>javax.annotation</pattern>
153+
<shadedPattern>org.nd4j.shade</shadedPattern>
154+
</relocation>
151155
</relocations>
152156
</configuration>
153157
</plugin>

nd4j/nd4j-shade/protobuf/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@
176176
<pattern>com.google.common</pattern>
177177
<shadedPattern>org.nd4j.shade.protobuf.common</shadedPattern>
178178
</relocation>
179+
<relocation>
180+
<pattern>com.google.thirdparty</pattern>
181+
<shadedPattern>org.nd4j.shade.protobuf.thirdparty</shadedPattern>
182+
</relocation>
179183
</relocations>
180184
</configuration>
181185
</plugin>

0 commit comments

Comments
 (0)