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.redback.components.registry</groupId>
77 <artifactId>spring-registry-api</artifactId>
78 <version>${redback.registry.version}</version>
81 <groupId>commons-logging</groupId>
82 <artifactId>commons-logging</artifactId>
87 <groupId>org.slf4j</groupId>
88 <artifactId>slf4j-api</artifactId>
89 <version>${slf4j.version}</version>
92 <groupId>javax.inject</groupId>
93 <artifactId>javax.inject</artifactId>
97 <groupId>javax.annotation</groupId>
98 <artifactId>jsr250-api</artifactId>
99 <version>1.0</version>
102 <groupId>org.springframework</groupId>
103 <artifactId>spring-beans</artifactId>
104 <version>${spring.version}</version>
107 <groupId>commons-logging</groupId>
108 <artifactId>commons-logging</artifactId>
113 <groupId>org.springframework</groupId>
114 <artifactId>spring-context</artifactId>
115 <version>${spring.version}</version>
118 <groupId>commons-logging</groupId>
119 <artifactId>commons-logging</artifactId>
125 <groupId>junit</groupId>
126 <artifactId>junit</artifactId>
127 <version>4.12</version>
131 <groupId>org.springframework</groupId>
132 <artifactId>spring-test</artifactId>
133 <version>${spring.version}</version>
136 <groupId>commons-logging</groupId>
137 <artifactId>commons-logging</artifactId>
142 <groupId>org.apache.archiva</groupId>
143 <artifactId>maven2-repository</artifactId>
144 <version>${archiva.version}</version>
148 <groupId>org.apache.logging.log4j</groupId>
149 <artifactId>log4j-core</artifactId>
150 <version>${log4j.version}</version>
154 <groupId>org.apache.logging.log4j</groupId>
155 <artifactId>log4j-slf4j-impl</artifactId>
156 <version>${log4j.version}</version>
160 <groupId>org.kubek2k</groupId>
161 <artifactId>springockito</artifactId>
162 <version>${springockito.version}</version>
167 <!-- match up with those used by Archiva -->
168 <dependencyManagement>
171 <groupId>com.google.guava</groupId>
172 <artifactId>guava</artifactId>
173 <version>${guava.version}</version>
176 <groupId>org.mockito</groupId>
177 <artifactId>mockito-all</artifactId>
178 <version>${mockito.version}</version>
181 <groupId>org.apache.httpcomponents</groupId>
182 <artifactId>httpclient</artifactId>
183 <version>${httpclient.version}</version>
186 <groupId>org.apache.httpcomponents</groupId>
187 <artifactId>httpcore</artifactId>
188 <version>${httpclient.core.version}</version>
191 </dependencyManagement>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-clean-plugin</artifactId>
199 <version>2.6.1</version>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-compiler-plugin</artifactId>
204 <version>3.2</version>
207 <groupId>org.apache.maven.plugins</groupId>
208 <artifactId>maven-resources-plugin</artifactId>
209 <version>2.7</version>
212 <groupId>org.apache.maven.plugins</groupId>
213 <artifactId>maven-jar-plugin</artifactId>
214 <version>2.5</version>
217 <groupId>org.apache.maven.plugins</groupId>
218 <artifactId>maven-surefire-plugin</artifactId>
219 <version>2.18.1</version>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-compiler-plugin</artifactId>
236 <id>archiva.snapshots</id>
237 <name>Archiva VM Snapshots Repository</name>
238 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
240 <enabled>false</enabled>
243 <enabled>true</enabled>