sorting versions for artifacts with hypen and / or dot in filename

2018-01-08 Thread hanas...@gmail.com
How is the artifact name separated from the version number if the artifact has hypens and / or dots in it? Are they sorted as Strings? example: jar1 and the war are two submodules of a parent project G:A:V = org.myorg.project org.myorg.project.jar1 (and a

Re: Make custom plugin executed only once in multimodule (inherited=false? aggregator?)

2018-01-08 Thread Robert Scholte
IIUC the aggregator only works when calling a goal directly, not as part of the lifecycle. That's why release:prepare / release:perform works I can't think of a plugin that is part of the lifecycle AND which act as an aggregator. thanks, Robert On Mon, 08 Jan 2018 14:25:36 +0100,

Re: Make custom plugin executed only once in multimodule (inherited=false? aggregator?)

2018-01-08 Thread Francois MAROT
Thanks for your response Hervé, I've made a sample plugin here: https://github.com/fmarot/print-dummy-maven-plugin When included in the "" section of a parent pom of a multimodule Maven project, the behavior is shown: when running 'mvn validate', "dummy" is printed for for each and every child