]> source.dussan.org Git - archiva.git/blob
48544b1e31651d27e1aa6a85992c4283d6fe8c54
[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.redback.components.registry</groupId>
77       <artifactId>spring-registry-api</artifactId>
78       <version>${redback.registry.version}</version>
79       <exclusions>
80         <exclusion>
81           <groupId>commons-logging</groupId>
82           <artifactId>commons-logging</artifactId>
83         </exclusion>
84       </exclusions>
85     </dependency>
86     <dependency>
87       <groupId>org.slf4j</groupId>
88       <artifactId>slf4j-api</artifactId>
89       <version>${slf4j.version}</version>
90     </dependency>
91     <dependency>
92       <groupId>javax.inject</groupId>
93       <artifactId>javax.inject</artifactId>
94       <version>1</version>
95     </dependency>
96     <dependency>
97       <groupId>javax.annotation</groupId>
98       <artifactId>jsr250-api</artifactId>
99       <version>1.0</version>
100     </dependency>
101     <dependency>
102       <groupId>org.springframework</groupId>
103       <artifactId>spring-context</artifactId>
104       <version>${spring.version}</version>
105       <exclusions>
106         <exclusion>
107           <groupId>commons-logging</groupId>
108           <artifactId>commons-logging</artifactId>
109         </exclusion>
110       </exclusions>
111     </dependency>
112
113     <dependency>
114       <groupId>junit</groupId>
115       <artifactId>junit</artifactId>
116       <version>4.11</version>
117       <scope>test</scope>
118     </dependency>
119     <dependency>
120       <groupId>org.springframework</groupId>
121       <artifactId>spring-test</artifactId>
122       <version>${spring.version}</version>
123       <exclusions>
124         <exclusion>
125           <groupId>commons-logging</groupId>
126           <artifactId>commons-logging</artifactId>
127         </exclusion>
128       </exclusions>
129     </dependency>
130     <dependency>
131       <groupId>org.apache.archiva</groupId>
132       <artifactId>maven2-repository</artifactId>
133       <version>${archiva.version}</version>
134       <scope>test</scope>
135     </dependency>
136     <dependency>
137       <groupId>org.apache.logging.log4j</groupId>
138       <artifactId>log4j-core</artifactId>
139       <version>${log4j.version}</version>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.apache.logging.log4j</groupId>
144       <artifactId>log4j-slf4j-impl</artifactId>
145       <version>${log4j.version}</version>
146       <scope>test</scope>
147     </dependency>
148     <dependency>
149       <groupId>org.kubek2k</groupId>
150       <artifactId>springockito</artifactId>
151       <version>${springockito.version}</version>
152       <scope>test</scope>
153     </dependency>
154   </dependencies>
155
156   <!-- match up with those used by Archiva -->
157   <dependencyManagement>
158     <dependencies>
159       <dependency>
160         <groupId>com.google.guava</groupId>
161         <artifactId>guava</artifactId>
162         <version>${guava.version}</version>
163       </dependency>
164       <dependency>
165         <groupId>org.mockito</groupId>
166         <artifactId>mockito-all</artifactId>
167         <version>${mockito.version}</version>
168       </dependency>
169       <dependency>
170         <groupId>org.apache.httpcomponents</groupId>
171         <artifactId>httpclient</artifactId>
172         <version>${httpclient.version}</version>
173       </dependency>
174       <dependency>
175         <groupId>org.apache.httpcomponents</groupId>
176         <artifactId>httpcore</artifactId>
177         <version>${httpclient.core.version}</version>
178       </dependency>
179     </dependencies>
180   </dependencyManagement>
181
182   <build>
183     <pluginManagement>
184       <plugins>
185         <plugin>
186           <groupId>org.apache.maven.plugins</groupId>
187           <artifactId>maven-clean-plugin</artifactId>
188           <version>2.5</version>
189         </plugin>
190         <plugin>
191           <groupId>org.apache.maven.plugins</groupId>
192           <artifactId>maven-compiler-plugin</artifactId>
193           <version>3.1</version>
194         </plugin>
195         <plugin>
196           <groupId>org.apache.maven.plugins</groupId>
197           <artifactId>maven-resources-plugin</artifactId>
198           <version>2.6</version>
199         </plugin>
200         <plugin>
201           <groupId>org.apache.maven.plugins</groupId>
202           <artifactId>maven-jar-plugin</artifactId>
203           <version>2.4</version>
204         </plugin>
205         <plugin>
206           <groupId>org.apache.maven.plugins</groupId>
207           <artifactId>maven-surefire-plugin</artifactId>
208           <version>2.18.1</version>
209         </plugin>
210       </plugins>
211     </pluginManagement>
212     <plugins>
213       <plugin>
214         <groupId>org.apache.maven.plugins</groupId>
215         <artifactId>maven-compiler-plugin</artifactId>
216         <configuration>
217           <source>1.7</source>
218           <target>1.7</target>
219         </configuration>
220       </plugin>
221     </plugins>
222   </build>
223   <!--repositories>
224     <repository>
225       <id>archiva.snapshots</id>
226       <name>Archiva VM Snapshots Repository</name>
227       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
228       <releases>
229         <enabled>false</enabled>
230       </releases>
231       <snapshots>
232         <enabled>true</enabled>
233       </snapshots>
234     </repository>
235   </repositories-->
236 </project>