Plugin docs: Specify archetype repository in archetype command

For snapshot versions the archetype repository must be explicitly
specified. If no archetype repository is specified Maven tries to
download the artifacts from Maven central, but there only release
artifacts are available.

Change-Id: Id4ddcff482bd98da89a79a2c76e483a55baad9df
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2014-06-04 14:56:23 +02:00
parent 1721538dd3
commit 441a0b89ce

View File

@@ -37,6 +37,7 @@ plugin project.
mvn archetype:generate -DarchetypeGroupId=com.google.gerrit \
-DarchetypeArtifactId=gerrit-plugin-archetype \
-DarchetypeVersion=2.10-SNAPSHOT \
-DarchetypeRepository=https://oss.sonatype.org/content/repositories/snapshots/ \
-DgroupId=com.googlesource.gerrit.plugins.testplugin \
-DartifactId=testplugin
----