diff --git a/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java b/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java index 727cbe4a..0146f72f 100644 --- a/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java +++ b/src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java @@ -299,7 +299,7 @@ public class FlattenMojo * * * resolveCiFriendliesOnly - * Only resolves variables revision, sha1 and changelist. Keeps everything else. + * Only resolves variables revision, sha1 and changelist. Keeps everything else. * See Maven CI Friendly for further details. * * @@ -345,7 +345,7 @@ public class FlattenMojo */ @Component( role = ModelInterpolator.class ) private ModelInterpolator modelInterpolator; - + /** * The {@link ModelInterpolator} used to resolve variables. */ @@ -363,7 +363,7 @@ public class FlattenMojo @Component(role = ModelBuilder.class) private DefaultModelBuilder defaultModelBuilder; - + @Component( hint = "default" ) private DependencyTreeBuilder dependencyTreeBuilder; @@ -882,7 +882,7 @@ public List getActiveProfiles( Collection profiles, ProfileAct return activeProfiles; } }; - + // brief modification of singleton defaultModelBuilder needs to be limited to one thread/execution at a time synchronized( defaultModelBuilder ) {