Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Using maven-git-versioning-extension alongside with m2e

Ok, thanks for the clarification. I guess we have to simplify our workflow and omit the branch-version rewrites.

Am Fr., 20. Sept. 2019 um 10:02 Uhr schrieb Fred Bricon <fbricon@xxxxxxxxx>:
Sorry but m2e doesn't support .mvn extensions at this time. It's a non-trivial project to solve. The same maven runtime is used for all projects of the workspace.
If you add extensions to the mix, those would leak into unrelated projects in the same Eclipse workspace, leading to unexpected issues.
Anyone willing to tackle this issue, please be my guest.

On Fri, Sep 20, 2019 at 9:35 AM Ansgar Berhorn <ansgar@xxxxxxxxxx> wrote:
Hello out there,

has anyone experience in using the maven-git-versioning-extension (https://github.com/qoomon/maven-git-versioning-extension) with m2e?
My use case is to rewrite the version dynamically according to the current branch. With maven on commandline or with IntelliJ the configuration of the extension is respected, in Eclipse via the m2e dependency resolution not.
Does anyone have experience in using maven-git-versioning-extension when working with m2e?
The attached screen shows the problem (version should resolve to the branch name 12.0.0, but m2e continues to resolve 0.0.0).

Thanks a lot in advance for any hint!

grafik.png
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/m2e-users


--
"Have you tried turning it off and on again" - The IT Crowd
And if that fails, then http://goo.gl/tnBgH5
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/m2e-users

Back to the top