Parallel maven build warnings
See original GitHub issueDescription
I’ve got following warnings when trying to use docker-maven-plugin
in parallel mode (mvn docker:build -T
):
[WARNING] *****************************************************************
[WARNING] * Your build is requesting parallel execution, but project *
[WARNING] * contains the following plugin(s) that have goals not marked *
[WARNING] * as @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 project:
[WARNING] io.fabric8:docker-maven-plugin:0.23.0
[WARNING] Enable debug to see more precisely which goals are not marked @threadSafe.
[WARNING] *****************************************************************
Info
- d-m-p version : 0.23.0
- Maven version (
mvn -v
) : 3.5.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Thread-safe warning when executing maven parallel build
I am running Maven parallel build. I am gettting some warning. ... The build is success. Can some one tell me which version...
Read more >Support parallel builds in maven : KT-10028
When I build the multimodule project in multiple threads with mvn clean install -T 2, I get the following notification for each module:...
Read more >Maven Surefire Plugin – surefire:test - Apache Maven
The goal is thread-safe and supports parallel builds. Binds by default to the lifecycle phase: test . Optional Parameters. Name, Type, Since ...
Read more >380169 – Support for maven parallel build - Bugs - Eclipse
When I try to run my build in parallel using the maven -T option (e.g. mvn -T 1C), I do get warning that...
Read more >Improve the Performance of Gradle Builds
Parallel builds can significantly improve build times; how much depends on ... Warning: Gradle's Groovy DSL relies heavily on Groovy's dynamic features.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Even though there is a warning we’ve been using it to build containers without any problems in parallel builds for months now. 🙂
@rhuss Here is a stack during a parallel build when it appears to be hung, locking on object
0x0000000782adfa28
Culprit in maven https://github.com/apache/maven/blob/maven-3.6.1/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringSearchModelInterpolator.java#L296
Based on the change log for 3.6.2 I believe this issue may be addressed. https://issues.apache.org/jira/issues/?jql=project %3D MNG AND fixVersion %3D 3.6.2
thread with the lock
thread waiting on the lock