diff --git a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml
index c0b0d1f8ce126..2e972ae5ab313 100644
--- a/sdk/resourcemanager/azure-resourcemanager-network/pom.xml
+++ b/sdk/resourcemanager/azure-resourcemanager-network/pom.xml
@@ -51,7 +51,6 @@
--add-opens com.azure.resourcemanager.resources/com.azure.resourcemanager.resources.fluentcore.arm=ALL-UNNAMED
--add-opens com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED
- true