You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ba...@apache.org on 2024/12/18 13:51:43 UTC

(jackrabbit-oak) branch trunk updated: OAK-6767: Remove felix SCR annotation support from parent pom (#1910)

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

baedke pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 437375bdc9 OAK-6767: Remove felix SCR annotation support from parent pom (#1910)
437375bdc9 is described below

commit 437375bdc9eb5207b6019587f9a21d6d018ff9bf
Author: mbaedke <ma...@gmail.com>
AuthorDate: Wed Dec 18 14:51:38 2024 +0100

    OAK-6767: Remove felix SCR annotation support from parent pom (#1910)
    
    Done
---
 oak-parent/pom.xml         | 24 ------------------------
 oak-search-elastic/pom.xml |  5 -----
 2 files changed, 29 deletions(-)

diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml
index 66843c46e9..b30d7c29d8 100644
--- a/oak-parent/pom.xml
+++ b/oak-parent/pom.xml
@@ -142,23 +142,6 @@
           <version>5.1.9</version>
           <extensions>true</extensions>
           <inherited>true</inherited>
-          <dependencies>
-            <dependency>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>org.apache.felix.scr.bnd</artifactId>
-                <version>1.9.6</version>
-                <exclusions>
-                    <!--
-                        This SCR plugin pulls in a bnd version with a different artifactId, thus leading
-                        to two bnd artifacts existing at the same time.
-                      -->
-                    <exclusion>
-                        <groupId>biz.aQute.bnd</groupId>
-                        <artifactId>bnd</artifactId>
-                    </exclusion>
-                </exclusions>
-            </dependency>
-          </dependencies>
           <configuration>
             <exportScr>true</exportScr>
             <obrRepository>NONE</obrRepository>
@@ -171,8 +154,6 @@
               <!-- Don't default to bundle version for packages without explicit export version.
                    See FELIX-5172 -->
               <_nodefaultversion>true</_nodefaultversion>
-              <!-- Support parsing of maven-scr-plugin annotations through the felix.scr.bnd plugin -->
-              <_plugin>org.apache.felix.scrplugin.bnd.SCRDescriptorBndPlugin;destdir=${project.build.outputDirectory}</_plugin>
             </instructions>
           </configuration>
           <executions>
@@ -540,11 +521,6 @@
         <artifactId>org.osgi.annotation.versioning</artifactId>
         <version>1.1.2</version><!-- R7 version, https://docs.osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/package-summary.html -->
       </dependency>
-      <dependency>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>org.apache.felix.scr.annotations</artifactId>
-        <version>1.12.0</version>
-      </dependency>
       <dependency>
         <groupId>org.jetbrains</groupId>
         <artifactId>annotations</artifactId>
diff --git a/oak-search-elastic/pom.xml b/oak-search-elastic/pom.xml
index 99f4f163f5..c1d022395b 100644
--- a/oak-search-elastic/pom.xml
+++ b/oak-search-elastic/pom.xml
@@ -99,11 +99,6 @@
       <artifactId>org.osgi.service.component</artifactId>
       <scope>provided</scope>
     </dependency>
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
     <dependency>
       <groupId>org.osgi</groupId>
       <artifactId>org.osgi.annotation.versioning</artifactId>