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