diff --git a/core/deployment/src/main/java/io/quarkus/deployment/Capability.java b/core/deployment/src/main/java/io/quarkus/deployment/Capability.java
index cec753e121398..80fecb6802fa5 100644
--- a/core/deployment/src/main/java/io/quarkus/deployment/Capability.java
+++ b/core/deployment/src/main/java/io/quarkus/deployment/Capability.java
@@ -106,6 +106,8 @@ public interface Capability {
String OPENSHIFT = QUARKUS_PREFIX + "openshift";
String OPENSHIFT_CLIENT = OPENSHIFT + ".client";
+ String OIDC = QUARKUS_PREFIX + ".oidc";
+
/**
* Presence of an io.opentracing tracer (for example, Jaeger).
*/
diff --git a/extensions/oidc/runtime/pom.xml b/extensions/oidc/runtime/pom.xml
index ed66b7591675a..2833e27e5ffd9 100644
--- a/extensions/oidc/runtime/pom.xml
+++ b/extensions/oidc/runtime/pom.xml
@@ -57,6 +57,11 @@
io.quarkus
quarkus-extension-maven-plugin
+
+
+ io.quarkus.oidc
+
+
maven-compiler-plugin