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 <redback.registry.version>${redbackRegistryVersion}</redback.registry.version>
38 <redback.cache.version>${redbackCacheVersion}</redback.cache.version>
39 <guava.version>${guavaVersion}</guava.version>
40 <springockito.version>${springockitoVersion}</springockito.version>
41 <mockito.version>${mockitoVersion}</mockito.version>
42 <httpclient.version>${httpclientVersion}</httpclient.version>
43 <httpclient.core.version>${httpcoreVersion}</httpclient.core.version>
44 <asm.version>${asmVersion}</asm.version>
48 <groupId>org.apache.archiva</groupId>
49 <artifactId>archiva-consumer-api</artifactId>
50 <version>${archiva.version}</version>
53 <groupId>org.apache.archiva</groupId>
54 <artifactId>archiva-configuration</artifactId>
55 <version>${archiva.version}</version>
58 <groupId>org.apache.archiva</groupId>
59 <artifactId>archiva-repository-admin-api</artifactId>
60 <version>${archiva.version}</version>
63 <groupId>org.apache.archiva</groupId>
64 <artifactId>archiva-model</artifactId>
65 <version>${archiva.version}</version>
68 <groupId>org.apache.archiva</groupId>
69 <artifactId>archiva-repository-api</artifactId>
70 <version>${archiva.version}</version>
73 <groupId>org.apache.archiva</groupId>
74 <artifactId>metadata-repository-api</artifactId>
75 <version>${archiva.version}</version>
80 <groupId>org.apache.archiva.redback.components.cache</groupId>
81 <artifactId>spring-cache-ehcache</artifactId>
82 <version>${redbackCacheVersion}</version>
86 <groupId>org.apache.archiva</groupId>
87 <artifactId>archiva-mock</artifactId>
88 <version>${archiva.version}</version>
92 <groupId>org.apache.archiva.maven</groupId>
93 <artifactId>archiva-maven-indexer</artifactId>
94 <version>${archiva.version}</version>
98 <groupId>org.apache.archiva.redback.components.registry</groupId>
99 <artifactId>spring-registry-api</artifactId>
100 <version>${redback.registry.version}</version>
103 <groupId>commons-logging</groupId>
104 <artifactId>commons-logging</artifactId>
109 <groupId>org.slf4j</groupId>
110 <artifactId>slf4j-api</artifactId>
111 <version>${slf4j.version}</version>
114 <groupId>javax.inject</groupId>
115 <artifactId>javax.inject</artifactId>
119 <groupId>javax.annotation</groupId>
120 <artifactId>jsr250-api</artifactId>
121 <version>1.0</version>
124 <groupId>org.springframework</groupId>
125 <artifactId>spring-beans</artifactId>
126 <version>${spring.version}</version>
129 <groupId>commons-logging</groupId>
130 <artifactId>commons-logging</artifactId>
135 <groupId>org.springframework</groupId>
136 <artifactId>spring-context</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-support</artifactId>
148 <version>${spring.version}</version>
151 <groupId>commons-logging</groupId>
152 <artifactId>commons-logging</artifactId>
157 <groupId>org.springframework</groupId>
158 <artifactId>spring-core</artifactId>
159 <version>${spring.version}</version>
162 <groupId>commons-logging</groupId>
163 <artifactId>commons-logging</artifactId>
168 <groupId>javax.annotation</groupId>
169 <artifactId>javax.annotation-api</artifactId>
170 <version>1.3.2</version>
175 <groupId>junit</groupId>
176 <artifactId>junit</artifactId>
177 <version>4.12</version>
181 <groupId>org.springframework</groupId>
182 <artifactId>spring-test</artifactId>
183 <version>${spring.version}</version>
186 <groupId>commons-logging</groupId>
187 <artifactId>commons-logging</artifactId>
192 <groupId>org.slf4j</groupId>
193 <artifactId>jcl-over-slf4j</artifactId>
194 <version>${slf4j.version}</version>
198 <groupId>org.apache.archiva.maven</groupId>
199 <artifactId>archiva-maven-repository</artifactId>
200 <version>${archiva.version}</version>
204 <groupId>org.apache.archiva</groupId>
205 <artifactId>metadata-store-file</artifactId>
206 <version>${archiva.version}</version>
210 <groupId>org.apache.logging.log4j</groupId>
211 <artifactId>log4j-core</artifactId>
212 <version>${log4j.version}</version>
216 <groupId>org.apache.logging.log4j</groupId>
217 <artifactId>log4j-slf4j-impl</artifactId>
218 <version>${log4j.version}</version>
222 <groupId>org.kubek2k</groupId>
223 <artifactId>springockito</artifactId>
224 <version>${springockito.version}</version>
229 <groupId>org.ow2.asm</groupId>
230 <artifactId>asm</artifactId>
235 <!-- match up with those used by Archiva -->
236 <dependencyManagement>
239 <groupId>com.google.guava</groupId>
240 <artifactId>guava</artifactId>
241 <version>${guava.version}</version>
244 <groupId>org.mockito</groupId>
245 <artifactId>mockito-all</artifactId>
246 <version>${mockito.version}</version>
249 <groupId>org.apache.httpcomponents</groupId>
250 <artifactId>httpclient</artifactId>
251 <version>${httpclient.version}</version>
254 <groupId>org.apache.httpcomponents</groupId>
255 <artifactId>httpcore</artifactId>
256 <version>${httpclient.core.version}</version>
259 <groupId>org.ow2.asm</groupId>
260 <artifactId>asm</artifactId>
261 <version>${asm.version}</version>
264 </dependencyManagement>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-clean-plugin</artifactId>
272 <version>2.6.1</version>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-compiler-plugin</artifactId>
277 <version>3.7.0</version>
280 <groupId>org.apache.maven.plugins</groupId>
281 <artifactId>maven-resources-plugin</artifactId>
282 <version>2.7</version>
285 <groupId>org.apache.maven.plugins</groupId>
286 <artifactId>maven-jar-plugin</artifactId>
287 <version>3.0.0</version>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-surefire-plugin</artifactId>
292 <version>2.22.1</version>
294 <systemPropertyVariables>
295 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
296 </systemPropertyVariables>
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-compiler-plugin</artifactId>
315 <id>archiva.snapshots</id>
316 <name>Archiva VM Snapshots Repository</name>
317 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
319 <enabled>false</enabled>
322 <enabled>true</enabled>