Hello,

I need to add a custom action executed during release:prepare and _only_ then. (What I actually want to do is generating a meta-data file containing information on the latest released version and upload it to some location).

I did some research, and it seems I could run additional goals using preparationGoals http://maven.apache.org/plugins/maven-release-plugin/examples/run-goals-before-commit.html.

My question is how to assure that those actions won't be triggered as a part of the standard maven lifecycle? What I would be interested in is having a custom goal (e.g. release_metadata_preparation), executed with

<preparationGoals>clean release_metadata_preparation<preparationGoals>

But release_metadata_preparation needs to be a goal _detached_ from the standard maven lifecycle. Is it possible to create such orphaned goals? Sorry if it is a newbie question.

Cheers,
Lukasz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to