Java 10: Update asm and use latest asm for maven-shade-plugin.
Problem shading JAR vespa-http-client.jar entry
com/yahoo/vespa/http/client/Result$ResultType.class:
java.lang.IllegalArgumentException
IllegalArgumentException
at org.objectweb.asm.ClassReader.<init> (ClassReader.java:160)
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
+ <dependencies>
+ <!-- TODO: Remove for shade-plugin 3.1.2 - https://issues.apache.org/jira/browse/MSHADE-289 -->
+ <dependency>
+ <groupId>org.ow2.asm</groupId>
+ <artifactId>asm</artifactId>
+ <version>${asm.version}</version>
+ </dependency>
+ </dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
- <version>6.1.1</version>
+ <version>${asm.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<properties>
<antlr.version>3.5.2</antlr.version>
<antlr4.version>4.5</antlr4.version>
+ <asm.version>6.2</asm.version>
<!-- Athenz dependencies. Make sure these dependencies matches those in Vespa's internal repositories -->
<athenz.version>1.7.43</athenz.version>
<commons-lang.version>2.6</commons-lang.version>
