Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[osgi] xtext.m2e and xtend.m2e can not be started
Package uses conflict: Require-Bundle: org.eclipse.xtext.ui; bundle-version="0.0.0" Because m2e.maven.runtime exports com.google.inject 1.4 and we consume juice 3 (com.google.inject 1.3.0), both package 1.3 and 1.4 were accessible in org.eclipse.xtext.m2e. The uses Directive in xtext.util for com.google.inject finally causes the 'uses' diagnosis to fail. Fixed the issue by changing from require bundle to package import. Instead requiring the whole huge m2e.maven.runtime we import just the two packages we need. Signed-off-by: Dennis Huebner <dennis.huebner@itemis.de>
- Loading branch information
Showing
5 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters