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://maven.apache.org</url>
12 This is a simple consumer component which demonstrates how a
13 component can be plugged in Archiva.
16 <archiva.version>${archivaVersion}</archiva.version>
20 <groupId>org.apache.archiva</groupId>
21 <artifactId>archiva-consumer-api</artifactId>
22 <version>${archiva.version}</version>
25 <groupId>org.apache.archiva</groupId>
26 <artifactId>archiva-configuration</artifactId>
27 <version>${archiva.version}</version>
30 <groupId>org.apache.archiva</groupId>
31 <artifactId>archiva-repository-layer</artifactId>
32 <version>${archiva.version}</version>
35 <groupId>org.apache.archiva</groupId>
36 <artifactId>archiva-indexer</artifactId>
37 <version>${archiva.version}</version>
40 <groupId>org.easymock</groupId>
41 <artifactId>easymock</artifactId>
42 <version>2.2</version>
46 <groupId>junit</groupId>
47 <artifactId>junit</artifactId>
48 <version>4.9</version>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-antrun-plugin</artifactId>
60 <phase>package</phase>
64 Remember to add the the following to the knownconsumers section in ~/.m2/archiva.xml
65 <knownContentConsumer>simple-artifact-consumer</knownContentConsumer>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-compiler-plugin</artifactId>
87 <id>vmbuild.snapshots</id>
88 <url>http://vmbuild.apache.org/archiva/repository/snapshots</url>
90 <enabled>false</enabled>
93 <enabled>true</enabled>