Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] Writing connector for lifecycle extension

Thanks for the reply. Essentially, I need to transform the model right after it was loaded. If I only could somehow plug into the process of loading the POM, such that m2e sees the resulting model.


Regards,
Aliaksei Lahachou


On Sun, Apr 1, 2012 at 2:42 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
m2e does not officially support maven lifecycle extensions. There is an
experimental ILifecycleMapping2 interface and related
AbstractMavenDependencyResolver class, which were introduced to allow
this, but I am not aware of any code that uses them.

--
Regards,
Igor


On 12-03-31 4:02 PM, Aliaksei Lahachou wrote:
I'm writing a plugin, which allows some extra configuration
possibilities for Maven projects
(http://htfv.github.com/build-configurator-maven-plugin/). Initially, it
was a typical mojo, and I have experience writing project configurators
- it would not be a problem to write one.

However, I recently converted mojo to a lifecycle extension (as
described here
http://maven.apache.org/examples/maven-3-lifecycle-extensions.html),
because it should do its job before any other plugin enters the game.
How do I write a connector for an extension? I can't figure out how to
write lifecycleMappingMetadata for this.


Regards,
Aliaksei Lahachou


_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev


Back to the top