]> source.dussan.org Git - archiva.git/blob
b7f4079ac46eda52992d1eee1916ec066c613fc3
[archiva.git] /
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
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
10   ~
11   ~   http://www.apache.org/licenses/LICENSE-2.0
12   ~
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
18   ~ under the License.
19   -->
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>
28   <description>
29     This is a simple consumer component which demonstrates how a
30     component can be plugged in Archiva.
31   </description>
32   <properties>
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>
44   </properties>
45   <dependencies>
46     <dependency>
47       <groupId>org.apache.archiva</groupId>
48       <artifactId>archiva-consumer-api</artifactId>
49       <version>${archiva.version}</version>
50     </dependency>
51     <dependency>
52       <groupId>org.apache.archiva</groupId>
53       <artifactId>archiva-configuration</artifactId>
54       <version>${archiva.version}</version>
55     </dependency>
56     <dependency>
57       <groupId>org.apache.archiva</groupId>
58       <artifactId>archiva-repository-admin-api</artifactId>
59       <version>${archiva.version}</version>
60     </dependency>
61     <dependency>
62       <groupId>org.apache.archiva</groupId>
63       <artifactId>archiva-model</artifactId>
64       <version>${archiva.version}</version>
65     </dependency>
66     <dependency>
67       <groupId>org.apache.archiva</groupId>
68       <artifactId>archiva-repository-api</artifactId>
69       <version>${archiva.version}</version>
70     </dependency>
71     <dependency>
72       <groupId>org.apache.archiva</groupId>
73       <artifactId>metadata-repository-api</artifactId>
74       <version>${archiva.version}</version>
75     </dependency>
76     <dependency>
77       <groupId>org.apache.archiva</groupId>
78       <artifactId>archiva-mock</artifactId>
79       <version>${archiva.version}</version>
80       <scope>test</scope>
81     </dependency>
82     <dependency>
83       <groupId>org.apache.archiva</groupId>
84       <artifactId>archiva-maven2-indexer</artifactId>
85       <version>${archiva.version}</version>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.apache.archiva.redback.components.registry</groupId>
90       <artifactId>spring-registry-api</artifactId>
91       <version>${redback.registry.version}</version>
92       <exclusions>
93         <exclusion>
94           <groupId>commons-logging</groupId>
95           <artifactId>commons-logging</artifactId>
96         </exclusion>
97       </exclusions>
98     </dependency>
99     <dependency>
100       <groupId>org.slf4j</groupId>
101       <artifactId>slf4j-api</artifactId>
102       <version>${slf4j.version}</version>
103     </dependency>
104     <dependency>
105       <groupId>javax.inject</groupId>
106       <artifactId>javax.inject</artifactId>
107       <version>1</version>
108     </dependency>
109     <dependency>
110       <groupId>javax.annotation</groupId>
111       <artifactId>jsr250-api</artifactId>
112       <version>1.0</version>
113     </dependency>
114     <dependency>
115       <groupId>org.springframework</groupId>
116       <artifactId>spring-beans</artifactId>
117       <version>${spring.version}</version>
118       <exclusions>
119         <exclusion>
120           <groupId>commons-logging</groupId>
121           <artifactId>commons-logging</artifactId>
122         </exclusion>
123       </exclusions>
124     </dependency>
125     <dependency>
126       <groupId>org.springframework</groupId>
127       <artifactId>spring-context</artifactId>
128       <version>${spring.version}</version>
129       <exclusions>
130         <exclusion>
131           <groupId>commons-logging</groupId>
132           <artifactId>commons-logging</artifactId>
133         </exclusion>
134       </exclusions>
135     </dependency>
136     <dependency>
137       <groupId>org.springframework</groupId>
138       <artifactId>spring-context-support</artifactId>
139       <version>${spring.version}</version>
140       <exclusions>
141         <exclusion>
142           <groupId>commons-logging</groupId>
143           <artifactId>commons-logging</artifactId>
144         </exclusion>
145       </exclusions>
146     </dependency>
147     <dependency>
148       <groupId>org.springframework</groupId>
149       <artifactId>spring-core</artifactId>
150       <version>${spring.version}</version>
151       <exclusions>
152         <exclusion>
153           <groupId>commons-logging</groupId>
154           <artifactId>commons-logging</artifactId>
155         </exclusion>
156       </exclusions>
157     </dependency>
158
159     <dependency>
160       <groupId>junit</groupId>
161       <artifactId>junit</artifactId>
162       <version>4.12</version>
163       <scope>test</scope>
164     </dependency>
165     <dependency>
166       <groupId>org.springframework</groupId>
167       <artifactId>spring-test</artifactId>
168       <version>${spring.version}</version>
169       <exclusions>
170         <exclusion>
171           <groupId>commons-logging</groupId>
172           <artifactId>commons-logging</artifactId>
173         </exclusion>
174       </exclusions>
175     </dependency>
176     <dependency>
177       <groupId>org.slf4j</groupId>
178       <artifactId>jcl-over-slf4j</artifactId>
179       <version>${slf4j.version}</version>
180       <scope>test</scope>
181     </dependency>
182     <dependency>
183       <groupId>org.apache.archiva</groupId>
184       <artifactId>maven2-repository</artifactId>
185       <version>${archiva.version}</version>
186       <scope>test</scope>
187     </dependency>
188     <dependency>
189       <groupId>org.apache.archiva</groupId>
190       <artifactId>metadata-store-file</artifactId>
191       <version>${archiva.version}</version>
192       <scope>test</scope>
193     </dependency>
194     <dependency>
195       <groupId>org.apache.logging.log4j</groupId>
196       <artifactId>log4j-core</artifactId>
197       <version>${log4j.version}</version>
198       <scope>test</scope>
199     </dependency>
200     <dependency>
201       <groupId>org.apache.logging.log4j</groupId>
202       <artifactId>log4j-slf4j-impl</artifactId>
203       <version>${log4j.version}</version>
204       <scope>test</scope>
205     </dependency>
206     <dependency>
207       <groupId>org.kubek2k</groupId>
208       <artifactId>springockito</artifactId>
209       <version>${springockito.version}</version>
210       <scope>test</scope>
211     </dependency>
212
213     <dependency>
214       <groupId>org.ow2.asm</groupId>
215       <artifactId>asm</artifactId>
216       <scope>test</scope>
217     </dependency>
218   </dependencies>
219
220   <!-- match up with those used by Archiva -->
221   <dependencyManagement>
222     <dependencies>
223       <dependency>
224         <groupId>com.google.guava</groupId>
225         <artifactId>guava</artifactId>
226         <version>${guava.version}</version>
227       </dependency>
228       <dependency>
229         <groupId>org.mockito</groupId>
230         <artifactId>mockito-all</artifactId>
231         <version>${mockito.version}</version>
232       </dependency>
233       <dependency>
234         <groupId>org.apache.httpcomponents</groupId>
235         <artifactId>httpclient</artifactId>
236         <version>${httpclient.version}</version>
237       </dependency>
238       <dependency>
239         <groupId>org.apache.httpcomponents</groupId>
240         <artifactId>httpcore</artifactId>
241         <version>${httpclient.core.version}</version>
242       </dependency>
243       <dependency>
244         <groupId>org.ow2.asm</groupId>
245         <artifactId>asm</artifactId>
246         <version>${asm.version}</version>
247       </dependency>
248     </dependencies>
249   </dependencyManagement>
250
251   <build>
252     <pluginManagement>
253       <plugins>
254         <plugin>
255           <groupId>org.apache.maven.plugins</groupId>
256           <artifactId>maven-clean-plugin</artifactId>
257           <version>2.6.1</version>
258         </plugin>
259         <plugin>
260           <groupId>org.apache.maven.plugins</groupId>
261           <artifactId>maven-compiler-plugin</artifactId>
262           <version>3.7.0</version>
263         </plugin>
264         <plugin>
265           <groupId>org.apache.maven.plugins</groupId>
266           <artifactId>maven-resources-plugin</artifactId>
267           <version>2.7</version>
268         </plugin>
269         <plugin>
270           <groupId>org.apache.maven.plugins</groupId>
271           <artifactId>maven-jar-plugin</artifactId>
272           <version>3.0.0</version>
273         </plugin>
274         <plugin>
275           <groupId>org.apache.maven.plugins</groupId>
276           <artifactId>maven-surefire-plugin</artifactId>
277           <version>2.22.1</version>
278           <configuration>
279           <systemPropertyVariables>
280           <appserver.base>${project.build.directory}/appserver-base</appserver.base>
281           </systemPropertyVariables>
282           </configuration>
283
284         </plugin>
285       </plugins>
286     </pluginManagement>
287     <plugins>
288       <plugin>
289         <groupId>org.apache.maven.plugins</groupId>
290         <artifactId>maven-compiler-plugin</artifactId>
291         <configuration>
292           <source>1.8</source>
293           <target>1.8</target>
294         </configuration>
295       </plugin>
296     </plugins>
297   </build>
298   <!--repositories>
299     <repository>
300       <id>archiva.snapshots</id>
301       <name>Archiva VM Snapshots Repository</name>
302       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
303       <releases>
304         <enabled>false</enabled>
305       </releases>
306       <snapshots>
307         <enabled>true</enabled>
308       </snapshots>
309     </repository>
310   </repositories-->
311 </project>