Create Java project with Maven archetype scout-helloworld-app

Maven Archetype which creates a Scout Hello World Sample Application

Create a Java Project by archetype scout-helloworld-app with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -DjavaVersion="My-javaVersion"   -DdisplayName="My-displayName"   -DscoutAuthPublicKey="My-scoutAuthPublicKey"   -DscoutAuthPrivateKey="My-scoutAuthPrivateKey"   -DscoutAuthPublicKeyDev="My-scoutAuthPublicKeyDev"   -DscoutAuthPrivateKeyDev="My-scoutAuthPrivateKeyDev"   -DuserName="My-userName"   -DarchetypeGroupId="org.eclipse.scout.archetypes"   -DarchetypeArtifactId="scout-helloworld-app"   -DarchetypeVersion="9.0.0.007_Simrel_2019_03_RC1"   -DinteractiveMode=false 

Required parameters for generate java project:

javaVersion
validationRegex: none
displayName
validationRegex: none
scoutAuthPublicKey
validationRegex: none
scoutAuthPrivateKey
validationRegex: none
scoutAuthPublicKeyDev
validationRegex: none
scoutAuthPrivateKeyDev
validationRegex: none
userName
validationRegex: none

Generated Project modules

  • parent
  • shared
  • server
  • client
  • server.app.war
  • server.app.dev
  • ui.html
  • ui.html.app.war
  • ui.html.app.dev

Details about maven archetype scout-helloworld-app

GroupId

GroupId

org.eclipse.scout.archetypes
ArtifactId

ArtifactId

scout-helloworld-app
Version

Version

9.0.0.007_Simrel_2019_03_RC1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=org.eclipse.scout.archetypes -DarchetypeArtifactId=scout-helloworld-app -DarchetypeVersion=9.0.0.007_Simrel_2019_03_RC1 -DinteractiveMode=false