Create Java project with Maven archetype example-kar-plugin

Integration and extension API for OpenNMS

Create a Java Project by archetype example-kar-plugin with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DpluginId="My-pluginId"   -DpluginName="My-pluginName"   -DoiaVersion="My-oiaVersion"   -DarchetypeGroupId="org.opennms.integration.api"   -DarchetypeArtifactId="example-kar-plugin"   -DarchetypeVersion="1.0.0"   -DinteractiveMode=false 

Required parameters for generate java project:

pluginId
validationRegex: ^[a-z0-9\-]+$
pluginName
validationRegex: none
oiaVersion
validationRegex: ^[a-zA-Z0-9\.\-]+$

Generated Project modules

  • assembly
  • plugin
  • karaf-features

Details about maven archetype example-kar-plugin

License

License

GroupId

GroupId

org.opennms.integration.api
ArtifactId

ArtifactId

example-kar-plugin
Version

Version

1.0.0
Type

Type

maven-archetype
Description

Description

OpenNMS Integration API :: Archetypes :: Example KAR Plugin
Integration and extension API for OpenNMS

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.opennms.integration.api -DarchetypeArtifactId=example-kar-plugin -DarchetypeVersion=1.0.0 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.