Skip to content

Commit b068eec

Browse files
authored
fix: shade asm into flow-build-tools (#24025)
Shades ASM into flow-build-tools and relocates classes to an internal package. Prevents build time errors with projects that depend on older ASM versions. Fixes vaadin/platform#8710
1 parent 0c8a9a5 commit b068eec

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎flow-build-tools/pom.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
<include>commons-io:commons-io</include>
9595
<include>commons-codec:commons-codec</include>
9696
<include>org.apache.commons:commons-lang3</include>
97+
<include>org.ow2.asm</include>
9798
</includes>
9899
</artifactSet>
99100
<relocations>
@@ -113,6 +114,10 @@
113114
<pattern>org.apache.commons.lang3</pattern>
114115
<shadedPattern>com.vaadin.frontendtools.internal.commons.lang3</shadedPattern>
115116
</relocation>
117+
<relocation>
118+
<pattern>org.objectweb.asm</pattern>
119+
<shadedPattern>com.vaadin.frontendtools.internal.asm</shadedPattern>
120+
</relocation>
116121
</relocations>
117122
<filters>
118123
<filter>

0 commit comments

Comments
 (0)