From bd32ea0d1dda9d93085866159df90e967b59aaf2 Mon Sep 17 00:00:00 2001 From: Felix Barnsteiner Date: Tue, 18 Jan 2022 10:27:44 +0100 Subject: [PATCH] Fix profile activation for non-apple silicon Relying on true does not work when a profile, such as the IntelliJ profile is active --- apm-agent-plugins/apm-grpc/pom.xml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/apm-agent-plugins/apm-grpc/pom.xml b/apm-agent-plugins/apm-grpc/pom.xml index 8b308405b7..bbddcfcb44 100644 --- a/apm-agent-plugins/apm-grpc/pom.xml +++ b/apm-agent-plugins/apm-grpc/pom.xml @@ -40,10 +40,29 @@ - default + non-mac - true + + !mac + + + + + apm-grpc-plugin + apm-grpc-test-1.6.1 + + apm-grpc-test-latest + + + + mac-non-apple-silicon + + + mac + !aarch64 + + apm-grpc-plugin apm-grpc-test-1.6.1 @@ -56,7 +75,7 @@ Old grpc/protobuf compilers don't support mac aarch64 (Apple Silicon, such as M1) Therefore, excluding apm-grpc-test-1.6.1 --> - apple-silicon + mac-apple-silicon mac