Skip to content

Commit

Permalink
Merge pull request #6290 from ropalka/WFCORE-7105
Browse files Browse the repository at this point in the history
[WFCORE-7105] Use ModuleDependency.Builder instead of deprecated ModuleDependency ctor in Test Suite
  • Loading branch information
yersan authored Dec 19, 2024
2 parents 254ae0b + 8e07fbb commit b979d7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ private void addModuleDependencies(DeploymentUnit deploymentUnit) {
// Pull in dependencies needed by deployments in the subsystem

// This is needed if running with a security manager, and seems to be needed by arquillian in all cases
moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, "org.wildfly.security.manager", false, false, true, false));
moduleSpecification.addSystemDependency(ModuleDependency.Builder.of(moduleLoader, "org.wildfly.security.manager").setImportServices(true).build());
moduleSpecification.addSystemDependency(
cdiDependency(new ModuleDependency(moduleLoader, "org.wildfly.core.test.extension.unstable-api-annotation-test-subsystem", false, false, true, false)));
cdiDependency(ModuleDependency.Builder.of(moduleLoader, "org.wildfly.core.test.extension.unstable-api-annotation-test-subsystem").setImportServices(true).build()));
}


Expand Down

0 comments on commit b979d7b

Please sign in to comment.