[jboss-jira] [JBoss JIRA] (WFLY-12393) The jberet-core module should not depend on the javaee.api module

Cheng Fang (Jira) issues at jboss.org
Thu Sep 19 22:48:00 EDT 2019


    [ https://issues.jboss.org/browse/WFLY-12393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13787037#comment-13787037 ] 

Cheng Fang commented on WFLY-12393:
-----------------------------------

A list of specific modules from {{javaee.api}} that are needed by {{jberet-core}} module:

{code:xml}
<module name="javax.batch.api"/>

<module name="javax.enterprise.api"/>

<module name="javax.inject.api"/>

<module name="javax.annotation.api"/>

{code}

> The jberet-core module should not depend on the javaee.api module
> -----------------------------------------------------------------
>
>                 Key: WFLY-12393
>                 URL: https://issues.jboss.org/browse/WFLY-12393
>             Project: WildFly
>          Issue Type: Bug
>          Components: Batch
>            Reporter: Brian Stansberry
>            Assignee: Cheng Fang
>            Priority: Major
>
> The javaee.api module is just a convenience wrapper around the various EE API modules it depends on and exports. The org.jberet.jberet-core module depends on this; it should be updated to depend on the specific APIs it need.
> Depending on javaee.api is problematic because in a server that has been slimmed using Galleon we only want to depend on modules that are actually needed and not pull in other API.



--
This message was sent by Atlassian Jira
(v7.13.5#713005)


More information about the jboss-jira mailing list