diff --git a/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java b/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java
index <HASH>..<HASH> 100644
--- a/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java
+++ b/datasources-agroal/src/main/java/org/wildfly/extension/datasources/agroal/deployment/DataSourceDefinitionInjectionSource.java
@@ -231,6 +231,7 @@ class DataSourceDefinitionInjectionSource extends ResourceDefinitionInjectionSou
         DataSourceDefinitionService dataSourceService = new DataSourceDefinitionService(bindInfo, transactional, dataSourceConfiguration);
         phaseContext.getServiceTarget().addService(dataSourceServiceName).setInstance(dataSourceService).install();
 
-        serviceBuilder.addDependency(bindInfo.getBinderServiceName()).addDependency(dataSourceServiceName, ManagedReferenceFactory.class, injector);
+        serviceBuilder.requires(bindInfo.getBinderServiceName());
+        serviceBuilder.addDependency(dataSourceServiceName, ManagedReferenceFactory.class, injector);
     }
 }
[WFLY-<I>] Refactoring - eliminating ServiceBuilder.addDependency(ServiceName) method usages in agroal subsystem.