For a sample custom consumer, you can checkout the archiva-consumer-plugin at the archiva sandbox in the SVN repository:
+----+
-http://svn.apache.org/repos/asf/maven/sandbox/trunk/archiva/archiva-consumer-plugin
+http://svn.apache.org/repos/asf/archiva/sandbox/archiva-consumer-plugin
+----+
Below are the steps on how to create a custom repository consumer and plug it in Archiva:
<packaging>pom</packaging>
<version>1.0.2-SNAPSHOT</version>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/maven/archiva/branches/archiva-1.0.x</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-1.0.x</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/maven/archiva/branches/archiva-1.0.x</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/archiva/branches/archiva-1.0.x</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/branches/archiva-1.0.x</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/archiva/branches/archiva-1.0.x</url>
</scm>
<url>http://maven.apache.org/archiva/</url>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
- <tagBase>https://svn.apache.org/repos/asf/maven/archiva/tags</tagBase>
+ <tagBase>https://svn.apache.org/repos/asf/archiva/tags</tagBase>
<preparationGoals>clean install</preparationGoals>
</configuration>
</plugin>