]> source.dussan.org Git - archiva.git/blob
5feec48ed7d2c6a5c0a6969c3a54bff1c5f6f827
[archiva.git] /
1 <!--
2   ~ Licensed to the Apache Software Foundation (ASF) under one
3   ~ or more contributor license agreements.  See the NOTICE file
4   ~ distributed with this work for additional information
5   ~ regarding copyright ownership.  The ASF licenses this file
6   ~ to you under the Apache License, Version 2.0 (the
7   ~ "License"); you may not use this file except in compliance
8   ~ with the License.  You may obtain a copy of the License at
9   ~
10   ~  http://www.apache.org/licenses/LICENSE-2.0
11   ~
12   ~ Unless required by applicable law or agreed to in writing,
13   ~ software distributed under the License is distributed on an
14   ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   ~ KIND, either express or implied.  See the License for the
16   ~ specific language governing permissions and limitations
17   ~ under the License.
18   -->
19
20 <plexus>
21   <components>
22     <component>
23       <role>org.codehaus.plexus.logging.LoggerManager</role>
24       <implementation>org.codehaus.plexus.logging.slf4j.Slf4jLoggerManager</implementation>
25       <lifecycle-handler>basic</lifecycle-handler>
26     </component>
27
28     <component>
29       <role>com.opensymphony.xwork2.Action</role>
30       <role-hint>addManagedRepositoryAction</role-hint>
31       <implementation>org.apache.maven.archiva.web.action.admin.repositories.AddManagedRepositoryAction</implementation>
32       <instantiation-strategy>per-lookup</instantiation-strategy>
33       <!--  no requirements set  -->
34     </component>
35     
36     <component>
37       <role>com.opensymphony.xwork2.Action</role>
38       <role-hint>deleteManagedRepositoryAction</role-hint>
39       <implementation>org.apache.maven.archiva.web.action.admin.repositories.DeleteManagedRepositoryAction</implementation>
40       <instantiation-strategy>per-lookup</instantiation-strategy>
41       <requirements>
42         <requirement>
43           <role>org.apache.maven.archiva.database.ArchivaDAO</role>
44           <role-hint>jdo</role-hint>
45           <field-name>archivaDAO</field-name>
46         </requirement>
47       </requirements>
48     </component>
49     
50     <component>
51       <role>com.opensymphony.xwork2.Action</role>
52       <role-hint>editManagedRepositoryAction</role-hint>
53       <implementation>org.apache.maven.archiva.web.action.admin.repositories.EditManagedRepositoryAction</implementation>
54       <instantiation-strategy>per-lookup</instantiation-strategy>
55       <!--  no requirements set  -->
56     </component>
57     
58     <!-- DAO : Stubs -->
59     <component>
60       <role>org.apache.maven.archiva.database.ArchivaDAO</role>
61       <role-hint>jdo</role-hint>
62       <implementation>org.apache.maven.archiva.web.action.admin.repositories.AbstractManagedRepositoryArchivaDAOStub</implementation>
63       <requirements>
64         <requirement>
65           <role>org.apache.maven.archiva.database.ArtifactDAO</role>
66           <role-hint>jdo</role-hint>
67           <field-name>artifactDAO</field-name>
68         </requirement>
69         <requirement>
70           <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
71           <role-hint>jdo</role-hint>
72           <field-name>projectModelDAO</field-name>
73         </requirement>
74         <requirement>
75           <role>org.apache.maven.archiva.database.RepositoryContentStatisticsDAO</role>
76           <role-hint>jdo</role-hint>
77           <field-name>repoContentStatisticsDAO</field-name>
78         </requirement>         
79       </requirements>            
80     </component>
81     <component>
82       <role>org.apache.maven.archiva.database.ArtifactDAO</role>
83       <role-hint>jdo</role-hint>
84       <implementation>org.apache.maven.archiva.web.action.admin.repositories.ArtifactDAOStub</implementation>
85     </component>        
86     <component>
87       <role>org.apache.maven.archiva.database.ProjectModelDAO</role>
88       <role-hint>jdo</role-hint>
89       <implementation>org.apache.maven.archiva.web.action.admin.repositories.ProjectModelDAOStub</implementation>
90     </component>   
91     <component>
92       <role>org.apache.maven.archiva.database.RepositoryContentStatisticsDAO</role>
93       <role-hint>jdo</role-hint>
94       <implementation>org.apache.maven.archiva.web.action.admin.repositories.RepositoryContentStatisticsDAOStub</implementation>
95     </component>        
96     
97   </components>
98 </plexus>