[ 
https://issues.apache.org/jira/browse/ARIES-1826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16618154#comment-16618154
 ] 

Michael Vorburger commented on ARIES-1826:
------------------------------------------

Heh, I fixed this! Turns out blueprint-maven-plugin used a really ancient 
version of org.apache.xbean:xbean-finder-shaded, and just bumping this from 4.5 
to latest 4.9 is enough to fix this - I've just tested this IRL, against 
ODLPARENT-167. I'm guessing this pulls along a more recent version of ASM? 
Whatever the reason, it does the trick.

[~skitt] or [[email protected]] or [~gnt] would you be willing to merge 
my PR #87 to Aries on GH (above) and release a 1.10.1 soon-ish?

> blueprint-maven-plugin IllegalArgumentException from ASM, possibly Java 9 
> related
> ---------------------------------------------------------------------------------
>
>                 Key: ARIES-1826
>                 URL: https://issues.apache.org/jira/browse/ARIES-1826
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-maven-plugin-1.10.0
>            Reporter: Michael Vorburger
>            Priority: Major
>
> From [https://jira.opendaylight.org/browse/ODLPARENT-167] :
> {code:java}
> [INFO] --- blueprint-maven-plugin:1.10.0:blueprint-generate (default) @ 
> northbound-api ---
> [INFO] Package org.opendaylight will be scanned
> (...)
> [ERROR] Failed to execute goal 
> org.apache.aries.blueprint:blueprint-maven-plugin:1.10.0:blueprint-generate 
> (default) on project northbound-api: Error during blueprint generation: 
> IllegalArgumentException -> [Help 1]{code}
> With {{mvn-X}} (details in 
> [ODLPARENT-167|https://jira.opendaylight.org/browse/ODLPARENT-167]) we find 
> it's {{Caused by: java.lang.IllegalArgumentException at 
> org.apache.xbean.asm5.ClassReader.<init>}}, which could be related to it 
> scanning some Java > 8 (9/10/11) class in some JAR?
> [~gnt] or [[email protected]], I don't suppose this is a known issue 
> for which you already have a fix, or an thoughts? [~skitt] FYI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to