-
Notifications
You must be signed in to change notification settings - Fork 304
Description
Hey guys,
Great work on the plugin first off. I'm running into the following problem and hoping someone could assist. We have a aggregator pom file that builds several modules. The first of these modules is the parent project which is inherited by every other module.
The problem I have is the following. If the check for runOnlyOnce is true then within the code it checks if the current absolutePath of the bulding project is the same as the execution directory.
This is our module layout
/ root directory
pom.xml <-- Aggregator pom file
/ module a
/ module b
/ module parent
The execution directory is / root directory, which means with runOnlyOnce set the plugin will only execute once all other modules has finished executing, which in my case is no good as I need the git information from the first module build.
To explain further what I mean.
<modules>
<module>module parent</module>
<module>module a</module>
<module>module b</module>
</modules>I was hoping runOnlyOnce will execute within the module parent project and the properties will be available on every other module build.
I guess my question is am I then doing something wrong with my maven environment? Any help would be appreciated