[
https://issues.jboss.org/browse/WFLY-9851?page=com.atlassian.jira.plugin....
]
Radoslav Husar commented on WFLY-9851:
--------------------------------------
Tangentially, spi module seems to bring in more dependencies than needed, fixing
WFLY-9857.
Remove security dependency on clustering subsystem / infinispan
---------------------------------------------------------------
Key: WFLY-9851
URL:
https://issues.jboss.org/browse/WFLY-9851
Project: WildFly
Issue Type: Task
Components: Clustering, Domain Management, Security
Reporter: Tomaz Cerar
Assignee: Paul Ferraro
Priority: Critical
Currently security subsystem depends on clustering subsystem modules which bring in a big
transitive dependency tree (that cannot be broken).
Dependency is there only to establish capability requirements.
Please change code to use string constants instead of enums from clustering subsystem to
break down the dependency tree. Whole reason for capabilities was to not have tightly
coupled subsystems.
current sip from security subsystem dependency tree
{noformat}
[INFO] +-
org.wildfly:wildfly-clustering-infinispan-spi:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | +- org.wildfly:wildfly-clustering-common:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | | +- org.wildfly:wildfly-clustering-service:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | | \- org.wildfly:wildfly-naming:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | | +- org.wildfly:wildfly-naming-client:jar:1.0.7.Final:compile
[INFO] | | | +- org.wildfly.client:wildfly-client-config:jar:1.0.0.Final:compile
[INFO] | | | \-
org.jboss.marshalling:jboss-marshalling-river:jar:2.0.2.Final:compile
[INFO] | | \-
org.wildfly.wildfly-http-client:wildfly-http-naming-client:jar:1.0.9.Final:compile
[INFO] | | +-
org.wildfly.wildfly-http-client:wildfly-http-client-common:jar:1.0.9.Final:compile
[INFO] | | +-
org.jboss.spec.javax.ejb:jboss-ejb-api_3.2_spec:jar:1.0.1.Final:compile
[INFO] | | \-
org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:compile
[INFO] | +-
org.wildfly:wildfly-clustering-marshalling-spi:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | | \-
org.wildfly:wildfly-clustering-marshalling-api:jar:12.0.0.Beta2-SNAPSHOT:compile
[INFO] | +- org.infinispan:infinispan-core:jar:9.1.6.Final:compile
[INFO] | | \- org.infinispan:infinispan-commons:jar:9.1.6.Final:compile
[INFO] | \- com.github.ben-manes.caffeine:caffeine:jar:2.6.1:compile
{noformat}
we even bring in inifinspan, as otherwise it does not compile.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)