Skip to content

Commit

Permalink
[MNG-7976] Investigate MNG-6127 IT instability (apache#1422)
Browse files Browse the repository at this point in the history
Signed-off-by: crazyhzm <crazyhzm@apache.org>
  • Loading branch information
CrazyHZM committed Feb 28, 2024
1 parent 83949a7 commit ab6ec5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public DefaultLifecycleMapping(final List<Lifecycle> lifecycles) {
/**
* Plexus: Populates the lifecycle map from the injected list of lifecycle mappings (if not already done).
*/
private void initLifecycleMap() {
private synchronized void initLifecycleMap() {
if (lifecycleMap == null) {
lifecycleMap = new HashMap<>();

Expand Down

0 comments on commit ab6ec5b

Please sign in to comment.