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>
43 <asm.version>${asmVersion}</asm.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-repository-admin-api</artifactId>
59 <version>${archiva.version}</version>
62 <groupId>org.apache.archiva</groupId>
63 <artifactId>archiva-model</artifactId>
64 <version>${archiva.version}</version>
67 <groupId>org.apache.archiva</groupId>
68 <artifactId>archiva-repository-api</artifactId>
69 <version>${archiva.version}</version>
72 <groupId>org.apache.archiva</groupId>
73 <artifactId>metadata-repository-api</artifactId>
74 <version>${archiva.version}</version>
77 <groupId>org.apache.archiva</groupId>
78 <artifactId>archiva-mock</artifactId>
79 <version>${archiva.version}</version>
83 <groupId>org.apache.archiva</groupId>
84 <artifactId>archiva-maven2-indexer</artifactId>
85 <version>${archiva.version}</version>
89 <groupId>org.apache.archiva.redback.components.registry</groupId>
90 <artifactId>spring-registry-api</artifactId>
91 <version>${redback.registry.version}</version>
94 <groupId>commons-logging</groupId>
95 <artifactId>commons-logging</artifactId>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-api</artifactId>
102 <version>${slf4j.version}</version>
105 <groupId>javax.inject</groupId>
106 <artifactId>javax.inject</artifactId>
110 <groupId>javax.annotation</groupId>
111 <artifactId>jsr250-api</artifactId>
112 <version>1.0</version>
115 <groupId>org.springframework</groupId>
116 <artifactId>spring-beans</artifactId>
117 <version>${spring.version}</version>
120 <groupId>commons-logging</groupId>
121 <artifactId>commons-logging</artifactId>
126 <groupId>org.springframework</groupId>
127 <artifactId>spring-context</artifactId>
128 <version>${spring.version}</version>
131 <groupId>commons-logging</groupId>
132 <artifactId>commons-logging</artifactId>
137 <groupId>org.springframework</groupId>
138 <artifactId>spring-context-support</artifactId>
139 <version>${spring.version}</version>
142 <groupId>commons-logging</groupId>
143 <artifactId>commons-logging</artifactId>
148 <groupId>org.springframework</groupId>
149 <artifactId>spring-core</artifactId>
150 <version>${spring.version}</version>
153 <groupId>commons-logging</groupId>
154 <artifactId>commons-logging</artifactId>
160 <groupId>junit</groupId>
161 <artifactId>junit</artifactId>
162 <version>4.12</version>
166 <groupId>org.springframework</groupId>
167 <artifactId>spring-test</artifactId>
168 <version>${spring.version}</version>
171 <groupId>commons-logging</groupId>
172 <artifactId>commons-logging</artifactId>
177 <groupId>org.slf4j</groupId>
178 <artifactId>jcl-over-slf4j</artifactId>
179 <version>${slf4j.version}</version>
183 <groupId>org.apache.archiva</groupId>
184 <artifactId>maven2-repository</artifactId>
185 <version>${archiva.version}</version>
189 <groupId>org.apache.archiva</groupId>
190 <artifactId>metadata-store-file</artifactId>
191 <version>${archiva.version}</version>
195 <groupId>org.apache.logging.log4j</groupId>
196 <artifactId>log4j-core</artifactId>
197 <version>${log4j.version}</version>
201 <groupId>org.apache.logging.log4j</groupId>
202 <artifactId>log4j-slf4j-impl</artifactId>
203 <version>${log4j.version}</version>
207 <groupId>org.kubek2k</groupId>
208 <artifactId>springockito</artifactId>
209 <version>${springockito.version}</version>
214 <groupId>org.ow2.asm</groupId>
215 <artifactId>asm</artifactId>
220 <!-- match up with those used by Archiva -->
221 <dependencyManagement>
224 <groupId>com.google.guava</groupId>
225 <artifactId>guava</artifactId>
226 <version>${guava.version}</version>
229 <groupId>org.mockito</groupId>
230 <artifactId>mockito-all</artifactId>
231 <version>${mockito.version}</version>
234 <groupId>org.apache.httpcomponents</groupId>
235 <artifactId>httpclient</artifactId>
236 <version>${httpclient.version}</version>
239 <groupId>org.apache.httpcomponents</groupId>
240 <artifactId>httpcore</artifactId>
241 <version>${httpclient.core.version}</version>
244 <groupId>org.ow2.asm</groupId>
245 <artifactId>asm</artifactId>
246 <version>${asm.version}</version>
249 </dependencyManagement>
255 <groupId>org.apache.maven.plugins</groupId>
256 <artifactId>maven-clean-plugin</artifactId>
257 <version>2.6.1</version>
260 <groupId>org.apache.maven.plugins</groupId>
261 <artifactId>maven-compiler-plugin</artifactId>
262 <version>3.7.0</version>
265 <groupId>org.apache.maven.plugins</groupId>
266 <artifactId>maven-resources-plugin</artifactId>
267 <version>2.7</version>
270 <groupId>org.apache.maven.plugins</groupId>
271 <artifactId>maven-jar-plugin</artifactId>
272 <version>3.0.0</version>
275 <groupId>org.apache.maven.plugins</groupId>
276 <artifactId>maven-surefire-plugin</artifactId>
277 <version>2.22.1</version>
279 <systemPropertyVariables>
280 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
281 </systemPropertyVariables>
289 <groupId>org.apache.maven.plugins</groupId>
290 <artifactId>maven-compiler-plugin</artifactId>
300 <id>archiva.snapshots</id>
301 <name>Archiva VM Snapshots Repository</name>
302 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
304 <enabled>false</enabled>
307 <enabled>true</enabled>