]> source.dussan.org Git - archiva.git/blob
fc7edf915f89d449a9c10fcfeb857ffb0286ab3b
[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     <jackrabbit.version>${jackrabbitVersion}</jackrabbit.version>
37     <spring.version>${springVersion}</spring.version>
38     <guava.version>${guavaVersion}</guava.version>
39     <maven3x.version>${maven3xVersion}</maven3x.version>
40     <redback.registry.version>${redbackRegistryVersion}</redback.registry.version>
41     <redback.quartz.version>${redbackQuartzVersion}</redback.quartz.version>
42     <commons.dbcp.version>${commonsDbcpVersion}</commons.dbcp.version>
43     <commons.pool.version>${commonsPoolVersion}</commons.pool.version>
44     <lucene.version>${luceneVersion}</lucene.version>
45     <derby.version>${derbyVersion}</derby.version>
46   </properties>
47   <dependencies>
48     <dependency>
49       <groupId>org.apache.archiva</groupId>
50       <artifactId>archiva-consumer-api</artifactId>
51       <version>${archiva.version}</version>
52     </dependency>
53     <dependency>
54       <groupId>org.apache.archiva</groupId>
55       <artifactId>archiva-configuration</artifactId>
56       <version>${archiva.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.apache.archiva</groupId>
60       <artifactId>archiva-repository-admin-api</artifactId>
61       <version>${archiva.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.apache.archiva.redback.components.registry</groupId>
65       <artifactId>spring-registry-api</artifactId>
66       <version>${redback.registry.version}</version>
67       <exclusions>
68         <exclusion>
69           <groupId>commons-logging</groupId>
70           <artifactId>commons-logging</artifactId>
71         </exclusion>
72       </exclusions>
73     </dependency>
74     <dependency>
75       <groupId>org.slf4j</groupId>
76       <artifactId>slf4j-api</artifactId>
77       <version>${slf4j.version}</version>
78     </dependency>
79     <dependency>
80       <groupId>javax.inject</groupId>
81       <artifactId>javax.inject</artifactId>
82       <version>1</version>
83     </dependency>
84     <dependency>
85       <groupId>javax.annotation</groupId>
86       <artifactId>jsr250-api</artifactId>
87       <version>1.0</version>
88     </dependency>
89     <dependency>
90       <groupId>org.springframework</groupId>
91       <artifactId>spring-context</artifactId>
92       <version>${spring.version}</version>
93       <exclusions>
94         <exclusion>
95           <groupId>commons-logging</groupId>
96           <artifactId>commons-logging</artifactId>
97         </exclusion>
98       </exclusions>
99     </dependency>
100
101     <dependency>
102       <groupId>junit</groupId>
103       <artifactId>junit</artifactId>
104       <version>4.11</version>
105       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>org.springframework</groupId>
109       <artifactId>spring-test</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.apache.archiva</groupId>
120       <artifactId>metadata-store-jcr</artifactId>
121       <version>${archiva.version}</version>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>org.apache.jackrabbit</groupId>
126       <artifactId>jackrabbit-core</artifactId>
127       <version>${jackrabbit.version}</version>
128       <scope>test</scope>
129       <exclusions>
130         <exclusion>
131           <groupId>commons-logging</groupId>
132           <artifactId>commons-logging</artifactId>
133         </exclusion>
134       </exclusions>
135     </dependency>
136     <dependency>
137       <groupId>org.apache.archiva.redback.components</groupId>
138       <artifactId>spring-quartz</artifactId>
139       <version>${redback.quartz.version}</version>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.slf4j</groupId>
144       <artifactId>jcl-over-slf4j</artifactId>
145       <version>${slf4j.version}</version>
146       <scope>test</scope>
147     </dependency>
148     <dependency>
149       <groupId>org.apache.logging.log4j</groupId>
150       <artifactId>log4j-slf4j-impl</artifactId>
151       <version>${log4j.version}</version>
152       <scope>test</scope>
153     </dependency>
154     <dependency>
155       <groupId>org.apache.logging.log4j</groupId>
156       <artifactId>log4j-core</artifactId>
157       <version>${log4j.version}</version>
158       <scope>test</scope>
159     </dependency>
160   </dependencies>
161
162   <!-- match up with those used by Archiva -->
163   <dependencyManagement>
164     <dependencies>
165       <dependency>
166         <groupId>com.google.guava</groupId>
167         <artifactId>guava</artifactId>
168         <version>${guava.version}</version>
169       </dependency>
170       <dependency>
171         <groupId>org.apache.maven</groupId>
172         <artifactId>maven-model</artifactId>
173         <version>${maven3x.version}</version>
174       </dependency>
175       <dependency>
176         <groupId>commons-dbcp</groupId>
177         <artifactId>commons-dbcp</artifactId>
178         <version>${commons.dbcp.version}</version>
179         <scope>runtime</scope>
180       </dependency>
181       <dependency>
182         <groupId>commons-pool</groupId>
183         <artifactId>commons-pool</artifactId>
184         <version>${commons.pool.version}</version>
185         <scope>runtime</scope>
186       </dependency>
187       <dependency>
188         <groupId>org.apache.lucene</groupId>
189         <artifactId>lucene-core</artifactId>
190         <version>${lucene.version}</version>
191       </dependency>
192       <dependency>
193         <groupId>org.apache.derby</groupId>
194         <artifactId>derby</artifactId>
195         <version>${derby.version}</version>
196       </dependency>
197     </dependencies>
198   </dependencyManagement>
199
200   <build>
201     <pluginManagement>
202       <plugins>
203         <plugin>
204           <groupId>org.apache.maven.plugins</groupId>
205           <artifactId>maven-clean-plugin</artifactId>
206           <version>2.5</version>
207         </plugin>
208         <plugin>
209           <groupId>org.apache.maven.plugins</groupId>
210           <artifactId>maven-compiler-plugin</artifactId>
211           <version>3.1</version>
212         </plugin>
213         <plugin>
214           <groupId>org.apache.maven.plugins</groupId>
215           <artifactId>maven-resources-plugin</artifactId>
216           <version>2.6</version>
217         </plugin>
218         <plugin>
219           <groupId>org.apache.maven.plugins</groupId>
220           <artifactId>maven-jar-plugin</artifactId>
221           <version>2.4</version>
222         </plugin>
223         <plugin>
224           <groupId>org.apache.maven.plugins</groupId>
225           <artifactId>maven-surefire-plugin</artifactId>
226           <version>2.17</version>
227         </plugin>
228       </plugins>
229     </pluginManagement>
230     <plugins>
231       <plugin>
232         <groupId>org.apache.maven.plugins</groupId>
233         <artifactId>maven-compiler-plugin</artifactId>
234         <configuration>
235           <source>1.7</source>
236           <target>1.7</target>
237         </configuration>
238       </plugin>
239       <plugin>
240         <groupId>org.apache.maven.plugins</groupId>
241         <artifactId>maven-surefire-plugin</artifactId>
242         <configuration>
243           <systemPropertyVariables>
244             <appserver.base>${project.build.directory}/appserver-base</appserver.base>
245             <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
246             <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
247             <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
248             <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
249             <java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
250           </systemPropertyVariables>
251         </configuration>
252       </plugin>
253     </plugins>
254   </build>
255   <!--repositories>
256     <repository>
257       <id>archiva.snapshots</id>
258       <name>Archiva VM Snapshots Repository</name>
259       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
260       <releases>
261         <enabled>false</enabled>
262       </releases>
263       <snapshots>
264         <enabled>true</enabled>
265       </snapshots>
266     </repository>
267   </repositories-->
268 </project>