Create Java project with Maven archetype war-rest-archetype

Creates a new RESTful WebService Example using JAX-RS in a WAR

Create a Java Project by archetype war-rest-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dtest.server.port="My-test.server.port"   -DarchetypeGroupId="io.fabric8.archetypes"   -DarchetypeArtifactId="war-rest-archetype"   -DarchetypeVersion="2.2.34"   -DinteractiveMode=false 

Required parameters for generate java project:

test.server.port
validationRegex: none

Details about maven archetype war-rest-archetype

License

License

GroupId

GroupId

io.fabric8.archetypes
ArtifactId

ArtifactId

war-rest-archetype
Version

Version

2.2.34
Type

Type

maven-archetype
Description

Description

Fabric8 :: Archetypes :: War :: RESTful WebService WAR
Creates a new RESTful WebService Example using JAX-RS in a WAR
Project Organization

Project Organization

Red Hat

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=io.fabric8.archetypes -DarchetypeArtifactId=war-rest-archetype -DarchetypeVersion=2.2.34 -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.