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