Skip to content

[MJAR-140] Performance degredation  #309

@jira-importer

Description

@jira-importer

Eran Harel opened MJAR-140 and commented

I migrated maven to version 3.0.1 in order to utilize the parallel build experimental feature.
As a result I get the following warning:

[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project      *
[WARNING] * contains the following plugin(s) that are not marked as       *
[WARNING] * @threadSafe to support parallel building.                     *
[WARNING] * While this /may/ work fine, please look for plugin updates    *
[WARNING] * and/or request plugins be made thread-safe.                   *
[WARNING] * If reporting an issue, report it against the plugin in        *
[WARNING] * question, not against maven-core                              *
[WARNING] *****************************************************************
[WARNING] The following plugins are not marked @threadSafe in DataBuilder:
[WARNING] org.apache.maven.plugins:maven-eclipse-plugin:2.8
[WARNING] org.apache.maven.plugins:maven-jar-plugin:2.2
[WARNING] *****************************************************************

I upgraded the maven-jar-plugin to the latest version (2.3.1), and the message is gone, but now the builds take much longer: minutes added!!!
The build takes about x 1.5 longer now.

I also compared the maven 3 parallel build time with the new jar-plugin VS a serial build with the old 2.2 plugin version I had. The results are that same, while when using the parallel build with the 2.2 plugin I see a significant ~30% performance boost.


Affects: 2.3, 2.3.1

1 votes, 0 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions