Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFCORE-7105] Use ModuleDependency.Builder instead of deprecated ModuleDependency ctor in Test Suite #6290

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading