[jboss-jira] [JBoss JIRA] (WFLY-11124) The wildfly-testsuite-shared module brings in all WildFly dependencies
James Perkins (Jira)
issues at jboss.org
Fri Oct 5 13:44:00 EDT 2018
James Perkins created WFLY-11124:
------------------------------------
Summary: The wildfly-testsuite-shared module brings in all WildFly dependencies
Key: WFLY-11124
URL: https://issues.jboss.org/browse/WFLY-11124
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: James Perkins
Assignee: James Perkins
The {{org.wildfly:wildfly-testsuite-shared}} has a dependency all the main 3 Galleon feature-packs.
{code:xml}
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wildfly-galleon-pack</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>wildfly-servlet-galleon-pack</artifactId>
<type>pom</type>
</dependency>
<dependency>
<groupId>org.wildfly.core</groupId>
<artifactId>wildfly-core-galleon-pack</artifactId>
<type>pom</type>
</dependency>
{code}
This means that all tests that which use the shared module, likely all of them, end up with the entirety of WildFly on the test class path. In most cases this is not an issue. However an issue was uncovered with the IBM JDK in WFLY-10529. The tests should definitely not have a transitive dependency on things like that or for example the {{org.wildfly.core:wildfly-controller}}. If dependencies like those are needed they should be explicitly defined as those are not public API's.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list