]> source.dussan.org Git - archiva.git/blob
2a2a6f51bbd39b6df5fdf2c76dfd7a71b5747329
[archiva.git] /
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4   <modelVersion>4.0.0</modelVersion>
5   <groupId>${groupId}</groupId>
6   <artifactId>${artifactId}</artifactId>
7   <version>${version}</version>
8   <packaging>jar</packaging>
9   <name>Simple Archiva Consumer</name>
10   <url>http://archiva.apache.org</url>
11   <description>
12     This is a simple consumer component which demonstrates how a
13     component can be plugged in Archiva.
14   </description>
15   <properties>
16     <archiva.version>${archivaVersion}</archiva.version>
17     <wagonVersion>${wagon.version}</wagonVersion>
18   </properties>
19   <dependencies>
20     <dependency>
21       <groupId>org.apache.archiva</groupId>
22       <artifactId>archiva-consumer-api</artifactId>
23       <version>${archiva.version}</version>
24     </dependency>
25     <dependency>
26       <groupId>org.apache.archiva</groupId>
27       <artifactId>archiva-configuration</artifactId>
28       <version>${archiva.version}</version>
29     </dependency>
30     <dependency>
31       <groupId>org.apache.archiva</groupId>
32       <artifactId>archiva-repository-layer</artifactId>
33       <version>${archiva.version}</version>
34     </dependency>
35     <dependency>
36       <groupId>org.apache.archiva</groupId>
37       <artifactId>archiva-indexer</artifactId>
38       <version>${archiva.version}</version>
39     </dependency>
40     <dependency>
41       <groupId>org.easymock</groupId>
42       <artifactId>easymock</artifactId>
43       <version>2.2</version>
44       <scope>test</scope>
45     </dependency>
46     <dependency>
47       <groupId>junit</groupId>
48       <artifactId>junit</artifactId>
49       <version>4.9</version>
50       <scope>test</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.slf4j</groupId>
54       <artifactId>slf4j-api</artifactId>
55       <version>1.6.4</version>
56     </dependency>
57     <dependency>
58       <groupId>org.slf4j</groupId>
59       <artifactId>slf4j-log4j12</artifactId>
60       <version>1.6.4</version>
61       <scope>provided</scope>
62     </dependency>
63     <dependency>
64       <groupId>org.apache.archiva</groupId>
65       <artifactId>archiva-repository-admin-default</artifactId>
66       <version>${archiva.version}</version>
67       <scope>provided</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.archiva</groupId>
71       <artifactId>metadata-store-jcr</artifactId>
72       <version>${archiva.version}</version>
73       <scope>provided</scope>
74     </dependency>
75     <dependency>
76       <groupId>org.apache.jackrabbit</groupId>
77       <artifactId>jackrabbit-core</artifactId>
78       <version>${jackrabbit.version}</version>
79       <scope>provided</scope>
80       <exclusions>
81         <exclusion>
82           <groupId>commons-logging</groupId>
83           <artifactId>commons-logging</artifactId>
84         </exclusion>
85       </exclusions>
86     </dependency>
87     <dependency>
88       <groupId>org.springframework</groupId>
89       <artifactId>spring-core</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.springframework</groupId>
100       <artifactId>spring-beans</artifactId>
101       <version>${spring.version}</version>
102       <exclusions>
103         <exclusion>
104           <groupId>commons-logging</groupId>
105           <artifactId>commons-logging</artifactId>
106         </exclusion>
107       </exclusions>
108     </dependency>
109     <dependency>
110       <groupId>org.springframework</groupId>
111       <artifactId>spring-expression</artifactId>
112       <version>${spring.version}</version>
113       <exclusions>
114         <exclusion>
115           <groupId>commons-logging</groupId>
116           <artifactId>commons-logging</artifactId>
117         </exclusion>
118       </exclusions>
119     </dependency>
120     <dependency>
121       <groupId>org.springframework</groupId>
122       <artifactId>spring-test</artifactId>
123       <version>${spring.version}</version>
124       <exclusions>
125         <exclusion>
126           <groupId>commons-logging</groupId>
127           <artifactId>commons-logging</artifactId>
128         </exclusion>
129       </exclusions>
130     </dependency>
131     <dependency>
132       <groupId>org.apache.archiva.redback</groupId>
133       <artifactId>redback-common-test-resources</artifactId>
134       <scope>test</scope>
135       <version>${redback.version}</version>
136     </dependency>
137     <dependency>
138       <groupId>org.apache.archiva.redback</groupId>
139       <artifactId>redback-rbac-memory</artifactId>
140       <scope>test</scope>
141       <version>${redback.version}</version>
142     </dependency>
143     <dependency>
144       <groupId>org.apache.archiva.redback</groupId>
145       <artifactId>redback-rbac-cached</artifactId>
146       <scope>test</scope>
147       <version>${redback.version}</version>
148     </dependency>
149     <dependency>
150       <groupId>org.apache.archiva.redback</groupId>
151       <artifactId>redback-rbac-role-manager</artifactId>
152       <scope>test</scope>
153       <version>${redback.version}</version>
154     </dependency>
155     <dependency>
156       <groupId>org.apache.maven.wagon</groupId>
157       <artifactId>wagon-http</artifactId>
158       <version>${wagonVersion}</version>
159       <scope>test</scope>
160     </dependency>
161     <dependency>
162       <groupId>org.apache.maven.wagon</groupId>
163       <artifactId>wagon-http-lightweight</artifactId>
164       <version>${wagonVersion}</version>
165       <scope>test</scope>
166     </dependency>
167   </dependencies>
168   <build>
169     <pluginManagement>
170       <plugins>
171         <plugin>
172           <groupId>org.apache.maven.plugins</groupId>
173           <artifactId>maven-clean-plugin</artifactId>
174           <version>2.4.1</version>
175         </plugin>
176         <plugin>
177           <groupId>org.apache.maven.plugins</groupId>
178           <artifactId>maven-compiler-plugin</artifactId>
179           <version>2.3.2</version>
180         </plugin>
181         <plugin>
182           <groupId>org.apache.maven.plugins</groupId>
183           <artifactId>maven-resources-plugin</artifactId>
184           <version>2.5</version>
185         </plugin>
186         <plugin>
187           <groupId>org.apache.maven.plugins</groupId>
188           <artifactId>maven-jar-plugin</artifactId>
189           <version>2.3.2</version>
190         </plugin>
191         <plugin>
192           <groupId>org.apache.maven.plugins</groupId>
193           <artifactId>maven-surefire-plugin</artifactId>
194           <version>2.11</version>
195         </plugin>
196       </plugins>
197     </pluginManagement>
198     <plugins>
199       <plugin>
200         <groupId>org.apache.maven.plugins</groupId>
201         <artifactId>maven-antrun-plugin</artifactId>
202         <version>1.6</version>
203         <executions>
204           <execution>
205             <id>package</id>
206             <phase>package</phase>
207             <configuration>
208               <tasks>
209                 <echo>
210                 Remember to add the the following to the knownconsumers section in your archiva.xml file
211                  &lt;knownContentConsumer>simple-artifact-consumer&lt;/knownContentConsumer>
212                 </echo>
213               </tasks>
214             </configuration>
215             <goals>
216               <goal>run</goal>
217             </goals>
218           </execution>
219         </executions>
220       </plugin>
221       <plugin>
222         <groupId>org.apache.maven.plugins</groupId>
223         <artifactId>maven-compiler-plugin</artifactId>
224         <configuration>
225           <source>1.5</source>
226           <target>1.5</target>
227         </configuration>
228       </plugin>
229       <plugin>
230         <groupId>org.apache.maven.plugins</groupId>
231         <artifactId>maven-surefire-plugin</artifactId>
232         <configuration>
233           <systemPropertyVariables>
234             <appserver.base>${project.build.directory}/appserver-base</appserver.base>
235             <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
236             <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
237             <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
238             <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
239             <java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
240           </systemPropertyVariables>
241         </configuration>
242       </plugin>
243     </plugins>
244   </build>
245   <repositories>
246     <repository>
247       <id>redback.snapshots</id>
248       <name>Codehaus Redback Snapshots Repository</name>
249       <url>http://snapshots.repository.codehaus.org/</url>
250       <releases>
251         <enabled>false</enabled>
252       </releases>
253       <snapshots>
254         <enabled>true</enabled>
255       </snapshots>
256     </repository>
257   </repositories>
258 </project>