]> source.dussan.org Git - archiva.git/blob
1a2bc20935836ba1473bf8070b7716029e756ce9
[archiva.git] /
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!--
3   ~ Licensed to the Apache Software Foundation (ASF) under one
4   ~ or more contributor license agreements.  See the NOTICE file
5   ~ distributed with this work for additional information
6   ~ regarding copyright ownership.  The ASF licenses this file
7   ~ to you under the Apache License, Version 2.0 (the
8   ~ "License"); you may not use this file except in compliance
9   ~ with the License.  You may obtain a copy of the License at
10   ~
11   ~   http://www.apache.org/licenses/LICENSE-2.0
12   ~
13   ~ Unless required by applicable law or agreed to in writing,
14   ~ software distributed under the License is distributed on an
15   ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16   ~ KIND, either express or implied.  See the License for the
17   ~ specific language governing permissions and limitations
18   ~ under the License.
19   -->
20
21 <component-set>
22   <components>
23     <component>
24       <role>org.apache.maven.archiva.consumers.DatabaseCleanupConsumer</role>
25       <role-hint>not-present-remove-db-artifact</role-hint>
26       <implementation>org.apache.maven.archiva.consumers.database.DatabaseCleanupRemoveArtifactConsumer</implementation>
27       <requirements>
28         <requirement>
29           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
30           <role-hint>database-cleanup</role-hint>
31         </requirement>
32         <requirement>
33           <role>org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayoutFactory</role>
34         </requirement>
35         <requirement>
36           <role>org.apache.maven.archiva.database.ArtifactDAO</role>
37           <role-hint>jdo</role-hint>
38         </requirement>
39       </requirements>
40     </component>
41     <component>
42       <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
43       <role-hint>database-cleanup</role-hint>
44       <implementation>org.apache.maven.archiva.configuration.DefaultArchivaConfiguration</implementation>
45       <requirements>
46         <requirement>
47           <role>org.codehaus.plexus.registry.Registry</role>
48           <role-hint>database-cleanup</role-hint>
49         </requirement>
50       </requirements>
51     </component>
52     <component>
53       <role>org.codehaus.plexus.registry.Registry</role>
54       <role-hint>database-cleanup</role-hint>
55       <implementation>org.codehaus.plexus.registry.commons.CommonsConfigurationRegistry</implementation>
56       <configuration>
57         <properties>
58           <xml fileName="${basedir}/target/test/repository-manager.xml" config-optional="true" config-forceCreate="true"
59                  config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/>
60         </properties>
61       </configuration>
62     </component>
63     <component>
64       <role>org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayoutFactory</role>
65       <implementation>org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayoutFactory</implementation>
66       <requirements>
67         <requirement>
68           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
69           <role-hint>database-cleanup</role-hint>
70         </requirement>
71         <requirement>
72           <role>org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayout</role>
73           <field-name>layouts</field-name>
74         </requirement>
75       </requirements>
76     </component>
77     <component>
78       <role>org.apache.maven.archiva.repository.layout.BidirectionalRepositoryLayout</role>
79       <role-hint>default</role-hint>
80       <implementation>org.apache.maven.archiva.repository.layout.DefaultBidirectionalRepositoryLayout</implementation>
81     </component>
82     
83     <component>
84       <role>org.apache.maven.archiva.repository.RepositoryContentFactory</role>      
85       <implementation>org.apache.maven.archiva.repository.RepositoryContentFactory</implementation>
86       <requirements>
87         <requirement>
88           <role>org.apache.maven.archiva.configuration.ArchivaConfiguration</role>
89           <role-hint>database-cleanup</role-hint>
90         </requirement>
91       </requirements>
92     </component>
93   </components>
94 </component-set>