]> source.dussan.org Git - archiva.git/blob
2d45a6fdcc3f404760f12fe06e4838c77d5cd749
[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   </dependencies>
155   <build>
156     <pluginManagement>
157       <plugins>
158         <plugin>
159           <groupId>org.apache.maven.plugins</groupId>
160           <artifactId>maven-clean-plugin</artifactId>
161           <version>2.4.1</version>
162         </plugin>
163         <plugin>
164           <groupId>org.apache.maven.plugins</groupId>
165           <artifactId>maven-compiler-plugin</artifactId>
166           <version>2.3.2</version>
167         </plugin>
168         <plugin>
169           <groupId>org.apache.maven.plugins</groupId>
170           <artifactId>maven-resources-plugin</artifactId>
171           <version>2.5</version>
172         </plugin>
173         <plugin>
174           <groupId>org.apache.maven.plugins</groupId>
175           <artifactId>maven-jar-plugin</artifactId>
176           <version>2.3.2</version>
177         </plugin>
178         <plugin>
179           <groupId>org.apache.maven.plugins</groupId>
180           <artifactId>maven-surefire-plugin</artifactId>
181           <version>2.11</version>
182         </plugin>
183       </plugins>
184     </pluginManagement>
185     <plugins>
186       <plugin>
187         <groupId>org.apache.maven.plugins</groupId>
188         <artifactId>maven-antrun-plugin</artifactId>
189         <version>1.6</version>
190         <executions>
191           <execution>
192             <id>package</id>
193             <phase>package</phase>
194             <configuration>
195               <tasks>
196                 <echo>
197                 Remember to add the the following to the knownconsumers section in your archiva.xml file
198                  &lt;knownContentConsumer>simple-artifact-consumer&lt;/knownContentConsumer>
199                 </echo>
200               </tasks>
201             </configuration>
202             <goals>
203               <goal>run</goal>
204             </goals>
205           </execution>
206         </executions>
207       </plugin>
208       <plugin>
209         <groupId>org.apache.maven.plugins</groupId>
210         <artifactId>maven-compiler-plugin</artifactId>
211         <configuration>
212           <source>1.5</source>
213           <target>1.5</target>
214         </configuration>
215       </plugin>
216       <plugin>
217         <groupId>org.apache.maven.plugins</groupId>
218         <artifactId>maven-surefire-plugin</artifactId>
219         <configuration>
220           <systemPropertyVariables>
221             <appserver.base>${project.build.directory}/appserver-base</appserver.base>
222             <archiva.user.configFileName>${project.build.directory}/archiva.xml</archiva.user.configFileName>
223             <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
224             <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
225             <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
226             <java.io.tmpdir>${project.build.directory}/temp</java.io.tmpdir>
227           </systemPropertyVariables>
228         </configuration>
229       </plugin>
230     </plugins>
231   </build>
232   <repositories>
233     <repository>
234       <id>redback.snapshots</id>
235       <name>Codehaus Redback Snapshots Repository</name>
236       <url>http://snapshots.repository.codehaus.org/</url>
237       <releases>
238         <enabled>false</enabled>
239       </releases>
240       <snapshots>
241         <enabled>true</enabled>
242       </snapshots>
243     </repository>
244   </repositories>
245 </project>