Replies: 1 comment 7 replies
-
I think it definatly would help to share an example, CI-Friendly Versions are mostly not supported very well in m2e but we might can improve support in that aread. I assume you have enabled resoloution of workspace artifacts already? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
suppose I have in Eclipse 2 projects: A v1 and B v2. But A's pom references B v1.
By default, Eclipse will put the local repo's jar (in $HOME/.m2/) in A's classpath instead of directly referencing B because the version differ.
Is there any setting that would allow all modules to be referenced if they are available in the IDE independently of the version ?
Why am I asking this ? Because I want to have fully dynamic versions in my pom. So A will have in its pom
<version>${revision}${changelist}</version>
but it will reference B with<version>1</version>
. But locally, B's version will also be<version>${revision}${changelist}</version>
in its pom ! Not<version>1</version>
.The goal is to have multiple inter-dependant projects being runnable/debuggable in the IDE while being CI-friendly (the CI will set revision to a number and changelist to the git branch name).
Happy Halloween all !
François
Beta Was this translation helpful? Give feedback.
All reactions