---
version: 0.0.1
name: petclinic-dev-environment
projects:
- name: petclinic
source:
type: git
location: 'git@xxxxxxxxxx:spring-projects/spring-petclinic.git'
tools:
- name: mvn-stack
type: chePlugin
id: eclipse/maven-jdk8:1.0.0
- name: theia-ide
type: cheEditor
id: eclipse/theia:0.0.3
type: chePlugin
id: eclipse/theia-jdtls:0.0.3
commands:
- name: build
actions:
- type: exec
tool: mvn-stack
command: mvn package
workdir: /projects/spring-petclinic
- name: run
attributes:
runType: sequential
actions:
- type: exec
tool: mvn-stack
command: mvn spring-boot:run
workdir: /projects/spring-petclinic
- type: exec
command: run.sh
{
"name": "petclinic-dev-environment",
"commands": [
{
"name": "build:mvn-stack",
"attributes": {
"pluginId": "eclipse/maven-jdk8:1.0.0",
"workingDir": "/projects/spring-petclinic"
},
"commandLine": "mvn package"
},
{
"name": "run:mvn-stack",
"attributes": {
"pluginId": "eclipse/maven-jdk8:1.0.0",
"workingDir": "/projects/spring-petclinic"
},
"commandLine": "mvn spring-boot:run"
},
{
"attributes": {
"pluginId": "eclipse/theia-jdtls:0.0.3"
},
"commandLine": "run.sh"
}
],
"projects": [
{
"name": "petclinic",
"path": "/petclinic",
"attributes": {},
"source": {
"location": "git@xxxxxxxxxx:spring-projects/spring-petclinic.git",
"type": "git",
"parameters": {}
},
"mixins": []
}
],
"defaultEnv": "default",
"environments": {
"default": {
"recipe": {
"type": "dockerimage",
"content": "eclipse/ubuntu_jdk8"
},
"machines": {
"dev-machine": {
"attributes": {
"memoryLimitBytes": "2147483648"
},
"installers": [],
"servers": {},
"env": {},
"volumes": {}
}
}
}
},
"attributes": {
"eclipse/maven-jdk8:1.0.0": "mvn-stack",
"editor": "eclipse/theia:0.0.3",
"eclipse/theia-jdtls:0.0.3": "
jdt.ls",
"plugins": "eclipse/maven-jdk8:1.0.0,eclipse/theia-jdtls:0.0.3",
"eclipse/theia:0.0.3": "theia-ide"
}
}