]> source.dussan.org Git - archiva.git/blob
81a77435a3ab296619a38fce3c72b5fd381a9614
[archiva.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
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 <project xmlns="http://maven.apache.org/POM/4.0.0"
21   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
23   <modelVersion>4.0.0</modelVersion>
24   <groupId>${groupId}</groupId>
25   <artifactId>${artifactId}</artifactId>
26   <version>${version}</version>
27   <name>Simple Archiva Consumer</name>
28   <description>
29     This is a simple consumer component which demonstrates how a
30     component can be plugged in Archiva.
31   </description>
32   <properties>
33     <archiva.version>${archivaVersion}</archiva.version>
34     <slf4j.version>${slf4jVersion}</slf4j.version>
35     <log4j.version>${log4jVersion}</log4j.version>
36     <spring.version>${springVersion}</spring.version>
37     <springockito.version>${springockitoVersion}</springockito.version>
38     <mockito.version>${mockitoVersion}</mockito.version>
39     <httpclient.version>${httpclientVersion}</httpclient.version>
40     <httpclient.core.version>${httpcoreVersion}</httpclient.core.version>
41     <archiva.comp.version>${archivaCompVersion}</archiva.comp.version>
42     <commons.beanutils.version>${beanUtilsVersion}</commons.beanutils.version>
43     <maven.wagon.version>${mavenWagonVersion}</maven.wagon.version>
44     <archiva.comp.version>${archivaCompVersion}</archiva.comp.version>
45     <jakarta.inject.version>${jakartaInjectVersion}</jakarta.inject.version>
46     <jakarta.annotation.version>${jakartaAnnotationVersion}</jakarta.annotation.version>
47   </properties>
48   <dependencies>
49     <dependency>
50       <groupId>org.apache.archiva</groupId>
51       <artifactId>archiva-consumer-api</artifactId>
52       <version>${archiva.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>org.apache.archiva</groupId>
56       <artifactId>archiva-configuration</artifactId>
57       <version>${archiva.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>org.apache.archiva</groupId>
61       <artifactId>archiva-model</artifactId>
62       <version>${archiva.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.apache.archiva</groupId>
66       <artifactId>archiva-repository-api</artifactId>
67       <version>${archiva.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.archiva</groupId>
71       <artifactId>metadata-repository-api</artifactId>
72       <version>${archiva.version}</version>
73     </dependency>
74
75     <!-- Test scope -->
76     <dependency>
77       <groupId>org.apache.archiva</groupId>
78       <artifactId>archiva-proxy</artifactId>
79       <version>${archiva.version}</version>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.apache.archiva.maven</groupId>
84       <artifactId>archiva-maven-proxy</artifactId>
85       <version>${archiva.version}</version>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.apache.archiva.components</groupId>
90       <artifactId>archiva-components-spring-quartz</artifactId>
91       <version>${archiva.comp.version}</version>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.archiva</groupId>
96       <artifactId>archiva-scheduler-repository</artifactId>
97       <version>${archivaVersion}</version>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.apache.maven.wagon</groupId>
102       <artifactId>wagon-http</artifactId>
103       <version>${maven.wagon.version}</version>
104       <scope>test</scope>
105     </dependency>
106     <dependency>
107       <groupId>org.apache.maven.wagon</groupId>
108       <artifactId>wagon-http-lightweight</artifactId>
109       <version>${maven.wagon.version}</version>
110       <scope>test</scope>
111     </dependency>
112     <dependency>
113       <groupId>org.apache.archiva</groupId>
114       <artifactId>repository-statistics</artifactId>
115       <version>${archiva.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.archiva.components.cache</groupId>
119       <artifactId>archiva-components-spring-cache-ehcache</artifactId>
120       <version>${archiva.comp.version}</version>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.apache.archiva</groupId>
125       <artifactId>archiva-mock</artifactId>
126       <version>${archiva.version}</version>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.apache.archiva.maven</groupId>
131       <artifactId>archiva-maven-indexer</artifactId>
132       <version>${archiva.version}</version>
133       <scope>test</scope>
134     </dependency>
135     <dependency>
136       <groupId>org.apache.archiva.components.registry</groupId>
137       <artifactId>archiva-components-spring-registry-api</artifactId>
138       <version>${archiva.comp.version}</version>
139       <exclusions>
140         <exclusion>
141           <groupId>commons-logging</groupId>
142           <artifactId>commons-logging</artifactId>
143         </exclusion>
144       </exclusions>
145     </dependency>
146     <dependency>
147       <groupId>org.slf4j</groupId>
148       <artifactId>slf4j-api</artifactId>
149       <version>${slf4j.version}</version>
150     </dependency>
151     <dependency>
152       <groupId>jakarta.inject</groupId>
153       <artifactId>jakarta.inject-api</artifactId>
154       <version>${jakarta.inject.version}</version>
155     </dependency>
156     <dependency>
157       <groupId>jakarta.annotation</groupId>
158       <artifactId>jakarta.annotation-api</artifactId>
159       <version>${jakarta.annotation.version}</version>
160     </dependency>
161     <dependency>
162       <groupId>org.springframework</groupId>
163       <artifactId>spring-beans</artifactId>
164       <version>${spring.version}</version>
165       <exclusions>
166         <exclusion>
167           <groupId>commons-logging</groupId>
168           <artifactId>commons-logging</artifactId>
169         </exclusion>
170       </exclusions>
171     </dependency>
172     <dependency>
173       <groupId>org.springframework</groupId>
174       <artifactId>spring-context</artifactId>
175       <version>${spring.version}</version>
176       <exclusions>
177         <exclusion>
178           <groupId>commons-logging</groupId>
179           <artifactId>commons-logging</artifactId>
180         </exclusion>
181       </exclusions>
182     </dependency>
183     <dependency>
184       <groupId>org.springframework</groupId>
185       <artifactId>spring-context-support</artifactId>
186       <version>${spring.version}</version>
187       <exclusions>
188         <exclusion>
189           <groupId>commons-logging</groupId>
190           <artifactId>commons-logging</artifactId>
191         </exclusion>
192       </exclusions>
193     </dependency>
194     <dependency>
195       <groupId>org.springframework</groupId>
196       <artifactId>spring-core</artifactId>
197       <version>${spring.version}</version>
198       <exclusions>
199         <exclusion>
200           <groupId>commons-logging</groupId>
201           <artifactId>commons-logging</artifactId>
202         </exclusion>
203       </exclusions>
204     </dependency>
205
206     <dependency>
207       <groupId>commons-beanutils</groupId>
208       <artifactId>commons-beanutils</artifactId>
209       <version>${commons.beanutils.version}</version>
210     </dependency>
211     <dependency>
212       <groupId>junit</groupId>
213       <artifactId>junit</artifactId>
214       <version>4.12</version>
215       <scope>test</scope>
216     </dependency>
217     <dependency>
218       <groupId>org.springframework</groupId>
219       <artifactId>spring-test</artifactId>
220       <version>${spring.version}</version>
221       <exclusions>
222         <exclusion>
223           <groupId>commons-logging</groupId>
224           <artifactId>commons-logging</artifactId>
225         </exclusion>
226       </exclusions>
227     </dependency>
228     <dependency>
229       <groupId>org.slf4j</groupId>
230       <artifactId>jcl-over-slf4j</artifactId>
231       <version>${slf4j.version}</version>
232       <scope>test</scope>
233     </dependency>
234     <dependency>
235       <groupId>org.apache.archiva.maven</groupId>
236       <artifactId>archiva-maven-repository</artifactId>
237       <version>${archiva.version}</version>
238       <scope>test</scope>
239     </dependency>
240     <dependency>
241       <groupId>org.apache.archiva</groupId>
242       <artifactId>metadata-store-file</artifactId>
243       <version>${archiva.version}</version>
244       <scope>test</scope>
245     </dependency>
246     <dependency>
247       <groupId>org.apache.logging.log4j</groupId>
248       <artifactId>log4j-core</artifactId>
249       <version>${log4j.version}</version>
250       <scope>test</scope>
251     </dependency>
252     <dependency>
253       <groupId>org.apache.logging.log4j</groupId>
254       <artifactId>log4j-slf4j-impl</artifactId>
255       <version>${log4j.version}</version>
256       <scope>test</scope>
257     </dependency>
258
259     <dependency>
260       <groupId>org.kubek2k</groupId>
261       <artifactId>springockito</artifactId>
262       <version>${springockito.version}</version>
263       <scope>test</scope>
264     </dependency>
265
266   </dependencies>
267
268   <!-- match up with those used by Archiva -->
269   <dependencyManagement>
270     <dependencies>
271       <dependency>
272         <groupId>org.mockito</groupId>
273         <artifactId>mockito-core</artifactId>
274         <version>${mockito.version}</version>
275       </dependency>
276       <dependency>
277         <groupId>org.apache.httpcomponents</groupId>
278         <artifactId>httpclient</artifactId>
279         <version>${httpclient.version}</version>
280       </dependency>
281       <dependency>
282         <groupId>org.apache.httpcomponents</groupId>
283         <artifactId>httpcore</artifactId>
284         <version>${httpclient.core.version}</version>
285       </dependency>
286     </dependencies>
287   </dependencyManagement>
288
289   <build>
290     <pluginManagement>
291       <plugins>
292         <plugin>
293           <groupId>org.apache.maven.plugins</groupId>
294           <artifactId>maven-clean-plugin</artifactId>
295           <version>2.6.1</version>
296         </plugin>
297         <plugin>
298           <groupId>org.apache.maven.plugins</groupId>
299           <artifactId>maven-compiler-plugin</artifactId>
300           <version>3.7.0</version>
301         </plugin>
302         <plugin>
303           <groupId>org.apache.maven.plugins</groupId>
304           <artifactId>maven-resources-plugin</artifactId>
305           <version>2.7</version>
306         </plugin>
307         <plugin>
308           <groupId>org.apache.maven.plugins</groupId>
309           <artifactId>maven-jar-plugin</artifactId>
310           <version>3.0.0</version>
311         </plugin>
312         <plugin>
313           <groupId>org.apache.maven.plugins</groupId>
314           <artifactId>maven-surefire-plugin</artifactId>
315           <version>2.22.1</version>
316           <configuration>
317           <systemPropertyVariables>
318           <appserver.base>${project.build.directory}/appserver-base</appserver.base>
319           </systemPropertyVariables>
320           </configuration>
321
322         </plugin>
323       </plugins>
324     </pluginManagement>
325     <plugins>
326       <plugin>
327         <groupId>org.apache.maven.plugins</groupId>
328         <artifactId>maven-compiler-plugin</artifactId>
329         <configuration>
330           <source>1.8</source>
331           <target>1.8</target>
332         </configuration>
333       </plugin>
334     </plugins>
335   </build>
336   <!--repositories>
337     <repository>
338       <id>archiva.snapshots</id>
339       <name>Archiva VM Snapshots Repository</name>
340       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
341       <releases>
342         <enabled>false</enabled>
343       </releases>
344       <snapshots>
345         <enabled>true</enabled>
346       </snapshots>
347     </repository>
348   </repositories-->
349 </project>