archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1196511 - /archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm
Date Wed, 02 Nov 2011 09:02:18 GMT
Author: olamy
Date: Wed Nov  2 09:02:18 2011
New Revision: 1196511

URL: http://svn.apache.org/viewvc?rev=1196511&view=rev
Log:
[MRM-1547] release an archetype to create consumer
document how using the archetype.

Modified:
    archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm

Modified: archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm?rev=1196511&r1=1196510&r2=1196511&view=diff
==============================================================================
--- archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm (original)
+++ archiva/trunk/archiva-docs/src/site/apt/customising/writing-consumer.apt.vm Wed Nov  2
09:02:18 2011
@@ -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,
    <knownContentConsumer>)
 
  [[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



Mime
View raw message