Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there a way for plugin goals to be aware of the phase they are being executed on?

executed goals phase plugin
0
Posted

Is there a way for plugin goals to be aware of the phase they are being executed on?

0

I’ve got my plugin pom setup to build everything and construct the final zip file. The issue I’m trying to wrap my brain around is keeping my feature.xml and site.xml files up to date with the correct version info. Since I can’t use versions like 1.0.0-SNAPSHOT in my plugin, I have to munge the plugins pom version into something like 1.0.0.v${DATETIME} and insert that into the plugins descriptor (plugin.xml). Since the version in the plugin.xml changes I have to update the plugin entries in the feature descriptor (feature.xml), rev the feature and update the site.xml with the new feature version.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.