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