]> source.dussan.org Git - archiva.git/blob
37c1cfef8a6baf5f46d1fa261b1d830112a58c7f
[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   </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-repository-admin-api</artifactId>
58       <version>${archiva.version}</version>
59     </dependency>
60     <dependency>
61       <groupId>org.apache.archiva</groupId>
62       <artifactId>archiva-model</artifactId>
63       <version>${archiva.version}</version>
64     </dependency>
65     <dependency>
66       <groupId>org.apache.archiva</groupId>
67       <artifactId>archiva-repository-layer</artifactId>
68       <version>${archiva.version}</version>
69     </dependency>
70     <dependency>
71       <groupId>org.apache.archiva</groupId>
72       <artifactId>metadata-repository-api</artifactId>
73       <version>${archiva.version}</version>
74     </dependency>
75     <dependency>
76       <groupId>org.apache.archiva</groupId>
77       <artifactId>archiva-mock</artifactId>
78       <version>${archiva.version}</version>
79       <scope>test</scope>
80     </dependency>
81     <dependency>
82       <groupId>org.apache.archiva.redback.components.registry</groupId>
83       <artifactId>spring-registry-api</artifactId>
84       <version>${redback.registry.version}</version>
85       <exclusions>
86         <exclusion>
87           <groupId>commons-logging</groupId>
88           <artifactId>commons-logging</artifactId>
89         </exclusion>
90       </exclusions>
91     </dependency>
92     <dependency>
93       <groupId>org.slf4j</groupId>
94       <artifactId>slf4j-api</artifactId>
95       <version>${slf4j.version}</version>
96     </dependency>
97     <dependency>
98       <groupId>javax.inject</groupId>
99       <artifactId>javax.inject</artifactId>
100       <version>1</version>
101     </dependency>
102     <dependency>
103       <groupId>javax.annotation</groupId>
104       <artifactId>jsr250-api</artifactId>
105       <version>1.0</version>
106     </dependency>
107     <dependency>
108       <groupId>org.springframework</groupId>
109       <artifactId>spring-beans</artifactId>
110       <version>${spring.version}</version>
111       <exclusions>
112         <exclusion>
113           <groupId>commons-logging</groupId>
114           <artifactId>commons-logging</artifactId>
115         </exclusion>
116       </exclusions>
117     </dependency>
118     <dependency>
119       <groupId>org.springframework</groupId>
120       <artifactId>spring-context</artifactId>
121       <version>${spring.version}</version>
122       <exclusions>
123         <exclusion>
124           <groupId>commons-logging</groupId>
125           <artifactId>commons-logging</artifactId>
126         </exclusion>
127       </exclusions>
128     </dependency>
129     <dependency>
130       <groupId>org.springframework</groupId>
131       <artifactId>spring-context-support</artifactId>
132       <version>${spring.version}</version>
133       <exclusions>
134         <exclusion>
135           <groupId>commons-logging</groupId>
136           <artifactId>commons-logging</artifactId>
137         </exclusion>
138       </exclusions>
139     </dependency>
140     <dependency>
141       <groupId>org.springframework</groupId>
142       <artifactId>spring-core</artifactId>
143       <version>${spring.version}</version>
144       <exclusions>
145         <exclusion>
146           <groupId>commons-logging</groupId>
147           <artifactId>commons-logging</artifactId>
148         </exclusion>
149       </exclusions>
150     </dependency>
151
152     <dependency>
153       <groupId>junit</groupId>
154       <artifactId>junit</artifactId>
155       <version>4.12</version>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.springframework</groupId>
160       <artifactId>spring-test</artifactId>
161       <version>${spring.version}</version>
162       <exclusions>
163         <exclusion>
164           <groupId>commons-logging</groupId>
165           <artifactId>commons-logging</artifactId>
166         </exclusion>
167       </exclusions>
168     </dependency>
169     <dependency>
170       <groupId>org.apache.archiva</groupId>
171       <artifactId>maven2-repository</artifactId>
172       <version>${archiva.version}</version>
173       <scope>test</scope>
174     </dependency>
175     <dependency>
176       <groupId>org.apache.archiva</groupId>
177       <artifactId>metadata-store-file</artifactId>
178       <version>${archiva.version}</version>
179       <scope>test</scope>
180     </dependency>
181     <dependency>
182       <groupId>org.apache.logging.log4j</groupId>
183       <artifactId>log4j-core</artifactId>
184       <version>${log4j.version}</version>
185       <scope>test</scope>
186     </dependency>
187     <dependency>
188       <groupId>org.apache.logging.log4j</groupId>
189       <artifactId>log4j-slf4j-impl</artifactId>
190       <version>${log4j.version}</version>
191       <scope>test</scope>
192     </dependency>
193     <dependency>
194       <groupId>org.kubek2k</groupId>
195       <artifactId>springockito</artifactId>
196       <version>${springockito.version}</version>
197       <scope>test</scope>
198     </dependency>
199   </dependencies>
200
201   <!-- match up with those used by Archiva -->
202   <dependencyManagement>
203     <dependencies>
204       <dependency>
205         <groupId>com.google.guava</groupId>
206         <artifactId>guava</artifactId>
207         <version>${guava.version}</version>
208       </dependency>
209       <dependency>
210         <groupId>org.mockito</groupId>
211         <artifactId>mockito-all</artifactId>
212         <version>${mockito.version}</version>
213       </dependency>
214       <dependency>
215         <groupId>org.apache.httpcomponents</groupId>
216         <artifactId>httpclient</artifactId>
217         <version>${httpclient.version}</version>
218       </dependency>
219       <dependency>
220         <groupId>org.apache.httpcomponents</groupId>
221         <artifactId>httpcore</artifactId>
222         <version>${httpclient.core.version}</version>
223       </dependency>
224     </dependencies>
225   </dependencyManagement>
226
227   <build>
228     <pluginManagement>
229       <plugins>
230         <plugin>
231           <groupId>org.apache.maven.plugins</groupId>
232           <artifactId>maven-clean-plugin</artifactId>
233           <version>2.6.1</version>
234         </plugin>
235         <plugin>
236           <groupId>org.apache.maven.plugins</groupId>
237           <artifactId>maven-compiler-plugin</artifactId>
238           <version>3.5.1</version>
239         </plugin>
240         <plugin>
241           <groupId>org.apache.maven.plugins</groupId>
242           <artifactId>maven-resources-plugin</artifactId>
243           <version>2.7</version>
244         </plugin>
245         <plugin>
246           <groupId>org.apache.maven.plugins</groupId>
247           <artifactId>maven-jar-plugin</artifactId>
248           <version>2.5</version>
249         </plugin>
250         <plugin>
251           <groupId>org.apache.maven.plugins</groupId>
252           <artifactId>maven-surefire-plugin</artifactId>
253           <version>2.19.1</version>
254         </plugin>
255       </plugins>
256     </pluginManagement>
257     <plugins>
258       <plugin>
259         <groupId>org.apache.maven.plugins</groupId>
260         <artifactId>maven-compiler-plugin</artifactId>
261         <configuration>
262           <source>1.7</source>
263           <target>1.7</target>
264         </configuration>
265       </plugin>
266     </plugins>
267   </build>
268   <!--repositories>
269     <repository>
270       <id>archiva.snapshots</id>
271       <name>Archiva VM Snapshots Repository</name>
272       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
273       <releases>
274         <enabled>false</enabled>
275       </releases>
276       <snapshots>
277         <enabled>true</enabled>
278       </snapshots>
279     </repository>
280   </repositories-->
281 </project>