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/maven/archiva/sandbox/archiva-consumer-plugin
+----+
Below are the steps on how to create a custom repository consumer and plug it in Archiva:
<artifactId>archiva</artifactId>
<packaging>pom</packaging>
<version>1.1-SNAPSHOT</version>
- <scm connection="scm:svn:http://svn.apache.org/repos/asf/maven/archiva/trunk"
- developerConnection="scm:svn:https://svn.apache.org/repos/asf/maven/archiva/trunk"
- url="http://svn.apache.org/viewcvs.cgi/maven/archiva/trunk"/>
+ <scm connection="scm:svn:http://svn.apache.org/repos/asf/archiva/trunk"
+ developerConnection="scm:svn:https://svn.apache.org/repos/asf/archiva/trunk"
+ url="http://svn.apache.org/viewcvs.cgi/archiva/trunk"/>
<url>http://maven.apache.org/archiva/</url>
<build>
</plugin>
<plugin artifactId="maven-release-plugin">
<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>
<packaging>pom</packaging>
<version>1.1-SNAPSHOT</version>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/maven/archiva/trunk</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/archiva/trunk</developerConnection>
- <url>http://svn.apache.org/viewcvs.cgi/maven/archiva/trunk</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/archiva/trunk</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/archiva/trunk</developerConnection>
+ <url>http://svn.apache.org/viewcvs.cgi/archiva/trunk</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>