]> source.dussan.org Git - archiva.git/blob
08c3752ed911b13dc254d8ec90a54ec12b65c8b0
[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>2.3.0</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.codehaus.redback</groupId>
88       <artifactId>redback-common-test-resources</artifactId>
89       <scope>test</scope>
90       <version>1.4-SNAPSHOT</version>
91     </dependency>
92     <dependency>
93       <groupId>org.codehaus.redback</groupId>
94       <artifactId>redback-rbac-memory</artifactId>
95       <scope>test</scope>
96       <version>1.4-SNAPSHOT</version>
97     </dependency>
98     <dependency>
99       <groupId>org.codehaus.redback</groupId>
100       <artifactId>redback-rbac-cached</artifactId>
101       <scope>test</scope>
102       <version>1.4-SNAPSHOT</version>
103     </dependency>
104     <dependency>
105       <groupId>org.codehaus.redback</groupId>
106       <artifactId>redback-rbac-role-manager</artifactId>
107       <scope>test</scope>
108       <version>1.4-SNAPSHOT</version>
109     </dependency>
110   </dependencies>
111   <build>
112     <plugins>
113       <plugin>
114         <groupId>org.apache.maven.plugins</groupId>
115         <artifactId>maven-antrun-plugin</artifactId>
116         <version>1.6</version>
117         <executions>
118           <execution>
119             <id>package</id>
120             <phase>package</phase>
121             <configuration>
122               <tasks>
123                 <echo>
124                 Remember to add the the following to the knownconsumers section in your archiva.xml file
125                  &lt;knownContentConsumer>simple-artifact-consumer&lt;/knownContentConsumer>
126                 </echo>
127               </tasks>
128             </configuration>
129             <goals>
130               <goal>run</goal>
131             </goals>
132           </execution>
133         </executions>
134       </plugin>
135       <plugin>
136         <groupId>org.apache.maven.plugins</groupId>
137         <artifactId>maven-compiler-plugin</artifactId>
138         <version>2.3.2</version>
139         <configuration>
140           <source>1.5</source>
141           <target>1.5</target>
142         </configuration>
143       </plugin>
144       <plugin>
145         <groupId>org.apache.maven.plugins</groupId>
146         <artifactId>maven-surefire-plugin</artifactId>
147         <version>2.10</version>
148         <configuration>
149           <systemPropertyVariables>
150             <appserver.base>${project.build.directory}/appserver-base</appserver.base>
151             <archiva.user.configFileName>${basedir}/target/archiva.xml</archiva.user.configFileName>
152             <test.resources.path>${project.build.testOutputDirectory}</test.resources.path>
153             <redback.jdbc.url>jdbc:derby:memory:users-test;create=true</redback.jdbc.url>
154             <redback.jdbc.driver.name>org.apache.derby.jdbc.EmbeddedDriver</redback.jdbc.driver.name>
155           </systemPropertyVariables>
156         </configuration>
157       </plugin>
158     </plugins>
159   </build>
160   <repositories>
161     <repository>
162       <id>vmbuild.snapshots</id>
163       <url>http://vmbuild.apache.org/archiva/repository/snapshots</url>
164       <releases>
165         <enabled>false</enabled>
166       </releases>
167       <snapshots>
168         <enabled>true</enabled>
169       </snapshots>
170     </repository>
171     <repository>
172       <id>redback.snapshots</id>
173       <name>Codehaus Redback Snapshots Repository</name>
174       <url>http://snapshots.repository.codehaus.org/</url>
175       <releases>
176         <enabled>false</enabled>
177       </releases>
178       <snapshots>
179         <enabled>true</enabled>
180       </snapshots>
181     </repository>
182   </repositories>
183 </project>