blob: fa40ef492dcfcbc81ce024d72517a39a5e6ae86e [file] [log] [blame]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<component-set>
<components>
<!--
|
| Distributed Build Task Queue
|
|-->
<component>
<role>org.codehaus.plexus.taskqueue.TaskQueue</role>
<role-hint>distributed-build-project</role-hint>
<implementation>org.codehaus.plexus.taskqueue.DefaultTaskQueue</implementation>
<lifecycle-handler>plexus-configurable</lifecycle-handler>
<instantiation-strategy>per-lookup</instantiation-strategy>
</component>
<component>
<role>org.apache.continuum.builder.distributed.executor.DistributedBuildTaskExecutor</role>
<role-hint>distributed-build-project</role-hint>
<implementation>org.apache.continuum.builder.distributed.executor.DistributedBuildProjectTaskExecutor
</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
<requirements>
<requirement>
<role>org.apache.continuum.dao.ProjectDao</role>
</requirement>
<requirement>
<role>org.apache.continuum.dao.ProjectScmRootDao</role>
</requirement>
<requirement>
<role>org.apache.continuum.dao.BuildResultDao</role>
</requirement>
<requirement>
<role>org.apache.continuum.dao.BuildDefinitionDao</role>
</requirement>
<requirement>
<role>org.apache.maven.continuum.configuration.ConfigurationService</role>
</requirement>
</requirements>
</component>
<component>
<role>org.apache.continuum.builder.distributed.executor.DistributedBuildTaskQueueExecutor</role>
<role-hint>distributed-build-project</role-hint>
<implementation>org.apache.continuum.builder.distributed.executor.ThreadedDistributedBuildTaskQueueExecutor
</implementation>
<instantiation-strategy>per-lookup</instantiation-strategy>
<requirements>
<requirement>
<role>org.codehaus.plexus.taskqueue.TaskQueue</role>
<role-hint>distributed-build-project</role-hint>
</requirement>
<requirement>
<role>org.apache.continuum.builder.distributed.executor.DistributedBuildTaskExecutor</role>
<role-hint>distributed-build-project</role-hint>
</requirement>
</requirements>
<configuration>
<name>distributed-build-project</name>
</configuration>
</component>
</components>
</component-set>