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>
46 <groupId>org.apache.archiva</groupId>
47 <artifactId>archiva-consumer-api</artifactId>
48 <version>${archiva.version}</version>
51 <groupId>org.apache.archiva</groupId>
52 <artifactId>archiva-configuration</artifactId>
53 <version>${archiva.version}</version>
56 <groupId>org.apache.archiva</groupId>
57 <artifactId>archiva-model</artifactId>
58 <version>${archiva.version}</version>
61 <groupId>org.apache.archiva</groupId>
62 <artifactId>archiva-repository-api</artifactId>
63 <version>${archiva.version}</version>
66 <groupId>org.apache.archiva</groupId>
67 <artifactId>metadata-repository-api</artifactId>
68 <version>${archiva.version}</version>
73 <groupId>org.apache.archiva.components.cache</groupId>
74 <artifactId>archiva-components-spring-cache-ehcache</artifactId>
75 <version>${archiva.comp.version}</version>
79 <groupId>org.apache.archiva</groupId>
80 <artifactId>archiva-mock</artifactId>
81 <version>${archiva.version}</version>
85 <groupId>org.apache.archiva.maven</groupId>
86 <artifactId>archiva-maven-indexer</artifactId>
87 <version>${archiva.version}</version>
91 <groupId>org.apache.archiva.components.registry</groupId>
92 <artifactId>archiva-components-spring-registry-api</artifactId>
93 <version>${archiva.comp.version}</version>
96 <groupId>commons-logging</groupId>
97 <artifactId>commons-logging</artifactId>
102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-api</artifactId>
104 <version>${slf4j.version}</version>
107 <groupId>javax.inject</groupId>
108 <artifactId>javax.inject</artifactId>
112 <groupId>javax.annotation</groupId>
113 <artifactId>javax.annotation-api</artifactId>
114 <version>1.3.2</version>
117 <groupId>org.springframework</groupId>
118 <artifactId>spring-beans</artifactId>
119 <version>${spring.version}</version>
122 <groupId>commons-logging</groupId>
123 <artifactId>commons-logging</artifactId>
128 <groupId>org.springframework</groupId>
129 <artifactId>spring-context</artifactId>
130 <version>${spring.version}</version>
133 <groupId>commons-logging</groupId>
134 <artifactId>commons-logging</artifactId>
139 <groupId>org.springframework</groupId>
140 <artifactId>spring-context-support</artifactId>
141 <version>${spring.version}</version>
144 <groupId>commons-logging</groupId>
145 <artifactId>commons-logging</artifactId>
150 <groupId>org.springframework</groupId>
151 <artifactId>spring-core</artifactId>
152 <version>${spring.version}</version>
155 <groupId>commons-logging</groupId>
156 <artifactId>commons-logging</artifactId>
162 <groupId>commons-beanutils</groupId>
163 <artifactId>commons-beanutils</artifactId>
164 <version>${commons.beanutils.version}</version>
167 <groupId>junit</groupId>
168 <artifactId>junit</artifactId>
169 <version>4.12</version>
173 <groupId>org.springframework</groupId>
174 <artifactId>spring-test</artifactId>
175 <version>${spring.version}</version>
178 <groupId>commons-logging</groupId>
179 <artifactId>commons-logging</artifactId>
184 <groupId>org.slf4j</groupId>
185 <artifactId>jcl-over-slf4j</artifactId>
186 <version>${slf4j.version}</version>
190 <groupId>org.apache.archiva.maven</groupId>
191 <artifactId>archiva-maven-repository</artifactId>
192 <version>${archiva.version}</version>
196 <groupId>org.apache.archiva</groupId>
197 <artifactId>metadata-store-file</artifactId>
198 <version>${archiva.version}</version>
202 <groupId>org.apache.logging.log4j</groupId>
203 <artifactId>log4j-core</artifactId>
204 <version>${log4j.version}</version>
208 <groupId>org.apache.logging.log4j</groupId>
209 <artifactId>log4j-slf4j-impl</artifactId>
210 <version>${log4j.version}</version>
215 <groupId>org.kubek2k</groupId>
216 <artifactId>springockito</artifactId>
217 <version>${springockito.version}</version>
223 <groupId>org.ow2.asm</groupId>
224 <artifactId>asm</artifactId>
231 <!-- match up with those used by Archiva -->
232 <dependencyManagement>
235 <groupId>org.mockito</groupId>
236 <artifactId>mockito-all</artifactId>
237 <version>${mockito.version}</version>
240 <groupId>org.apache.httpcomponents</groupId>
241 <artifactId>httpclient</artifactId>
242 <version>${httpclient.version}</version>
245 <groupId>org.apache.httpcomponents</groupId>
246 <artifactId>httpcore</artifactId>
247 <version>${httpclient.core.version}</version>
250 </dependencyManagement>
256 <groupId>org.apache.maven.plugins</groupId>
257 <artifactId>maven-clean-plugin</artifactId>
258 <version>2.6.1</version>
261 <groupId>org.apache.maven.plugins</groupId>
262 <artifactId>maven-compiler-plugin</artifactId>
263 <version>3.7.0</version>
266 <groupId>org.apache.maven.plugins</groupId>
267 <artifactId>maven-resources-plugin</artifactId>
268 <version>2.7</version>
271 <groupId>org.apache.maven.plugins</groupId>
272 <artifactId>maven-jar-plugin</artifactId>
273 <version>3.0.0</version>
276 <groupId>org.apache.maven.plugins</groupId>
277 <artifactId>maven-surefire-plugin</artifactId>
278 <version>2.22.1</version>
280 <systemPropertyVariables>
281 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
282 </systemPropertyVariables>
290 <groupId>org.apache.maven.plugins</groupId>
291 <artifactId>maven-compiler-plugin</artifactId>
301 <id>archiva.snapshots</id>
302 <name>Archiva VM Snapshots Repository</name>
303 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
305 <enabled>false</enabled>
308 <enabled>true</enabled>