[MINSTALL-205] Remove unnecessary aggregator=true from install-file install-file does not access the reactor projects - it installs an arbitrary external file into the local repository. The aggregator=true flag was causing Maven to acquire an exclusive write lock when the mojo ran, serializing all concurrent install-file executions in parallel builds (-T N) and emitting a spurious warning: The org.apache.maven.plugins:maven-install-plugin:...:install-file aggregator mojo is already being executed in this parallel build, those kind of mojos require exclusive access to reactor to prevent race conditions. This mojo execution will be blocked until the aggregator mojo is done. The mojo already carries projectRequired=false which is sufficient to allow invocation from a multi-module root without a project context. Removing aggregator=true lets concurrent install-file executions run truly in parallel without any warning. Fixes: https://github.com/apache/maven-install-plugin/issues/251
You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to the open source community. Before you dig right into the code, there are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.
We accept Pull Requests via GitHub. The developer mailing list is the main channel of communication for contributors.
There are some guidelines which will make applying PRs easier for us:
git diff --check before committing.mvn -Prun-its verify to assure nothing else was accidentally broken.If you plan to contribute on a regular basis, please consider filing a contributor license agreement.