Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Support for gitflow-Extension via m2e-connector - possible solution?

Instead of MavenPlugin.getMaven(File pomFile), MavenPlugin.getMaven(IProject) would be more suitable. Such a thing would also be usefull for m2e-pde to resolve a target using the pom configured repositories instead of only the global ones.

Beside this, this would also be a perquisite for a m2e-tycho extension support.


Am 23.02.21 um 09:50 schrieb Mickael Istria:
As I understand it, the main issue is that there is a singleton Maven runtime in m2e; which is usually good, except for projects that have extensions where we want some isolation. I think efforts should be driven towards allowing projects to have dedicated runtimes used for processing their project build or plugin execution; basically replacing occurrences of MavenPlugin.getMaven() by MavenPlugin.getMaven(File pomFile) that would allow either to return the common Maven instance, or another instance enriched with extensions for project that have some.

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/m2e-dev



Back to the top