You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bd...@apache.org on 2022/11/30 21:04:14 UTC

[directory-scimple] 01/01: Add jandex index

This is an automated email from the ASF dual-hosted git repository.

bdemers pushed a commit to branch janex
in repository https://gitbox.apache.org/repos/asf/directory-scimple.git

commit d70a5066a22742260711a955ebd71708e3993cf7
Author: Brian Demers <bd...@apache.org>
AuthorDate: Wed Nov 30 16:04:06 2022 -0500

    Add jandex index
    
    Allows for Quarkus/Smallrye to find JAX-RS components across jars
---
 pom.xml                              | 13 +++++++++++++
 scim-server/pom.xml                  |  9 +++++++++
 scim-spec/scim-spec-protocol/pom.xml |  8 ++++++++
 3 files changed, 30 insertions(+)

diff --git a/pom.xml b/pom.xml
index 7b8d5209..b7a09903 100644
--- a/pom.xml
+++ b/pom.xml
@@ -521,6 +521,19 @@
             <artifactId>jacoco-maven-plugin</artifactId>
             <version>0.8.8</version>
           </plugin>
+          <plugin>
+            <groupId>io.smallrye</groupId>
+            <artifactId>jandex-maven-plugin</artifactId>
+            <version>3.0.4</version>
+            <executions>
+              <execution>
+                <id>make-index</id>
+                <goals>
+                  <goal>jandex</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
       </plugins>
     </pluginManagement>
   </build>
diff --git a/scim-server/pom.xml b/scim-server/pom.xml
index 51ad2cab..36c00043 100644
--- a/scim-server/pom.xml
+++ b/scim-server/pom.xml
@@ -140,4 +140,13 @@
 
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>io.smallrye</groupId>
+        <artifactId>jandex-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>
diff --git a/scim-spec/scim-spec-protocol/pom.xml b/scim-spec/scim-spec-protocol/pom.xml
index f581b2df..a96ebb14 100644
--- a/scim-spec/scim-spec-protocol/pom.xml
+++ b/scim-spec/scim-spec-protocol/pom.xml
@@ -69,4 +69,12 @@
       <scope>test</scope>
     </dependency>
 </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>io.smallrye</groupId>
+        <artifactId>jandex-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
+  </build>
 </project>