Andriy Zhdanov created FELIX-5430:
-------------------------------------
Summary: Classes found in the wrong directory:
{module-info.class=java.xml.ws.module-info}
Key: FELIX-5430
URL: https://issues.apache.org/jira/browse/FELIX-5430
Project: Felix
Issue Type: Bug
Components: Manifest Generator (mangen)
Environment: JDK 9
Reporter: Andriy Zhdanov
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.
{code}
$ 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}
{code}
{code}
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
{code}
Workaround is to set _failok in instructions.
Is there better workaround like excluding resource?
Could this be fixed in maven-bundle-plugin, please?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)