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 <jackrabbit.version>${jackrabbitVersion}</jackrabbit.version>
37 <spring.version>${springVersion}</spring.version>
38 <guava.version>${guavaVersion}</guava.version>
39 <maven3x.version>${maven3xVersion}</maven3x.version>
40 <redback.registry.version>${redbackRegistryVersion}</redback.registry.version>
41 <redback.quartz.version>${redbackQuartzVersion}</redback.quartz.version>
42 <commons.dbcp.version>${commonsDbcpVersion}</commons.dbcp.version>
43 <commons.pool.version>${commonsPoolVersion}</commons.pool.version>
44 <lucene.version>${luceneVersion}</lucene.version>
45 <derby.version>${derbyVersion}</derby.version>
49 <groupId>org.apache.archiva</groupId>
50 <artifactId>archiva-consumer-api</artifactId>
51 <version>${archiva.version}</version>
54 <groupId>org.apache.archiva</groupId>
55 <artifactId>archiva-configuration</artifactId>
56 <version>${archiva.version}</version>
59 <groupId>org.apache.archiva</groupId>
60 <artifactId>archiva-repository-admin-api</artifactId>
61 <version>${archiva.version}</version>
64 <groupId>org.apache.archiva.redback.components.registry</groupId>
65 <artifactId>spring-registry-api</artifactId>
66 <version>${redback.registry.version}</version>
69 <groupId>commons-logging</groupId>
70 <artifactId>commons-logging</artifactId>
75 <groupId>org.slf4j</groupId>
76 <artifactId>slf4j-api</artifactId>
77 <version>${slf4j.version}</version>
80 <groupId>javax.inject</groupId>
81 <artifactId>javax.inject</artifactId>
85 <groupId>javax.annotation</groupId>
86 <artifactId>jsr250-api</artifactId>
87 <version>1.0</version>
90 <groupId>org.springframework</groupId>
91 <artifactId>spring-context</artifactId>
92 <version>${spring.version}</version>
95 <groupId>commons-logging</groupId>
96 <artifactId>commons-logging</artifactId>
102 <groupId>junit</groupId>
103 <artifactId>junit</artifactId>
104 <version>4.11</version>
108 <groupId>org.springframework</groupId>
109 <artifactId>spring-test</artifactId>
110 <version>${spring.version}</version>
113 <groupId>commons-logging</groupId>
114 <artifactId>commons-logging</artifactId>
119 <groupId>org.apache.archiva</groupId>
120 <artifactId>metadata-store-jcr</artifactId>
121 <version>${archiva.version}</version>
125 <groupId>org.apache.jackrabbit</groupId>
126 <artifactId>jackrabbit-core</artifactId>
127 <version>${jackrabbit.version}</version>
131 <groupId>commons-logging</groupId>
132 <artifactId>commons-logging</artifactId>
137 <groupId>org.apache.archiva.redback.components</groupId>
138 <artifactId>spring-quartz</artifactId>
139 <version>${redback.quartz.version}</version>
143 <groupId>org.slf4j</groupId>
144 <artifactId>jcl-over-slf4j</artifactId>
145 <version>${slf4j.version}</version>
149 <groupId>org.apache.logging.log4j</groupId>
150 <artifactId>log4j-slf4j-impl</artifactId>
151 <version>${log4j.version}</version>
155 <groupId>org.apache.logging.log4j</groupId>
156 <artifactId>log4j-core</artifactId>
157 <version>${log4j.version}</version>
162 <!-- match up with those used by Archiva -->
163 <dependencyManagement>
166 <groupId>com.google.guava</groupId>
167 <artifactId>guava</artifactId>
168 <version>${guava.version}</version>
171 <groupId>org.apache.maven</groupId>
172 <artifactId>maven-model</artifactId>
173 <version>${maven3x.version}</version>
176 <groupId>commons-dbcp</groupId>
177 <artifactId>commons-dbcp</artifactId>
178 <version>${commons.dbcp.version}</version>
179 <scope>runtime</scope>
182 <groupId>commons-pool</groupId>
183 <artifactId>commons-pool</artifactId>
184 <version>${commons.pool.version}</version>
185 <scope>runtime</scope>
188 <groupId>org.apache.lucene</groupId>
189 <artifactId>lucene-core</artifactId>
190 <version>${lucene.version}</version>
193 <groupId>org.apache.derby</groupId>
194 <artifactId>derby</artifactId>
195 <version>${derby.version}</version>
198 </dependencyManagement>
204 <groupId>org.apache.maven.plugins</groupId>
205 <artifactId>maven-clean-plugin</artifactId>
206 <version>2.5</version>
209 <groupId>org.apache.maven.plugins</groupId>
210 <artifactId>maven-compiler-plugin</artifactId>
211 <version>3.1</version>
214 <groupId>org.apache.maven.plugins</groupId>
215 <artifactId>maven-resources-plugin</artifactId>
216 <version>2.6</version>
219 <groupId>org.apache.maven.plugins</groupId>
220 <artifactId>maven-jar-plugin</artifactId>
221 <version>2.4</version>
224 <groupId>org.apache.maven.plugins</groupId>
225 <artifactId>maven-surefire-plugin</artifactId>
226 <version>2.17</version>
232 <groupId>org.apache.maven.plugins</groupId>
233 <artifactId>maven-compiler-plugin</artifactId>
240 <groupId>org.apache.maven.plugins</groupId>
241 <artifactId>maven-surefire-plugin</artifactId>
243 <systemPropertyVariables>
244 <appserver.base>${project.build.directory}/appserver-base</appserver.base>
245 <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
246 <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
247 <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
248 <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
249 <java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
250 </systemPropertyVariables>
257 <id>archiva.snapshots</id>
258 <name>Archiva VM Snapshots Repository</name>
259 <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
261 <enabled>false</enabled>
264 <enabled>true</enabled>