xbase-lib requires Guava [14.0,19), leaving us with two options:
- ship two guava versions
- eliminate YangTemplate.xtend
- inline xtext-lib binding it to Guava 21
Take the last approach, choosing not to bloat the distribution.
Change-Id: Ibd2a91ed9bf52c1d3a942282ee53b951f5d42e6b
Signed-off-by: Robert Varga <rovarga@cisco.com>
<dependency>
<groupId>org.eclipse.xtext</groupId>
<artifactId>org.eclipse.xtext.xbase.lib</artifactId>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.opendaylight.yangtools</groupId>
{local-packages},
org.opendaylight.yangtools.sal.binding.generator.impl,
</Export-Package>
+ <Embed-Transitive>true</Embed-Transitive>
+ <Embed-Dependency>org.eclipse.xtext.xbase.lib;inline</Embed-Dependency>
</instructions>
</configuration>
</plugin>
<type>xml</type>
</dependency>
-
- <dependency>
- <groupId>org.eclipse.xtext</groupId>
- <artifactId>org.eclipse.xtext.xbase.lib</artifactId>
- </dependency>
-
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>mdsal-common-api</artifactId>
<feature version='${project.version}' dependency="true">odl-mdsal-binding-base</feature>
<bundle dependency="true">mvn:org.javassist/javassist/{{VERSION}}</bundle>
<bundle dependency="true">mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
- <bundle dependency="true">mvn:org.eclipse.xtext/org.eclipse.xtext.xbase.lib/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.mdsal/mdsal-binding-generator-api/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.mdsal/mdsal-binding-generator-impl/{{VERSION}}</bundle>
<bundle>mvn:org.opendaylight.mdsal/mdsal-binding-generator-util/{{VERSION}}</bundle>