]> source.dussan.org Git - archiva.git/blob
321ddda4132d0c94458c58d2d836908247ca29b3
[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     <slf4jVersion>${slf4jVersion}</slf4jVersion>
35     <log4jVersion>${log4jVersion}</log4jVersion>
36     <jackrabbit.version>${jackrabbitVersion}</jackrabbit.version>
37     <spring.version>${springVersion}</spring.version>
38   </properties>
39   <dependencies>
40     <dependency>
41       <groupId>org.apache.archiva</groupId>
42       <artifactId>archiva-consumer-api</artifactId>
43       <version>${archiva.version}</version>
44     </dependency>
45     <dependency>
46       <groupId>org.apache.archiva</groupId>
47       <artifactId>archiva-configuration</artifactId>
48       <version>${archiva.version}</version>
49     </dependency>
50     <dependency>
51       <groupId>org.apache.archiva</groupId>
52       <artifactId>archiva-repository-admin-api</artifactId>
53       <version>${archiva.version}</version>
54     </dependency>
55     <dependency>
56       <groupId>org.apache.archiva.redback.components.registry</groupId>
57       <artifactId>spring-registry-api</artifactId>
58       <version>2.3</version>
59     </dependency>
60     <dependency>
61       <groupId>org.slf4j</groupId>
62       <artifactId>slf4j-api</artifactId>
63       <version>${slf4jVersion}</version>
64     </dependency>
65     <dependency>
66       <groupId>javax.inject</groupId>
67       <artifactId>javax.inject</artifactId>
68       <version>1</version>
69     </dependency>
70     <dependency>
71       <groupId>javax.annotation</groupId>
72       <artifactId>jsr250-api</artifactId>
73       <version>1.0</version>
74     </dependency>
75     <dependency>
76       <groupId>org.springframework</groupId>
77       <artifactId>spring-context</artifactId>
78       <version>${spring.version}</version>
79     </dependency>
80
81     <dependency>
82       <groupId>junit</groupId>
83       <artifactId>junit</artifactId>
84       <version>4.11</version>
85       <scope>test</scope>
86     </dependency>
87     <dependency>
88       <groupId>org.springframework</groupId>
89       <artifactId>spring-test</artifactId>
90       <version>${spring.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.easymock</groupId>
100       <artifactId>easymock</artifactId>
101       <version>3.2</version>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.archiva</groupId>
106       <artifactId>metadata-store-jcr</artifactId>
107       <version>${archiva.version}</version>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.jackrabbit</groupId>
112       <artifactId>jackrabbit-core</artifactId>
113       <version>${jackrabbit.version}</version>
114       <scope>test</scope>
115       <exclusions>
116         <exclusion>
117           <groupId>commons-logging</groupId>
118           <artifactId>commons-logging</artifactId>
119         </exclusion>
120       </exclusions>
121     </dependency>
122     <dependency>
123       <groupId>org.apache.archiva.redback.components</groupId>
124       <artifactId>spring-quartz</artifactId>
125       <version>2.1</version>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.slf4j</groupId>
130       <artifactId>jcl-over-slf4j</artifactId>
131       <version>${slf4jVersion}</version>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.apache.logging.log4j</groupId>
136       <artifactId>log4j-slf4j-impl</artifactId>
137       <version>${log4jVersion}</version>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>org.apache.logging.log4j</groupId>
142       <artifactId>log4j-core</artifactId>
143       <version>${log4jVersion}</version>
144       <scope>test</scope>
145     </dependency>
146   </dependencies>
147   <build>
148     <pluginManagement>
149       <plugins>
150         <plugin>
151           <groupId>org.apache.maven.plugins</groupId>
152           <artifactId>maven-clean-plugin</artifactId>
153           <version>2.5</version>
154         </plugin>
155         <plugin>
156           <groupId>org.apache.maven.plugins</groupId>
157           <artifactId>maven-compiler-plugin</artifactId>
158           <version>3.1</version>
159         </plugin>
160         <plugin>
161           <groupId>org.apache.maven.plugins</groupId>
162           <artifactId>maven-resources-plugin</artifactId>
163           <version>2.6</version>
164         </plugin>
165         <plugin>
166           <groupId>org.apache.maven.plugins</groupId>
167           <artifactId>maven-jar-plugin</artifactId>
168           <version>2.4</version>
169         </plugin>
170         <plugin>
171           <groupId>org.apache.maven.plugins</groupId>
172           <artifactId>maven-surefire-plugin</artifactId>
173           <version>2.17</version>
174         </plugin>
175       </plugins>
176     </pluginManagement>
177     <plugins>
178       <plugin>
179         <groupId>org.apache.maven.plugins</groupId>
180         <artifactId>maven-compiler-plugin</artifactId>
181         <configuration>
182           <source>1.7</source>
183           <target>1.7</target>
184         </configuration>
185       </plugin>
186       <plugin>
187         <groupId>org.apache.maven.plugins</groupId>
188         <artifactId>maven-surefire-plugin</artifactId>
189         <configuration>
190           <systemPropertyVariables>
191             <appserver.base>${project.build.directory}/appserver-base</appserver.base>
192             <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
193             <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
194             <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
195             <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
196             <java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
197           </systemPropertyVariables>
198         </configuration>
199       </plugin>
200     </plugins>
201   </build>
202   <!--repositories>
203     <repository>
204       <id>archiva.snapshots</id>
205       <name>Archiva VM Snapshots Repository</name>
206       <url>https://archiva-repository.apache.org/archiva/repository/snapshots</url>
207       <releases>
208         <enabled>false</enabled>
209       </releases>
210       <snapshots>
211         <enabled>true</enabled>
212       </snapshots>
213     </repository>
214   </repositories-->
215 </project>