[JDK9+] org.jboss.metadata.merge package is exported by multiple
jars
---------------------------------------------------------------------
Key: JBMETA-405
URL:
https://issues.jboss.org/browse/JBMETA-405
Project: JBoss Metadata
Issue Type: Bug
Components: common, ear
Reporter: Tomaz Cerar
Assignee: Tomaz Cerar
Priority: Major
Fix For: 12.0.0.Final
if you have
jboss-metadata-ear-11.0.0.Final.jar and jboss-metadata-common-11.0.0.Final.jar
on your module path, jvm complains as both jars export package
{{org.jboss.metadata.merge}}
which violates the modules contract where only one module (jar) can provide single
package.
example error that jvm prints
{noformat}
Error: Modules jboss.metadata.ear and jboss.metadata.common export package
org.jboss.metadata.merge to module wildfly.clustering.common
{noformat}