On 08/25/2016 09:26 AM, Martin Kouba wrote:
Hi Scott,
FYI I'm working on WFLY-6941 [1] to split Weld subsystem into several
modules. So it shouln't be a problem to add one more module for
WeldPortableExtensions and similar stuff.
Thanks Martin, I'll link WFLY-2387 to WFLY-6941.
I don't know much about Capabilities but to me it looks like overkill
for this specific problem.
Martin
[1]
https://issues.jboss.org/browse/WFLY-6941
Dne 25.8.2016 v 14:49 Scott Marlow napsal(a):
> If I have the WildFly JPA subsystem depend on org.jboss.as.weld
> (org.jboss.as.weld static module), that introduces a cycle that maven
> complains about [1], since wildfly-weld depends on wildfly-jpa already.
>
> I pushed my test branch to github [2], which builds on the proposed
> upgrade to use Hibernate ORM 5.1 in WF 11.
>
> Should we switch to use the "Capabilities" hammer to expose the
> org.jboss.as.weld.deployment.WeldPortableExtensions class that the JPA
> subsystem needs access to? Or should we work around this minor
> difficulty by exposing WeldPortableExtensions via an additional module
> that the wildfly-jpa can access?
>
> Scott
>
> [1] The projects in the reactor contain a cyclic reference:
>
> Edge between
> 'Vertex{label='org.wildfly:wildfly-weld:11.0.0.Alpha1-SNAPSHOT '}'
and
> 'Vertex{label='org.wildfly:wildfly-jpa:11.0.0.Alpha1-SNAPSHOT'}'
> introduces to cycle in the graph
> org.wildfly:wildfly-jpa:11.0.0.Alpha1-SNAPSHOT -->
> org.wildfly:wildfly-weld:11.0.0.Alpha1-SNAPSHOT -->
> org.wildfly:wildfly-jpa:11.0.0.Alpha1-SNAPSHOT
>
> [2]
>
https://github.com/scottmarlow/wildfly/tree/WFLY-2387_ORM51_CDI_INJECTION
>
> [3]
>
https://docs.jboss.org/author/display/WFLY10/Working+with+WildFly+Capabil...
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/wildfly-dev
>