Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
JDK 9
Description
Using maven-bundle-plugin to generate manifest for JDK9 Early Access Jigsaw module, it complains regarding module-info.class, that it is in wrong directory.
$ mvn -org.apache.felix:maven-bundle-plugin:manifest [ERROR] Manifest javax.xml.ws:jaxws-api:jar:2.3.0-SNAPSHOT : Classes found in the wrong directory: {module-info.class=java.xml.ws.module-info}
Caused by: org.apache.maven.plugin.MojoFailureException: Error(s) found in manifest configuration at org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:309) at org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:100) ... 24 more
Workaround is to set _failok in instructions.
Is there better workaround like excluding resource?
Could this be fixed in maven-bundle-plugin, please?