在Maven3中,默认情况下有两个Builder实现:MultiThreadedBuilder和SingleThreadedBuilder,我想在我的MAVEN插件中实现自己的逻辑之一,该怎么办?
<component-set>
<components>
<component>
<role>org.apache.maven.lifecycle.internal.builder.Builder</role>
<role-hint>devops</role-hint>
<implementation>ms.dew.devops.maven.custom.builder.DevOpsBuilder
</implementation>
<description/>
<isolated-realm>false</isolated-realm>
<requirements>
<requirement>
<role>org.apache.maven.lifecycle.internal.LifecycleModuleBuilder</role>
<field-name>lifecycleModuleBuilder</field-name>
</requirement>
</requirements>
</component>
</components>
</component-set>
我试图在components.xml中定义这样的代码,但是未及时引用加载机制的问题。