Files
quarkus-workshop/files/stack.json
2019-11-04 09:38:53 -05:00

123 lines
3.2 KiB
JSON

{
"name": "Quarkus Java CodeReady",
"description": "Java JDK Stack for Quarkus Apps",
"scope": "general",
"workspaceConfig": {
"environments": {
"default": {
"recipe": {
"type": "dockerimage",
"content": "image-registry.openshift-image-registry.svc:5000/openshift/quarkus-stack:1.0"
},
"machines": {
"dev-machine": {
"env": {},
"servers": {
"8080/tcp": {
"attributes": {},
"protocol": "http",
"port": "8080"
},
"8000/tcp": {
"attributes": {},
"protocol": "http",
"port": "8000"
},
"5005/tcp": {
"attributes": {},
"protocol": "http",
"port": "5005"
}
},
"volumes": {},
"installers": [
"org.eclipse.che.exec",
"org.eclipse.che.terminal",
"org.eclipse.che.ws-agent",
"org.eclipse.che.ls.java"
],
"attributes": {
"memoryLimitBytes": "5368709120"
}
}
}
}
},
"commands": [
{
"commandLine": "mvn verify -f ${current.project.path}",
"name": "Run Quarkus Tests",
"type": "mvn",
"attributes": {
"goal": "Test",
"previewUrl": ""
}
},
{
"commandLine": "mvn clean compile quarkus:dev -f ${current.project.path}",
"name": "Start Live Coding",
"type": "custom",
"attributes": {
"goal": "Run",
"previewUrl": "${server.8080/tcp}"
}
},
{
"commandLine": "MAVEN_OPTS=\"-Xmx1024M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=1024M -XX:+CMSClassUnloadingEnabled\" mvn -f ${current.project.path} package -Pnative -DskipTests",
"name": "Build Native Quarkus App",
"type": "custom",
"attributes": {
"goal": "Package",
"previewUrl": ""
}
},
{
"commandLine": "MAVEN_OPTS=\"-Xmx1024M -Xss128M -XX:MetaspaceSize=512M -XX:MaxMetaspaceSize=1024M -XX:+CMSClassUnloadingEnabled\" mvn -f ${current.project.path} package -DskipTests",
"name": "Create Executable JAR",
"type": "custom",
"attributes": {
"goal": "Package",
"previewUrl": ""
}
}
],
"projects": [],
"defaultEnv": "default",
"name": "default",
"links": []
},
"components": [
{
"version": "---",
"name": "CentOS"
},
{
"version": "1.8.0_45",
"name": "JDK"
},
{
"version": "3.6.0",
"name": "Maven"
},
{
"version": "2.4",
"name": "Ansible"
},
{
"version": "4.1.0",
"name": "OpenShift CLI"
}
],
"creator": "ide",
"tags": [
"Java",
"JDK",
"Maven",
"Ansible",
"CentOS",
"Git"
],
"id": "quarkus-java"
}