[ https://issues.apache.org/jira/browse/KARAF-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-6004. ----------------------------------------- Resolution: Fixed > karaf-maven-plugin:assembly results in ArrayIndexOutOfBoundsException > --------------------------------------------------------------------- > > Key: KARAF-6004 > URL: https://issues.apache.org/jira/browse/KARAF-6004 > Project: Karaf > Issue Type: Bug > Components: karaf > Affects Versions: 4.2.1 > Reporter: Lars Kiesow > Assignee: Jean-Baptiste Onofré > Priority: Major > Labels: maven, tooling > Fix For: 4.2.2 > > Attachments: build.txt > > > Trying to upgrade from Karaf 4.1.6 to Karaf 4.2.1 for a custom assembly > results in an ArrayIndexOutOfBoundsException without any specific information > from the karaf-maven-plugin. > The error I get is just: > [ERROR] Failed to execute goal > org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly (default-assembly) > on project opencast-dist-develop: Unable to build assembly: -1 -> [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.1:assembly > (default-assembly) on project opencast-dist-develop: Unable to build asse > mbly [...] Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 [...] > See the attached logs for more details. > > Updating to 4.2.0 instead works just fine. Hence the problem lies between > Karaf 4.2.0 and 4.2.1 -- This message was sent by Atlassian JIRA (v7.6.3#76005)