From 771ce9de36d238de6b0e183a06941ba28fc0f71f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 2 Nov 2011 09:02:18 +0000 Subject: [MRM-1547] release an archetype to create consumer document how using the archetype. git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1196511 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/customising/writing-consumer.apt.vm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'archiva-docs') diff --git a/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm b/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm index 252cd998b..e39030d56 100644 --- a/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm +++ b/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm @@ -32,6 +32,8 @@ Writing a Consumer Plugin For a sample custom consumer, you can checkout the archiva-consumer-plugin at the archiva sandbox in the SVN repository: Prior to release 1.4, plexus components are not anymore supported, you must use Spring components. +* Writing manually + +----+ http://svn.apache.org/repos/asf/archiva/sandbox/archiva-consumer-plugin +----+ @@ -66,3 +68,17 @@ where, ) [[8]] Start up Archiva again. + +* Use the archetype + + Prior to version 1.4-M2, you can use an archetype. + ++----+ +mvn archetype:generate \ + -DarchetypeRepository=repo1.maven.org \ + -DarchetypeGroupId=org.apache.archiva \ + -DarchetypeArtifactId=archiva-consumer-archetype \ + -DarchetypeVersion=${project.version} ++----+ + + Note: if you want to use a SNAPSHOT version, replace with the following parameter: -DarchetypeRepository=http://vmbuild.apache.org/archiva/repository/snapshots \ \ No newline at end of file -- cgit v1.2.3