Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Using PIs in the pom.xml for lifecycle mapping

Hi,
Igor voiced an idea some time ago about using processing instructions in the pom to specify plugin execucion lifecycle mappings.
So being annoyed by the overly verbose syntax of existing mappings (huge plugin configuration block for a single goal), I've tried to implement it using PIs.

Here's a screencast: http://screencast.com/t/FvDQpprVVf

It's a crude implementation and I have not thought much about syntax, so it's just converted to a standalone xml tag at runtime and parsed using standard xpp3 means, hence the need for attribute value in ignore="true". It works anywhere within the 'execution' tag and targets that single execution.

Any thoughts and suggestions on the format and any additional usecases for using PIs are much appreciated.


--
Regards,
Anton.

Back to the top