[jboss-jira] [JBoss JIRA] (WFCORE-4612) Dependency on javaee.api by ExternalModuleDependencySpecService should be optional
Brian Stansberry (Jira)
issues at jboss.org
Mon Aug 19 17:40:00 EDT 2019
Brian Stansberry created WFCORE-4612:
----------------------------------------
Summary: Dependency on javaee.api by ExternalModuleDependencySpecService should be optional
Key: WFCORE-4612
URL: https://issues.jboss.org/browse/WFCORE-4612
Project: WildFly Core
Issue Type: Enhancement
Components: Server
Reporter: Brian Stansberry
Assignee: Brian Stansberry
The module spec for any module created by ExternalModuleSpecService has a dependency on javaee.api added. That should be an optional dependency, allowing this feature to be used in slimmed servers that may not have the javaee.api module installed.
It seems it's pretty easy to provision such a server, as that module is not heavily depended on:
{code}
$ git grep javaee.api | grep module.xml | grep -v src/test
feature-pack/src/main/resources/modules/system/layers/base/com/sun/jsf-impl/main/module.xml: <module name="javaee.api"/>
feature-pack/src/main/resources/modules/system/layers/base/com/sun/jsf-impl/main/module.xml: reexported by javaee.api. -->
feature-pack/src/main/resources/modules/system/layers/base/javaee/api/main/module.xml:<module xmlns="urn:jboss:module:1.5" name="javaee.api">
feature-pack/src/main/resources/modules/system/layers/base/org/jberet/jberet-core/main/module.xml: <module name="javaee.api"/>
jsf/multi-jsf-installer/src/main/resources/mojarra-impl-module.xml: <module name="javaee.api"/>
jsf/multi-jsf-installer/src/main/resources/mojarra-impl-module.xml: reexported by javaee.api. -->
jsf/multi-jsf-installer/src/main/resources/myfaces-impl-module.xml: <module name="javaee.api"/>
jsf/multi-jsf-installer/src/main/resources/myfaces-impl-module.xml: reexported by javaee.api. -->
{code}
JavaEEDependencyProcessor in WildFly explicitly does not add javaee.api as a dep.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list