diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 80504cda49..dd13e73229 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -57,4 +57,4 @@ jobs:
distribution: 'temurin'
cache: maven
- name: build (11)
- run: mvn -T 8 clean install --no-transfer-progress -B -V
\ No newline at end of file
+ run: mvn -T 8 clean install -P ranger-jdk11,!all,!linux --no-transfer-progress -B -V
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 373ae1b19d..23bf434572 100644
--- a/pom.xml
+++ b/pom.xml
@@ -337,9 +337,6 @@
ranger-jdk11
11
-
- linux
-