karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnaud Vandyck (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-4056) Developer-guide/extending: replace mvn archetype:create by generate
Date Sun, 11 Oct 2015 20:56:05 GMT
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

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:
-mvn archetype:create \
+mvn archetype:generate \
   -DarchetypeArtifactId=maven-archetype-quickstart \
   -DgroupId=org.apache.karaf.shell.samples \
   -DartifactId=shell-sample-commands \

This message was sent by Atlassian JIRA

View raw message