Remove _dsannotations-options override 93/101293/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 25 May 2022 14:44:19 +0000 (16:44 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 25 May 2022 14:44:19 +0000 (16:44 +0200)
We have a modern maven-bundle-plugin, which includes a fixed-up bnd
library and generates proper provides to match ComponentFactory
annotations. Remove suppressions that were needed to make these work.

Change-Id: Ia2a19c69fa11c1d89df733143449fa6954701024
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/pom.xml
binding/mdsal-binding-dom-codec-osgi/pom.xml
binding/mdsal-binding-runtime-osgi/pom.xml
dom/mdsal-dom-schema-osgi/pom.xml

index 87367ab0165f22da42b35e5fb119cb17f17c9798..a8ed8dabd917ca9544fbb895a23c32495fc9c5b9 100644 (file)
                 <extensions>true</extensions>
                 <configuration>
                     <Automatic-Module-Name>org.opendaylight.mdsal.binding.dom.adapter</Automatic-Module-Name>
-                    <instructions>
-                        <!-- Karaf cannot handle Factory Component requirements, see https://issues.apache.org/jira/browse/KARAF-6625 -->
-                        <_dsannotations-options>norequirements</_dsannotations-options>
-                    </instructions>
                 </configuration>
             </plugin>
             <plugin>
index abf540296ae63ab3c720c4e7d349c5890f6330bd..705966d6fca0461a8e263d7efcf068a760d0bc04 100644 (file)
             <scope>test</scope>
         </dependency>
     </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        <!-- Karaf cannot handle Factory Component requirements, see https://issues.apache.org/jira/browse/KARAF-6625 -->
-                        <_dsannotations-options>norequirements</_dsannotations-options>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>
index 27ce3f429e39c70729b57a59ecf4dc733ac49639..2ca3b5fe61ebdbc410e75814d8b9701af7df01c4 100644 (file)
@@ -64,8 +64,6 @@
                 <configuration>
                     <instructions>
                         <Automatic-Module-Name>org.opendaylight.mdsal.binding.runtime.osgi</Automatic-Module-Name>
-                        <!-- Karaf cannot handle Factory Component requirements, see https://issues.apache.org/jira/browse/KARAF-6625 -->
-                        <_dsannotations-options>norequirements</_dsannotations-options>
                     </instructions>
                 </configuration>
             </plugin>
index f25083c4c2677cc655bcbc0faee0015d60527af0..d3402111ce35704f4c821412737c58fedad5ed07 100644 (file)
@@ -75,8 +75,6 @@
                 <configuration>
                     <instructions>
                         <Automatic-Module-Name>org.opendaylight.mdsal.dom.schema.osgi</Automatic-Module-Name>
-                        <!-- Karaf cannot handle Factory Component requirements, see https://issues.apache.org/jira/browse/KARAF-6625 -->
-                        <_dsannotations-options>norequirements</_dsannotations-options>
                     </instructions>
                 </configuration>
             </plugin>