diff --git a/sdk/appconfiguration/azure-data-appconfiguration/pom.xml b/sdk/appconfiguration/azure-data-appconfiguration/pom.xml index 89a8c68af49dd..920a67449c151 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/pom.xml +++ b/sdk/appconfiguration/azure-data-appconfiguration/pom.xml @@ -94,4 +94,27 @@ test + + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.data.appconfiguration/com.azure.data.appconfiguration=ALL-UNNAMED + + + + + + + diff --git a/sdk/core/azure-core-amqp/pom.xml b/sdk/core/azure-core-amqp/pom.xml index 420792cc4d748..4d760e6c9bfb7 100644 --- a/sdk/core/azure-core-amqp/pom.xml +++ b/sdk/core/azure-core-amqp/pom.xml @@ -135,4 +135,30 @@ + + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.core.amqp/com.azure.core.amqp.implementation=ALL-UNNAMED + --add-opens com.azure.core.amqp/com.azure.core.amqp.implementation.handler=ALL-UNNAMED + + --add-reads com.azure.core.amqp=ALL-UNNAMED + + + + + + + diff --git a/sdk/core/azure-core-test/pom.xml b/sdk/core/azure-core-test/pom.xml index 339fe7ad6ec90..fd299b6c6e882 100644 --- a/sdk/core/azure-core-test/pom.xml +++ b/sdk/core/azure-core-test/pom.xml @@ -134,6 +134,8 @@ --add-exports org.junit.platform.commons/org.junit.platform.commons.util=ALL-UNNAMED --add-exports org.junit.platform.commons/org.junit.platform.commons.logging=ALL-UNNAMED + + --add-reads com.azure.core.test=ALL-UNNAMED diff --git a/sdk/core/azure-core/pom.xml b/sdk/core/azure-core/pom.xml index 554211b5ad027..991a3ad4ef0ef 100644 --- a/sdk/core/azure-core/pom.xml +++ b/sdk/core/azure-core/pom.xml @@ -200,22 +200,25 @@ 3.0.0-M3 - + --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED + --add-exports com.azure.core/com.azure.core.implementation.serializer=ALL-UNNAMED + --add-exports com.azure.core/com.azure.core.implementation.serializer.jackson=ALL-UNNAMED + --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.http=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.http.policy=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.http.rest=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.models.spatial=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core.implementation.entities=com.fasterxml.jackson.databind + --add-opens com.azure.core/com.azure.core.implementation.entities=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core.implementation.serializer=ALL-UNNAMED + --add-opens com.azure.core/com.azure.core.util=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.util.logging=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.util.polling=ALL-UNNAMED --add-opens com.azure.core/com.azure.core.util.serializer=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.util=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.implementation.serializer=ALL-UNNAMED - - --add-opens com.azure.core/com.azure.core.implementation.entities=com.fasterxml.jackson.databind - --add-opens com.azure.core/com.azure.core.implementation.entities=ALL-UNNAMED + --add-reads com.azure.core=ALL-UNNAMED diff --git a/sdk/cosmos/azure-cosmos/pom.xml b/sdk/cosmos/azure-cosmos/pom.xml index ecb03d9a49c85..fe687bdef68f6 100644 --- a/sdk/cosmos/azure-cosmos/pom.xml +++ b/sdk/cosmos/azure-cosmos/pom.xml @@ -496,5 +496,34 @@ Licensed under the MIT License. + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.cosmos/com.azure.cosmos=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation.caches=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation.http=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation.directconnectivity=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation.query=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.implementation.routing=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.models=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.rx=ALL-UNNAMED + --add-opens com.azure.cosmos/com.azure.cosmos.rx.proxy=ALL-UNNAMED + + + + + + diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml index 8281fbf1ae9b2..7b74cef16d39f 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml @@ -87,4 +87,28 @@ + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.messaging.eventhubs.checkpointstore.blob/com.azure.messaging.eventhubs.checkpointstore.blob=ALL-UNNAMED + + --add-reads com.azure.messaging.eventhubs=ALL-UNNAMED + + + + + + + diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/pom.xml b/sdk/formrecognizer/azure-ai-formrecognizer/pom.xml index e85d6bb528795..7b7606f816948 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/pom.xml +++ b/sdk/formrecognizer/azure-ai-formrecognizer/pom.xml @@ -82,4 +82,27 @@ test + + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.ai.formrecognizer/com.azure.ai.formrecognizer=ALL-UNNAMED + + + + + + + diff --git a/sdk/keyvault/azure-security-keyvault-certificates/pom.xml b/sdk/keyvault/azure-security-keyvault-certificates/pom.xml index 34848eb10e1d5..bd22338e69bfd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-certificates/pom.xml @@ -109,4 +109,27 @@ + + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.security.keyvault.certificates/com.azure.security.keyvault.certificates=ALL-UNNAMED + + + + + + + diff --git a/sdk/keyvault/azure-security-keyvault-keys/pom.xml b/sdk/keyvault/azure-security-keyvault-keys/pom.xml index c345549cb4132..3642c28e3a845 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-keys/pom.xml @@ -116,4 +116,27 @@ + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.security.keyvault.keys/com.azure.security.keyvault.keys=ALL-UNNAMED + --add-opens com.azure.security.keyvault.keys/com.azure.security.keyvault.keys.cryptography=ALL-UNNAMED + + + + + + + diff --git a/sdk/keyvault/azure-security-keyvault-secrets/pom.xml b/sdk/keyvault/azure-security-keyvault-secrets/pom.xml index a6bada75c9246..45d3a25edd785 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-secrets/pom.xml @@ -117,4 +117,26 @@ + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.security.keyvault.secrets/com.azure.security.keyvault.secrets=ALL-UNNAMED + + + + + + + diff --git a/sdk/parents/azure-client-sdk-parent/pom.xml b/sdk/parents/azure-client-sdk-parent/pom.xml index d0ecd0a4674b9..59c1e7b7c24b4 100644 --- a/sdk/parents/azure-client-sdk-parent/pom.xml +++ b/sdk/parents/azure-client-sdk-parent/pom.xml @@ -1085,64 +1085,6 @@ maven-surefire-plugin 3.0.0-M3 - - - --add-exports com.azure.core/com.azure.core.implementation.serializer=ALL-UNNAMED - --add-exports com.azure.core/com.azure.core.implementation.serializer.jackson=ALL-UNNAMED - --add-exports com.azure.core/com.azure.core.implementation.util=ALL-UNNAMED - --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED - - - --add-reads com.azure.core=ALL-UNNAMED - --add-reads com.azure.core.test=ALL-UNNAMED - --add-reads com.azure.core.amqp=ALL-UNNAMED - - - - --add-opens com.azure.core/com.azure.core=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.http.rest=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.util.logging=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.util.polling=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.util.serializer=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.http=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.http.policy=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.http.rest=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.util=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED - --add-opens com.azure.core/com.azure.core.implementation.serializer=ALL-UNNAMED - --add-opens com.azure.ai.formrecognizer/com.azure.ai.formrecognizer=ALL-UNNAMED - --add-opens com.azure.ai.textanalytics/com.azure.ai.textanalytics=ALL-UNNAMED - --add-opens com.azure.ai.textanalytics/com.azure.ai.textanalytics.implementation.models=com.azure.core - --add-opens com.azure.data.appconfiguration/com.azure.data.appconfiguration=ALL-UNNAMED - --add-opens com.azure.security.keyvault.certificates/com.azure.security.keyvault.certificates=ALL-UNNAMED - --add-opens com.azure.security.keyvault.secrets/com.azure.security.keyvault.secrets=ALL-UNNAMED - --add-opens com.azure.security.keyvault.keys/com.azure.security.keyvault.keys.cryptography=ALL-UNNAMED - --add-opens com.azure.security.keyvault.keys/com.azure.security.keyvault.keys=ALL-UNNAMED - - - --add-opens com.azure.cosmos/com.azure.cosmos=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation.caches=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation.http=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation.directconnectivity=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation.query=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.implementation.routing=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.models=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.rx=ALL-UNNAMED - --add-opens com.azure.cosmos/com.azure.cosmos.rx.proxy=ALL-UNNAMED - - - --add-opens com.azure.core.amqp/com.azure.core.amqp.implementation=ALL-UNNAMED - --add-opens com.azure.core.amqp/com.azure.core.amqp.implementation.handler=ALL-UNNAMED - - - --add-opens com.azure.messaging.eventhubs.checkpointstore.blob/com.azure.messaging.eventhubs.checkpointstore.blob=ALL-UNNAMED - --add-reads com.azure.messaging.eventhubs=ALL-UNNAMED - - - --add-opens com.azure.core/com.azure.core.implementation.entities=com.fasterxml.jackson.databind - --add-opens com.azure.core/com.azure.core.implementation.entities=ALL-UNNAMED - ${project.build.directory}/jacoco.exec diff --git a/sdk/textanalytics/azure-ai-textanalytics/pom.xml b/sdk/textanalytics/azure-ai-textanalytics/pom.xml index 29bb4fcf531ef..cf23a900244c6 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/pom.xml +++ b/sdk/textanalytics/azure-ai-textanalytics/pom.xml @@ -98,4 +98,28 @@ test + + + + java-lts + + [11,) + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M3 + + + --add-opens com.azure.ai.textanalytics/com.azure.ai.textanalytics=ALL-UNNAMED + --add-opens com.azure.ai.textanalytics/com.azure.ai.textanalytics.implementation.models=com.azure.core + + + + + + +