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:
@@ -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
|
||||
----
|
||||
|
Reference in New Issue
Block a user