Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the maven build task compatible with parallel builds #16932

Closed
essobedo opened this issue May 1, 2021 · 2 comments · Fixed by #17484
Closed

Make the maven build task compatible with parallel builds #16932

essobedo opened this issue May 1, 2021 · 2 comments · Fixed by #17484
Labels
area/maven kind/enhancement New feature or request
Milestone

Comments

@essobedo
Copy link
Contributor

essobedo commented May 1, 2021

Description

So far, due to the fact that System properties can be set by the build task of the maven plugin, we could end up with build conflicts when used in parallel mode. The goal of this enhancement is to ensure that we can use parallel builds without getting conflicts.

@essobedo essobedo added the kind/enhancement New feature or request label May 1, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented May 1, 2021

/cc @quarkusio/devtools

@essobedo
Copy link
Contributor Author

After some investigation, I confirm that System properties is the worse enemy of the parallel build because of plugins like surefire that relies on the method System.setProperties which can erase System properties that could have been set by the Quarkus maven plugin in a middle of build.

I will try to investigate more this week to propose a PR soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maven kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants