You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2010/07/19 11:19:52 UTC

[jira] Updated: (KARAF-40) Create a maven archetype for creating shell commands

     [ https://issues.apache.org/jira/browse/KARAF-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos updated KARAF-40:
----------------------------------

    Attachment: command-archetype-patch.txt

I am attaching a patch for a simple maven shell commands archetype.

This archetype can be used to create a bundle with a single command.
The  scope, the command & the description of the command can be passed as parameters during project generation like:

mvn archetype:generate -DarchetypeGroupId=org.apache.karaf.shell \
-DarchetypeArtifactId=org.apache.karaf.shell.command.archetype \
-DarchetypeVersion=1.99.0-SNAPSHOT \
-DgroupId=org.apache.shell.test \
-DartifactId=test.commands \
-Dscope=test \
-Dcommand=TestCommand \
-Ddescription=An example command for demonstrating the command archetype.



> Create a maven archetype for creating shell commands
> ----------------------------------------------------
>
>                 Key: KARAF-40
>                 URL: https://issues.apache.org/jira/browse/KARAF-40
>             Project: Karaf
>          Issue Type: Task
>            Reporter: Guillaume Nodet
>         Attachments: command-archetype-patch.txt
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.