mirror of
https://github.com/jlengrand/quarkus-workshop.git
synced 2026-03-10 08:41:21 +00:00
132 lines
3.5 KiB
JSON
132 lines
3.5 KiB
JSON
{
|
|
"name": "Quarkus Java, CodeReady, odo",
|
|
"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": "Build and Run Locally",
|
|
"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} clean 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} clean package -DskipTests",
|
|
"name": "Create Executable JAR",
|
|
"type": "custom",
|
|
"attributes": {
|
|
"goal": "Package",
|
|
"previewUrl": ""
|
|
}
|
|
},
|
|
{
|
|
"commandLine": "mvn clean compile quarkus:dev -Ddebug -f ${current.project.path}",
|
|
"name": "Debug Quarkus App",
|
|
"type": "custom",
|
|
"attributes": {
|
|
"previewUrl": "${server.8080/tcp}",
|
|
"goal": "Debug"
|
|
}
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
|