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>
43 <maven.wagon.version>${mavenWagonVersion}</maven.wagon.version>
44 <archiva.comp.version>${archivaCompVersion}</archiva.comp.version>
45 <jakarta.inject.version>${jakartaInjectVersion}</jakarta.inject.version>
46 <jakarta.annotation.version>${jakartaAnnotationVersion}</jakarta.annotation.version>
50 <groupId>org.apache.archiva</groupId>
51 <artifactId>archiva-consumer-api</artifactId>
52 <version>${archiva.version}</version>
55 <groupId>org.apache.archiva</groupId>
56 <artifactId>archiva-configuration</artifactId>
57 <version>${archiva.version}</version>
60 <groupId>org.apache.archiva</groupId>
61 <artifactId>archiva-model</artifactId>
62 <version>${archiva.version}</version>
65 <groupId>org.apache.archiva</groupId>
66 <artifactId>archiva-repository-api</artifactId>
67 <version>${archiva.version}</version>
70 <groupId>org.apache.archiva</groupId>
71 <artifactId>metadata-repository-api</artifactId>
72 <version>${archiva.version}</version>
77 <groupId>org.apache.archiva</groupId>
78 <artifactId>archiva-proxy</artifactId>
79 <version>${archiva.version}</version>
83 <groupId>org.apache.archiva.maven</groupId>
84 <artifactId>archiva-maven-proxy</artifactId>
85 <version>${archiva.version}</version>
89 <groupId>org.apache.archiva.components</groupId>
90 <artifactId>archiva-components-spring-quartz</artifactId>
91 <version>${archiva.comp.version}</version>
95 <groupId>org.apache.archiva</groupId>
96 <artifactId>archiva-scheduler-repository</artifactId>
97 <version>${archivaVersion}</version>
101 <groupId>org.apache.maven.wagon</groupId>
102 <artifactId>wagon-http</artifactId>
103 <version>${maven.wagon.version}</version>
107 <groupId>org.apache.maven.wagon</groupId>
108 <artifactId>wagon-http-lightweight</artifactId>
109 <version>${maven.wagon.version}</version>
113 <groupId>org.apache.archiva</groupId>
114 <artifactId>repository-statistics</artifactId>
115 <version>${archiva.version}</version>
118 <groupId>org.apache.archiva.components.cache</groupId>
119 <artifactId>archiva-components-spring-cache-ehcache</artifactId>
120 <version>${archiva.comp.version}</version>
124 <groupId>org.apache.archiva</groupId>
125 <artifactId>archiva-mock</artifactId>
126 <version>${archiva.version}</version>
130 <groupId>org.apache.archiva.maven</groupId>
131 <artifactId>archiva-maven-indexer</artifactId>
132 <version>${archiva.version}</version>
136 <groupId>org.apache.archiva.components.registry</groupId>
137 <artifactId>archiva-components-spring-registry-api</artifactId>
138 <version>${archiva.comp.version}</version>
141 <groupId>commons-logging</groupId>
142 <artifactId>commons-logging</artifactId>
147 <groupId>org.slf4j</groupId>
148 <artifactId>slf4j-api</artifactId>
149 <version>${slf4j.version}</version>
152 <groupId>jakarta.inject</groupId>
153 <artifactId>jakarta.inject-api</artifactId>
154 <version>${jakarta.inject.version}</version>
157 <groupId>jakarta.annotation</groupId>
158 <artifactId>jakarta.annotation-api</artifactId>
159 <version>${jakarta.annotation.version}</version>
162 <groupId>org.springframework</groupId>
163 <artifactId>spring-beans</artifactId>
164 <version>${spring.version}</version>
167 <groupId>commons-logging</groupId>
168 <artifactId>commons-logging</artifactId>
173 <groupId>org.springframework</groupId>
174 <artifactId>spring-context</artifactId>
175 <version>${spring.version}</version>
178 <groupId>commons-logging</groupId>
179 <artifactId>commons-logging</artifactId>
184 <groupId>org.springframework</groupId>
185 <artifactId>spring-context-support</artifactId>
186 <version>${spring.version}</version>
189 <groupId>commons-logging</groupId>
190 <artifactId>commons-logging</artifactId>
195 <groupId>org.springframework</groupId>
196 <artifactId>spring-core</artifactId>
197 <version>${spring.version}</version>
200 <groupId>commons-logging</groupId>
201 <artifactId>commons-logging</artifactId>
207 <groupId>commons-beanutils</groupId>
208 <artifactId>commons-beanutils</artifactId>
209 <version>${commons.beanutils.version}</version>
212 <groupId>junit</groupId>
213 <artifactId>junit</artifactId>
214 <version>4.12</version>
218 <groupId>org.springframework</groupId>
219 <artifactId>spring-test</artifactId>
220 <version>${spring.version}</version>
223 <groupId>commons-logging</groupId>
224 <artifactId>commons-logging</artifactId>
229 <groupId>org.slf4j</groupId>
230 <artifactId>jcl-over-slf4j</artifactId>
231 <version>${slf4j.version}</version>
235 <groupId>org.apache.archiva.maven</groupId>
236 <artifactId>archiva-maven-repository</artifactId>
237 <version>${archiva.version}</version>
241 <groupId>org.apache.archiva</groupId>
242 <artifactId>metadata-store-file</artifactId>
243 <version>${archiva.version}</version>
247 <groupId>org.apache.logging.log4j</groupId>
248 <artifactId>log4j-core</artifactId>
249 <version>${log4j.version}</version>
253 <groupId>org.apache.logging.log4j</groupId>
254 <artifactId>log4j-slf4j-impl</artifactId>
255 <version>${log4j.version}</version>
260 <groupId>org.kubek2k</groupId>
261 <artifactId>springockito</artifactId>
262 <version>${springockito.version}</version>
268 <!-- match up with those used by Archiva -->
269 <dependencyManagement>
272 <groupId>org.mockito</groupId>
273 <artifactId>mockito-core</artifactId>
274 <version>${mockito.version}</version>
277 <groupId>org.apache.httpcomponents</groupId>
278 <artifactId>httpclient</artifactId>
279 <version>${httpclient.version}</version>
282 <groupId>org.apache.httpcomponents</groupId>
283 <artifactId>httpcore</artifactId>
284 <version>${httpclient.core.version}</version>
287 </dependencyManagement>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-clean-plugin</artifactId>
295 <version>2.6.1</version>
298 <groupId>org.apache.maven.plugins</groupId>
299 <artifactId>maven-compiler-plugin</artifactId>
300 <version>3.7.0</version>
303 <groupId>org.apache.maven.plugins</groupId>
304 <artifactId>maven-resources-plugin</artifactId>
305 <version>2.7</version>
308 <groupId>org.apache.maven.plugins</groupId>
309 <artifactId>maven-jar-plugin</artifactId>
310 <version>3.0.0</version>
313 <groupId>org.apache.maven.plugins</groupId>
314 <artifactId>maven-surefire-plugin</artifactId>
315 <version>2.22.1</version>
317 <systemPropertyVariables>
318 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
319 </systemPropertyVariables>
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-compiler-plugin</artifactId>
338 <id>archiva.snapshots</id>
339 <name>Archiva VM Snapshots Repository</name>
340 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
342 <enabled>false</enabled>
345 <enabled>true</enabled>