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