Importing Maven Projects using Lifecycle Extensions
Hi,
We have some a bunch of custom maven lifecycle extensions that we're now using on our projects which affect dependency resolution - essentially they read properties from outside of the pom.xml, and used by the POM inside the <version> element of dependencies.
It would seem that when IntelliJ resolves the project, it doesn't seem to include any lifecycle extensions ( declared in .mvn/extensions.xml in the project root ), so our dependency resolution breaks in the projects.
( our projects also require Maven 3.3.9 to build, so we have to configure IDEA to use a non-bundled version as well ).
Is there any way of getting lifecycle extensions to work? Or is this something that requires some love from the IntelliGods.
Cheers
Mark
Please sign in to leave a comment.
Please report an issue at https://youtrack.jetbrains.com/issues/IDEA and attach a sample project to reproduce it. Thank you.
Hi Mark,
I am facing a similar issue, where a Maven extension (implementing an EventSpy implementation) declared in project's root folder under ".mvn/extensions.xml" is not invoked, when I execute Maven from within IDEA.
Did you solve your problem with your lifecycle extensions? Any hints?
Cheers,
Leo
5 years gone.
Any news so far?
@Rsolod Could you please provide a demo project to reproduce a problem?