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 <guava.version>${guavaVersion}</guava.version>
39 <springockito.version>${springockitoVersion}</springockito.version>
40 <mockito.version>${mockitoVersion}</mockito.version>
41 <httpclient.version>${httpclientVersion}</httpclient.version>
42 <httpclient.core.version>${httpcoreVersion}</httpclient.core.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-repository-admin-api</artifactId>
58 <version>${archiva.version}</version>
61 <groupId>org.apache.archiva</groupId>
62 <artifactId>archiva-model</artifactId>
63 <version>${archiva.version}</version>
66 <groupId>org.apache.archiva</groupId>
67 <artifactId>archiva-repository-layer</artifactId>
68 <version>${archiva.version}</version>
71 <groupId>org.apache.archiva</groupId>
72 <artifactId>metadata-repository-api</artifactId>
73 <version>${archiva.version}</version>
76 <groupId>org.apache.archiva</groupId>
77 <artifactId>archiva-mock</artifactId>
78 <version>${archiva.version}</version>
82 <groupId>org.apache.archiva.redback.components.registry</groupId>
83 <artifactId>spring-registry-api</artifactId>
84 <version>${redback.registry.version}</version>
87 <groupId>commons-logging</groupId>
88 <artifactId>commons-logging</artifactId>
93 <groupId>org.slf4j</groupId>
94 <artifactId>slf4j-api</artifactId>
95 <version>${slf4j.version}</version>
98 <groupId>javax.inject</groupId>
99 <artifactId>javax.inject</artifactId>
103 <groupId>javax.annotation</groupId>
104 <artifactId>jsr250-api</artifactId>
105 <version>1.0</version>
108 <groupId>org.springframework</groupId>
109 <artifactId>spring-beans</artifactId>
110 <version>${spring.version}</version>
113 <groupId>commons-logging</groupId>
114 <artifactId>commons-logging</artifactId>
119 <groupId>org.springframework</groupId>
120 <artifactId>spring-context</artifactId>
121 <version>${spring.version}</version>
124 <groupId>commons-logging</groupId>
125 <artifactId>commons-logging</artifactId>
130 <groupId>org.springframework</groupId>
131 <artifactId>spring-context-support</artifactId>
132 <version>${spring.version}</version>
135 <groupId>commons-logging</groupId>
136 <artifactId>commons-logging</artifactId>
141 <groupId>org.springframework</groupId>
142 <artifactId>spring-core</artifactId>
143 <version>${spring.version}</version>
146 <groupId>commons-logging</groupId>
147 <artifactId>commons-logging</artifactId>
153 <groupId>junit</groupId>
154 <artifactId>junit</artifactId>
155 <version>4.12</version>
159 <groupId>org.springframework</groupId>
160 <artifactId>spring-test</artifactId>
161 <version>${spring.version}</version>
164 <groupId>commons-logging</groupId>
165 <artifactId>commons-logging</artifactId>
170 <groupId>org.apache.archiva</groupId>
171 <artifactId>maven2-repository</artifactId>
172 <version>${archiva.version}</version>
176 <groupId>org.apache.archiva</groupId>
177 <artifactId>metadata-store-file</artifactId>
178 <version>${archiva.version}</version>
182 <groupId>org.apache.logging.log4j</groupId>
183 <artifactId>log4j-core</artifactId>
184 <version>${log4j.version}</version>
188 <groupId>org.apache.logging.log4j</groupId>
189 <artifactId>log4j-slf4j-impl</artifactId>
190 <version>${log4j.version}</version>
194 <groupId>org.kubek2k</groupId>
195 <artifactId>springockito</artifactId>
196 <version>${springockito.version}</version>
201 <!-- match up with those used by Archiva -->
202 <dependencyManagement>
205 <groupId>com.google.guava</groupId>
206 <artifactId>guava</artifactId>
207 <version>${guava.version}</version>
210 <groupId>org.mockito</groupId>
211 <artifactId>mockito-all</artifactId>
212 <version>${mockito.version}</version>
215 <groupId>org.apache.httpcomponents</groupId>
216 <artifactId>httpclient</artifactId>
217 <version>${httpclient.version}</version>
220 <groupId>org.apache.httpcomponents</groupId>
221 <artifactId>httpcore</artifactId>
222 <version>${httpclient.core.version}</version>
225 </dependencyManagement>
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-clean-plugin</artifactId>
233 <version>2.6.1</version>
236 <groupId>org.apache.maven.plugins</groupId>
237 <artifactId>maven-compiler-plugin</artifactId>
238 <version>3.5.1</version>
241 <groupId>org.apache.maven.plugins</groupId>
242 <artifactId>maven-resources-plugin</artifactId>
243 <version>2.7</version>
246 <groupId>org.apache.maven.plugins</groupId>
247 <artifactId>maven-jar-plugin</artifactId>
248 <version>2.5</version>
251 <groupId>org.apache.maven.plugins</groupId>
252 <artifactId>maven-surefire-plugin</artifactId>
253 <version>2.19.1</version>
259 <groupId>org.apache.maven.plugins</groupId>
260 <artifactId>maven-compiler-plugin</artifactId>
270 <id>archiva.snapshots</id>
271 <name>Archiva VM Snapshots Repository</name>
272 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
274 <enabled>false</enabled>
277 <enabled>true</enabled>