Scout Boot - Spring Boot & Eclipse Scout Integration
Please Note: This is only a proof of concept and has not been tested for productive usage nor is there any support available from the scout contributors.
There are currently no plans to publish the modules to Maven Central.
Before you can use any archetypes you need to build the scout-boot modules and the archetypes. To do this change into the ScoutBoot project folder and run Maven.
mvn clean install
How to generate a minimal Scout Boot application:
mvn archetype:generate \
-DarchetypeGroupId=org.eclipse.scout.boot \
-DarchetypeArtifactId=scout-boot-archetype-minimal \
-DarchetypeVersion=7.0.150.002 \
-DgroupId=com.bsiag.demo \
-DartifactId=minimal \
-Dversion=1.0-SNAPSHOT
cd minimal
mvn install eclipse:eclipse
java -jar target/minimal-\*.jar
After building the scout-boot modules and the archetypes (see above) use the standard archetype to create a simple Tasks Application.
mvn archetype:generate \
-B \
-DarchetypeGroupId=org.eclipse.scout.boot \
-DarchetypeArtifactId=scout-boot-archetype-standard \
-DarchetypeVersion=7.0.150.002 \
-DgroupId=com.bsiag.demo \
-DartifactId=tasks \
-Dversion=1.0-SNAPSHOT
cd tasks
mvn clean package
java -jar target/tasks-1.0-SNAPSHOT.jar
### Play with the Application
In your browser change to localhost. This starts the UI of the Tasks application. To log in you may use any of the following pre-created users (user/password) below.
- root/eclipse
- alice/test
- bob/test
In case your user has rights to access the application's API (log in with root/eclipse to check for this) you can also access the business objects (tasks) via REST.
Remark: In order to see any tasks you have to enter some of them first in the UI of the application.
- Remove Eclipse Maven repositories when first 7.0.0 milestone is published to Maven Central