Hi,

Maybe it is related to @aggregator on the goal of the plugin?

http://maven.apache.org/developers/mojo-api-specification.html


Regards,

Julien


----- Mail original -----
> De : Ben Tatham <[email protected]>
> À : [email protected]
> Cc : 
> Envoyé le : Mercredi 7 Décembre 2011 15h41
> Objet : How to run a plugin across all modules during release:perform
> 
> Hi,
> We have a custom plugin that runs whenever we release a project.  Most of
> our projects are _not_ multi-module, so it generally works fine by adding
> that plugin to the release-plugin <goals>.  However, when I add that into
> the root pom of a multi-module build, it only runs on the top-level
> project, even though the modules inherit from that pom and do declare
> maven-release-plugin so in theory, it should pick up that configuration.
> 
> Is there a way to force the plugin to run in each module during release?
> I've explored options on the plugin itself [1] and options on the
> maven-release-plugin[2] , but can't find anything about this issue.
> 
> Specifically, our plugin goes through our scm repository and updates the
> dependencies in all our designated pom's to the newly released version of
> the project being released - so we also want the module projects to get
> updated in our repository.
> 
> Thanks,
> Ben
> 
> [1] http://maven.apache.org/developers/mojo-api-specification.html
> [2] http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html
> 
> -- 
> Ben Tatham
> Software Developer
> Nanometrics Inc.
> +1 613-592-6776 x254
> http://www.nanometrics.ca
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to