Fix maven-bundle-plugin not scanning transitive dependencies 31/27831/1
authorRobert Varga <rovarga@cisco.com>
Fri, 2 Oct 2015 16:10:12 +0000 (18:10 +0200)
committerRobert Varga <rovarga@cisco.com>
Fri, 2 Oct 2015 16:10:12 +0000 (18:10 +0200)
New version of the plugin seems disregard the Embed-Transitive
directive, leading to a failure to inline needed packages. Fix this up
by explicitly specifying them as dependencies.

Change-Id: Id8275584b57a14444b632b64c33e8afa9a01e16b
Signed-off-by: Robert Varga <rovarga@cisco.com>
binding/mdsal-binding-generator-impl/pom.xml
common/parent/pom.xml

index 4a441ded46c47fc789ef66df538ca14bd575bec5..d37501f99acb902aa1fcf118af0139ab7f38311e 100644 (file)
             <groupId>org.eclipse.xtend</groupId>
             <artifactId>org.eclipse.xtend.lib</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.eclipse.xtend</groupId>
+            <artifactId>org.eclipse.xtend.lib.macro</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.xtext</groupId>
+            <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
+        </dependency>
     </dependencies>
 
     <build>
                             {local-packages},
                             org.opendaylight.yangtools.sal.binding.generator.impl,
                         </Export-Package>
+                        <Embed-Transitive>true</Embed-Transitive>
                         <Embed-Dependency>
                             org.eclipse.xtend.lib;inline=true,
                             org.eclipse.xtend.lib.macro;inline=true,
                             org.eclipse.xtext.xbase.lib;inline=true,
                         </Embed-Dependency>
-                        <Embed-Transitive>true</Embed-Transitive>
                     </instructions>
                 </configuration>
             </plugin>
index 27fa0bca3d73769716bea37723847a35a0e84138..a463430de0304ad2c12700ebf10bc69e6739d450 100644 (file)
                 <artifactId>org.eclipse.xtend.lib</artifactId>
                 <version>2.8.4</version>
             </dependency>
+            <dependency>
+                <groupId>org.eclipse.xtend</groupId>
+                <artifactId>org.eclipse.xtend.lib.macro</artifactId>
+                <version>2.8.4</version>
+            </dependency>
+            <dependency>
+                <groupId>org.eclipse.xtext</groupId>
+                <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
+                <version>2.8.4</version>
+            </dependency>
             <dependency>
                 <groupId>org.osgi</groupId>
                 <artifactId>org.osgi.core</artifactId>