You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Arnaud Vandyck (JIRA)" <ji...@apache.org> on 2015/10/11 22:56:05 UTC
[jira] [Created] (KARAF-4056) Developer-guide/extending: replace
mvn archetype:create by generate
Arnaud Vandyck created KARAF-4056:
-------------------------------------
Summary: Developer-guide/extending: replace mvn archetype:create by generate
Key: KARAF-4056
URL: https://issues.apache.org/jira/browse/KARAF-4056
Project: Karaf
Issue Type: Bug
Components: karaf-documentation
Affects Versions: 4.0.1
Reporter: Arnaud Vandyck
Priority: Trivial
The command mvn archetype:create has been deprecated in favour of mvn archetype:generate.
See http://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html
I put a patch between "quote" tags
{quote}
diff --git a/manual/src/main/webapp/developers-guide/extending.conf b/manual/src/main/webapp/developers-guide/extending.conf
index eb04003..21d67ec 100644
--- a/manual/src/main/webapp/developers-guide/extending.conf
+++ b/manual/src/main/webapp/developers-guide/extending.conf
@@ -24,7 +24,7 @@ The Maven Quickstart archetype can create an empty Maven project where you can p
You can directly use:
{code}
-mvn archetype:create \
+mvn archetype:generate \
-DarchetypeArtifactId=maven-archetype-quickstart \
-DgroupId=org.apache.karaf.shell.samples \
-DartifactId=shell-sample-commands \
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)