Cut down xtend dependencies 02/37102/7
authorRobert Varga <rovarga@cisco.com>
Mon, 4 Apr 2016 19:17:45 +0000 (21:17 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Wed, 6 Apr 2016 11:21:36 +0000 (11:21 +0000)
This cuts down the dependencies required to the single jar
our use of xtend requires. Even that is gutted to only take
minimum contents, as needed by the generated code.

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

index dc1a4ff17ac8c226b41048e6c8fceed342f92265..cc0e5afa529a84970ea6cd1e9cd6ddb22f2d5aa0 100644 (file)
             <groupId>com.google.guava</groupId>
             <artifactId>guava</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.eclipse.xtend</groupId>
-            <artifactId>org.eclipse.xtend.lib</artifactId>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.eclipse.xtend</groupId>
-            <artifactId>org.eclipse.xtend.lib.macro</artifactId>
-            <scope>provided</scope>
-        </dependency>
         <dependency>
             <groupId>org.eclipse.xtext</groupId>
             <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
                         </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,
+                            org.eclipse.xtext.xbase.lib;inline=org/eclipse/xtend2/lib/*.class|
+                            org/eclipse/xtext/xbase/lib/IterableExtensions*.class|
+                            org/eclipse/xtext/xbase/lib/Functions*.class|
+                            org/eclipse/xtext/xbase/lib/StringExtensions*.class|
+                            org/eclipse/xtext/xbase/lib/internal/FunctionDelegate.class|
+                            org/eclipse/xtext/xbase/lib/internal/BooleanFunctionDelegate.class,
                         </Embed-Dependency>
                     </instructions>
                 </configuration>