Fix Automatic-Module-Name declarations 34/100434/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Apr 2022 14:57:27 +0000 (16:57 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 6 Apr 2022 17:35:22 +0000 (19:35 +0200)
The declaration should be in <instructions/>, otherwise it is not
effective.

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

index 7907bff9a52b9b88d18daacc1d461d483b6fa93d..18b80594838cab42e12ca0a8a0f34484a16ac0b5 100644 (file)
@@ -62,8 +62,8 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <configuration>
-                    <Automatic-Module-Name>org.opendaylight.mdsal.binding.dom.codec.osgi</Automatic-Module-Name>
                     <instructions>
+                        <Automatic-Module-Name>org.opendaylight.mdsal.binding.dom.codec.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>
index e3330a009d138a7bd251b01f43fd1a903a9ebd18..639e6151c41c3f9df0e7f7cf6880c37f6f693d0d 100644 (file)
@@ -62,8 +62,8 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <configuration>
-                    <Automatic-Module-Name>org.opendaylight.mdsal.binding.runtime.osgi</Automatic-Module-Name>
                     <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>
index 5f8e4a3fd618dc18e5ae8a6d0d1c56bdd337650c..39f72856afc161914019ed38d2ccfbb8267d180c 100644 (file)
@@ -73,8 +73,8 @@
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
                 <configuration>
-                    <Automatic-Module-Name>org.opendaylight.mdsal.dom.schema.osgi</Automatic-Module-Name>
                     <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>