Gili created MINSTALL-205:
-----------------------------

             Summary: 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
    Affects Versions: 3.1.3
         Environment: Maven 3.9.9
            Reporter: Gili


Per 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)

Reply via email to