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>
44 <groupId>org.apache.archiva</groupId>
45 <artifactId>archiva-consumer-api</artifactId>
46 <version>${archiva.version}</version>
49 <groupId>org.apache.archiva</groupId>
50 <artifactId>archiva-configuration</artifactId>
51 <version>${archiva.version}</version>
54 <groupId>org.apache.archiva</groupId>
55 <artifactId>archiva-repository-admin-api</artifactId>
56 <version>${archiva.version}</version>
59 <groupId>org.apache.archiva</groupId>
60 <artifactId>archiva-model</artifactId>
61 <version>${archiva.version}</version>
64 <groupId>org.apache.archiva</groupId>
65 <artifactId>archiva-repository-layer</artifactId>
66 <version>${archiva.version}</version>
69 <groupId>org.apache.archiva</groupId>
70 <artifactId>metadata-repository-api</artifactId>
71 <version>${archiva.version}</version>
74 <groupId>org.apache.archiva.redback.components.registry</groupId>
75 <artifactId>spring-registry-api</artifactId>
76 <version>${redback.registry.version}</version>
79 <groupId>commons-logging</groupId>
80 <artifactId>commons-logging</artifactId>
85 <groupId>org.slf4j</groupId>
86 <artifactId>slf4j-api</artifactId>
87 <version>${slf4j.version}</version>
90 <groupId>javax.inject</groupId>
91 <artifactId>javax.inject</artifactId>
95 <groupId>javax.annotation</groupId>
96 <artifactId>jsr250-api</artifactId>
97 <version>1.0</version>
100 <groupId>org.springframework</groupId>
101 <artifactId>spring-context</artifactId>
102 <version>${spring.version}</version>
105 <groupId>commons-logging</groupId>
106 <artifactId>commons-logging</artifactId>
112 <groupId>junit</groupId>
113 <artifactId>junit</artifactId>
114 <version>4.11</version>
118 <groupId>org.springframework</groupId>
119 <artifactId>spring-test</artifactId>
120 <version>${spring.version}</version>
123 <groupId>commons-logging</groupId>
124 <artifactId>commons-logging</artifactId>
129 <groupId>org.apache.archiva</groupId>
130 <artifactId>maven2-repository</artifactId>
131 <version>${archiva.version}</version>
135 <groupId>org.apache.logging.log4j</groupId>
136 <artifactId>log4j-core</artifactId>
137 <version>${log4j.version}</version>
141 <groupId>org.apache.logging.log4j</groupId>
142 <artifactId>log4j-slf4j-impl</artifactId>
143 <version>${log4j.version}</version>
147 <groupId>org.kubek2k</groupId>
148 <artifactId>springockito</artifactId>
149 <version>${springockito.version}</version>
154 <!-- match up with those used by Archiva -->
155 <dependencyManagement>
158 <groupId>com.google.guava</groupId>
159 <artifactId>guava</artifactId>
160 <version>${guava.version}</version>
163 <groupId>org.mockito</groupId>
164 <artifactId>mockito-all</artifactId>
165 <version>${mockito.version}</version>
168 </dependencyManagement>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-clean-plugin</artifactId>
176 <version>2.5</version>
179 <groupId>org.apache.maven.plugins</groupId>
180 <artifactId>maven-compiler-plugin</artifactId>
181 <version>3.1</version>
184 <groupId>org.apache.maven.plugins</groupId>
185 <artifactId>maven-resources-plugin</artifactId>
186 <version>2.6</version>
189 <groupId>org.apache.maven.plugins</groupId>
190 <artifactId>maven-jar-plugin</artifactId>
191 <version>2.4</version>
194 <groupId>org.apache.maven.plugins</groupId>
195 <artifactId>maven-surefire-plugin</artifactId>
196 <version>2.17</version>
202 <groupId>org.apache.maven.plugins</groupId>
203 <artifactId>maven-compiler-plugin</artifactId>
213 <id>archiva.snapshots</id>
214 <name>Archiva VM Snapshots Repository</name>
215 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
217 <enabled>false</enabled>
220 <enabled>true</enabled>