]> source.dussan.org Git - archiva.git/blob
b6d0319393e81cd3d0450a76d9966c15fe2f9754
[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-core</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
141     <dependency>
142       <groupId>junit</groupId>
143       <artifactId>junit</artifactId>
144       <version>4.12</version>
145       <scope>test</scope>
146     </dependency>
147     <dependency>
148       <groupId>org.springframework</groupId>
149       <artifactId>spring-test</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     <dependency>
159       <groupId>org.apache.archiva</groupId>
160       <artifactId>maven2-repository</artifactId>
161       <version>${archiva.version}</version>
162       <scope>test</scope>
163     </dependency>
164     <dependency>
165       <groupId>org.apache.logging.log4j</groupId>
166       <artifactId>log4j-core</artifactId>
167       <version>${log4j.version}</version>
168       <scope>test</scope>
169     </dependency>
170     <dependency>
171       <groupId>org.apache.logging.log4j</groupId>
172       <artifactId>log4j-slf4j-impl</artifactId>
173       <version>${log4j.version}</version>
174       <scope>test</scope>
175     </dependency>
176     <dependency>
177       <groupId>org.kubek2k</groupId>
178       <artifactId>springockito</artifactId>
179       <version>${springockito.version}</version>
180       <scope>test</scope>
181     </dependency>
182   </dependencies>
183
184   <!-- match up with those used by Archiva -->
185   <dependencyManagement>
186     <dependencies>
187       <dependency>
188         <groupId>com.google.guava</groupId>
189         <artifactId>guava</artifactId>
190         <version>${guava.version}</version>
191       </dependency>
192       <dependency>
193         <groupId>org.mockito</groupId>
194         <artifactId>mockito-all</artifactId>
195         <version>${mockito.version}</version>
196       </dependency>
197       <dependency>
198         <groupId>org.apache.httpcomponents</groupId>
199         <artifactId>httpclient</artifactId>
200         <version>${httpclient.version}</version>
201       </dependency>
202       <dependency>
203         <groupId>org.apache.httpcomponents</groupId>
204         <artifactId>httpcore</artifactId>
205         <version>${httpclient.core.version}</version>
206       </dependency>
207     </dependencies>
208   </dependencyManagement>
209
210   <build>
211     <pluginManagement>
212       <plugins>
213         <plugin>
214           <groupId>org.apache.maven.plugins</groupId>
215           <artifactId>maven-clean-plugin</artifactId>
216           <version>2.6.1</version>
217         </plugin>
218         <plugin>
219           <groupId>org.apache.maven.plugins</groupId>
220           <artifactId>maven-compiler-plugin</artifactId>
221           <version>3.2</version>
222         </plugin>
223         <plugin>
224           <groupId>org.apache.maven.plugins</groupId>
225           <artifactId>maven-resources-plugin</artifactId>
226           <version>2.7</version>
227         </plugin>
228         <plugin>
229           <groupId>org.apache.maven.plugins</groupId>
230           <artifactId>maven-jar-plugin</artifactId>
231           <version>2.5</version>
232         </plugin>
233         <plugin>
234           <groupId>org.apache.maven.plugins</groupId>
235           <artifactId>maven-surefire-plugin</artifactId>
236           <version>2.18.1</version>
237         </plugin>
238       </plugins>
239     </pluginManagement>
240     <plugins>
241       <plugin>
242         <groupId>org.apache.maven.plugins</groupId>
243         <artifactId>maven-compiler-plugin</artifactId>
244         <configuration>
245           <source>1.7</source>
246           <target>1.7</target>
247         </configuration>
248       </plugin>
249     </plugins>
250   </build>
251   <!--repositories>
252     <repository>
253       <id>archiva.snapshots</id>
254       <name>Archiva VM Snapshots Repository</name>
255       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
256       <releases>
257         <enabled>false</enabled>
258       </releases>
259       <snapshots>
260         <enabled>true</enabled>
261       </snapshots>
262     </repository>
263   </repositories-->
264 </project>