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