1 <?xml version="1.0" encoding="UTF-8"?>
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
11 ~ http://www.apache.org/licenses/LICENSE-2.0
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
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>
29 This is a simple consumer component which demonstrates how a
30 component can be plugged in Archiva.
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>
47 <groupId>org.apache.archiva</groupId>
48 <artifactId>archiva-consumer-api</artifactId>
49 <version>${archiva.version}</version>
52 <groupId>org.apache.archiva</groupId>
53 <artifactId>archiva-configuration</artifactId>
54 <version>${archiva.version}</version>
57 <groupId>org.apache.archiva</groupId>
58 <artifactId>archiva-model</artifactId>
59 <version>${archiva.version}</version>
62 <groupId>org.apache.archiva</groupId>
63 <artifactId>archiva-repository-api</artifactId>
64 <version>${archiva.version}</version>
67 <groupId>org.apache.archiva</groupId>
68 <artifactId>metadata-repository-api</artifactId>
69 <version>${archiva.version}</version>
74 <groupId>org.apache.maven.wagon</groupId>
75 <artifactId>wagon-http</artifactId>
76 <version>${maven.wagon.version}</version>
80 <groupId>org.apache.maven.wagon</groupId>
81 <artifactId>wagon-http-lightweight</artifactId>
82 <version>${maven.wagon.version}</version>
86 <groupId>org.apache.archiva</groupId>
87 <artifactId>repository-statistics</artifactId>
88 <version>${archiva.version}</version>
91 <groupId>org.apache.archiva.components.cache</groupId>
92 <artifactId>archiva-components-spring-cache-ehcache</artifactId>
93 <version>${archiva.comp.version}</version>
97 <groupId>org.apache.archiva</groupId>
98 <artifactId>archiva-mock</artifactId>
99 <version>${archiva.version}</version>
103 <groupId>org.apache.archiva.maven</groupId>
104 <artifactId>archiva-maven-indexer</artifactId>
105 <version>${archiva.version}</version>
109 <groupId>org.apache.archiva.components.registry</groupId>
110 <artifactId>archiva-components-spring-registry-api</artifactId>
111 <version>${archiva.comp.version}</version>
114 <groupId>commons-logging</groupId>
115 <artifactId>commons-logging</artifactId>
120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>${slf4j.version}</version>
125 <groupId>javax.inject</groupId>
126 <artifactId>javax.inject</artifactId>
130 <groupId>javax.annotation</groupId>
131 <artifactId>javax.annotation-api</artifactId>
132 <version>1.3.2</version>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-beans</artifactId>
137 <version>${spring.version}</version>
140 <groupId>commons-logging</groupId>
141 <artifactId>commons-logging</artifactId>
146 <groupId>org.springframework</groupId>
147 <artifactId>spring-context</artifactId>
148 <version>${spring.version}</version>
151 <groupId>commons-logging</groupId>
152 <artifactId>commons-logging</artifactId>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-context-support</artifactId>
159 <version>${spring.version}</version>
162 <groupId>commons-logging</groupId>
163 <artifactId>commons-logging</artifactId>
168 <groupId>org.springframework</groupId>
169 <artifactId>spring-core</artifactId>
170 <version>${spring.version}</version>
173 <groupId>commons-logging</groupId>
174 <artifactId>commons-logging</artifactId>
180 <groupId>commons-beanutils</groupId>
181 <artifactId>commons-beanutils</artifactId>
182 <version>${commons.beanutils.version}</version>
185 <groupId>junit</groupId>
186 <artifactId>junit</artifactId>
187 <version>4.12</version>
191 <groupId>org.springframework</groupId>
192 <artifactId>spring-test</artifactId>
193 <version>${spring.version}</version>
196 <groupId>commons-logging</groupId>
197 <artifactId>commons-logging</artifactId>
202 <groupId>org.slf4j</groupId>
203 <artifactId>jcl-over-slf4j</artifactId>
204 <version>${slf4j.version}</version>
208 <groupId>org.apache.archiva.maven</groupId>
209 <artifactId>archiva-maven-repository</artifactId>
210 <version>${archiva.version}</version>
214 <groupId>org.apache.archiva</groupId>
215 <artifactId>metadata-store-file</artifactId>
216 <version>${archiva.version}</version>
220 <groupId>org.apache.logging.log4j</groupId>
221 <artifactId>log4j-core</artifactId>
222 <version>${log4j.version}</version>
226 <groupId>org.apache.logging.log4j</groupId>
227 <artifactId>log4j-slf4j-impl</artifactId>
228 <version>${log4j.version}</version>
233 <groupId>org.kubek2k</groupId>
234 <artifactId>springockito</artifactId>
235 <version>${springockito.version}</version>
241 <!-- match up with those used by Archiva -->
242 <dependencyManagement>
245 <groupId>org.mockito</groupId>
246 <artifactId>mockito-all</artifactId>
247 <version>${mockito.version}</version>
250 <groupId>org.apache.httpcomponents</groupId>
251 <artifactId>httpclient</artifactId>
252 <version>${httpclient.version}</version>
255 <groupId>org.apache.httpcomponents</groupId>
256 <artifactId>httpcore</artifactId>
257 <version>${httpclient.core.version}</version>
260 </dependencyManagement>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-clean-plugin</artifactId>
268 <version>2.6.1</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-compiler-plugin</artifactId>
273 <version>3.7.0</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-resources-plugin</artifactId>
278 <version>2.7</version>
281 <groupId>org.apache.maven.plugins</groupId>
282 <artifactId>maven-jar-plugin</artifactId>
283 <version>3.0.0</version>
286 <groupId>org.apache.maven.plugins</groupId>
287 <artifactId>maven-surefire-plugin</artifactId>
288 <version>2.22.1</version>
290 <systemPropertyVariables>
291 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
292 </systemPropertyVariables>
300 <groupId>org.apache.maven.plugins</groupId>
301 <artifactId>maven-compiler-plugin</artifactId>
311 <id>archiva.snapshots</id>
312 <name>Archiva VM Snapshots Repository</name>
313 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
315 <enabled>false</enabled>
318 <enabled>true</enabled>