[Xcore/Maven] Xcore code generation with maven [message #1796311] |
Wed, 10 October 2018 05:45  |
Eclipse User |
|
|
|
Hi all,
I've inherited a project with the following, simplified, setup:
- Multiple projects that require code to be generated from xcore files. These
projects are modules in a larger maven project.
- The generated code is necessary at compile time.
- Several projects that have dependencies on projects earlier in the build order.
To keep it simple, say I have projects A and B. B has a dependency on A, as defined in B's manifest.mf file. During the maven phase generate-sources project B throws the error that the dependency on the artifact of project A (jar file)
could not be found. This makes sense, since in the generate-sources phase the code hasn't been compiled and installed yet, but I don't believe this should be necessary to generate the sources from the .xcore files.
The full error:
Could not resolve dependencies for project com.company.project:com.company.projectB:eclipse-plugin:1.0.0-SNAPSHOT: Could not find artifact com.company.project:com.company.projectA:jar:1.0.0-SNAPSHOT
Any help would be appreciated!
|
|
|
|
Powered by
FUDForum. Page generated in 0.05095 seconds