Skip to content

[MINSTALL-205] Warning when using install-file in parallel builds #251

Open
@jira-importer

Description

@jira-importer

Gili opened MINSTALL-205 and commented

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.


Affects: 3.1.3, 4.0.0-beta-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions