Mark Raynsford created FELIX-5527: ------------------------------------- Summary: Bundle plugin Embed-Dependency complains about class files in META-INF Key: FELIX-5527 URL: https://issues.apache.org/jira/browse/FELIX-5527 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Affects Versions: maven-bundle-plugin-3.2.0 Environment: Linux copperhead 4.8.13-1-ARCH #1 SMP PREEMPT Fri Dec 9 07:24:34 CET 2016 x86_64 GNU/Linux
openjdk version "1.8.0_121" OpenJDK Runtime Environment (build 1.8.0_121-b13) OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode) Apache Maven 3.3.9 (NON-CANONICAL_2015-11-23T13:17:27+03:00_root; 2015-11-23T10:17:27+00:00) Maven home: /opt/maven Java version: 1.8.0_121, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: "linux", version: "4.8.13-1-arch", arch: "amd64", family: "unix" Reporter: Mark Raynsford As of Java 9, it's no longer a mistake to have included class files in the META-INF directory of a bundle. However, if the Embed-Dependency instruction is used to pack the contents of a jar file into a bundle, and the original jar file happened to have class files in META-INF, the execution fails with an error. A repro case is included in the following repository: https://github.com/io7m/maven-bundle-plugin-bug-20170207 Just "mvn clean package". -- This message was sent by Atlassian JIRA (v6.3.15#6346)