Weird maven-dependency-plugin copy problem with emf.common.2.19 [message #1850868] |
Sat, 19 March 2022 20:50  |
Eclipse User |
|
|
|
I know this is a Maven problem and not an EMF problem, I'm just writing here in a desperate attempt to get any clues as to what might be happening.
I'm trying to build a standalone Xtext compiler, and I've had a Maven recipe that has worked for years. Suddenly, the recipe has stopped working and the first problem I'm hitting is:
For some unexplained reason, the maven-dependency-plugin copies the org.emf.common.2.19 plugin into the resulting jar - but it doesn't copy ANY of it's classes. Instead of a 367KB emf.common jar in my fatjar, I get a 19KB jar that has a manifest, but it has ZERO classes.
So when I run my compiler, it immediately dies when it tries to access "common EMF stuff".
Since I'm not really doing anything specific to my problem other than asking maven (and Tycho I suppose) to copy my deps, why in the world would it know that I need eclipse.emf.common, but then copy the most shallow representation of it without any classes?
[Updated on: Sat, 19 March 2022 20:51] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04068 seconds