[jboss-jira] [JBoss JIRA] (WFLY-3095) Weld subsystem exposes way too much dependancies to user deployment

Tomaz Cerar (JIRA) issues at jboss.org
Thu May 28 06:19:02 EDT 2015


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

Tomaz Cerar commented on WFLY-3095:
-----------------------------------

Having deployment depend on internals of the subsystem itself is a bad practice as we expose whole integration code to deployment which can lead to unwanted results.

Could it be possible to have some extra module that both org.jboss.as.weld & deployment depend on so that serialization would work?


> Weld subsystem exposes way too much dependancies to user deployment
> -------------------------------------------------------------------
>
>                 Key: WFLY-3095
>                 URL: https://issues.jboss.org/browse/WFLY-3095
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 8.0.0.Final
>            Reporter: Tomaz Cerar
>            Assignee: Jozef Hartinger
>            Priority: Critical
>             Fix For: 10.0.0.Alpha2
>
>
> module org.jboss.as.weld should not be added as dependency to user deployment.
> It has way too much dependencies and some of them export their dependencies which than end up in user deployment.
> We should probably have extra module for stuff that is exposed to deployment.
> Also lots of dependencies that weld subsystem has should be optional as we shouldn't be required to have dependency to almost every single subsystem we have as required.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list