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