Create Java project with Maven archetype scout-helloworld-app

Creates a Hello World sample application using Scout Classic (UI written in Java)

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"   -DsimpleArtifactName="My-simpleArtifactName"   -DuserName="My-userName"   -Ddebug="My-debug"   -DarchetypeGroupId="org.eclipse.scout.archetypes"   -DarchetypeArtifactId="scout-helloworld-app"   -DarchetypeVersion="11.0.14"   -DinteractiveMode=false 

Required parameters for generate java project:

javaVersion
validationRegex: none
displayName
validationRegex: none
simpleArtifactName
validationRegex: none
userName
validationRegex: none
debug
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

11.0.14
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=11.0.14 -DinteractiveMode=false