Create Java project with Maven archetype karaf-command-archetype

A Karaf command archetype.

Create a Java Project by archetype karaf-command-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dpackage="My-package"   -Dscope="My-scope"   -Dcommand="My-command"   -Ddescription="My-description"   -DarchetypeGroupId="org.apache.karaf.archetypes"   -DarchetypeArtifactId="karaf-command-archetype"   -DarchetypeVersion="4.4.0"   -DinteractiveMode=false 

Required parameters for generate java project:

package
validationRegex: none
scope
validationRegex: none
command
validationRegex: none
description
validationRegex: none

Details about maven archetype karaf-command-archetype

License

License

GroupId

GroupId

org.apache.karaf.archetypes
ArtifactId

ArtifactId

karaf-command-archetype
Version

Version

4.4.0
Type

Type

maven-archetype
Description

Description

Apache Karaf :: Archetypes :: Command Archetype
A Karaf command archetype.
Project Organization

Project Organization

The Apache Software Foundation

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.apache.karaf.archetypes -DarchetypeArtifactId=karaf-command-archetype -DarchetypeVersion=4.4.0 -DinteractiveMode=false

Dependencies

test (2)

Group / Artifact Type Version
junit : junit jar 4.13.2
org.easymock : easymock jar 4.3

Project Modules

There are no modules declared in this project.