Skip to main content

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

Very cool solution! :D

2016-05-28 21:57 GMT+02:00 Anton Tanasenko <atg.sleepless@xxxxxxxxx>:
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.


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.

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


Back to the top