Class ModelBuilderThreadSafetyWorkaround

java.lang.Object
org.codehaus.mojo.flatten.ModelBuilderThreadSafetyWorkaround

@Named public class ModelBuilderThreadSafetyWorkaround extends Object
Works around thread safety issues when modifying the global singleton DefaultModelBuilder with custom ProfileInjector and ProfileSelector. Instead of modifying the global DefaultModelBuilder, this class creates a new DefaultModelBuilder and equips it with the currently active components like ModelProcessor, ModelValidator etc. which might have been modified/provided by other Maven extensions.
Since:
1.2.3
Author:
Falko Modler