[
https://issues.apache.org/jira/browse/MINSTALL-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gili updated MINSTALL-205:
--------------------------
Affects Version/s: 4.0.0-beta-1
> Warning when using install-file in parallel builds
> --------------------------------------------------
>
> Key: MINSTALL-205
> URL: https://issues.apache.org/jira/browse/MINSTALL-205
> Project: Maven Install Plugin
> Issue Type: Bug
> Components: install:install, install:install-file
> Affects Versions: 3.1.3, 4.0.0-beta-1
> Environment: Maven 3.9.9
> Reporter: Gili
> Priority: Major
>
> ePer the online documentation, `install-file`:
> * Executes as an aggregator goal.
> * The goal is thread-safe and supports parallel builds.
> But when I use it in a parallel build I get this warning:
>
> {{[WARNING]
> *****************************************************************}}
> {{[WARNING] * The
> *}}
> {{[WARNING] *
> org.apache.maven.plugins:maven-install-plugin:3.1.3:install-file *}}
> {{[WARNING] * aggregator mojo is already being executed in this parallel
> *}}
> {{[WARNING] * build, those kind of mojos require exclusive access to
> *}}
> {{[WARNING] * reactor to prevent race conditions. This mojo execution will
> *}}
> {{[WARNING] * be blocked until the aggregator mojo is done.
> *}}
> {{[WARNING]
> *****************************************************************}}
>
> Expected behavior: If the plugin is safe for use in parallel builds, it
> should not trigger this warning.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)