apiVersion: 1.0.0 metadata: generateName: drogue-iot- projects: - name: quarkus-mqtt-integration-starter source: type: git location: 'https://github.com/drogue-iot/quarkus-mqtt-integration-starter.git' branch: main components: - id: redhat/vscode-xml/latest type: chePlugin - id: redhat/quarkus-java11/latest type: chePlugin - id: redhat/vscode-yaml/latest type: chePlugin - type: dockerimage alias: maven image: quay.io/eclipse/che-quarkus:7.30.2 env: - name: JAVA_OPTS value: '-XX:MaxRAMPercentage=50.0 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/jboss' - name: MAVEN_OPTS value: $(JAVA_OPTS) memoryLimit: 1Gi mountSources: true volumes: - name: m2 containerPath: /home/jboss/.m2 endpoints: - name: quarkus-development-server port: 8080 - attributes: path: / name: starter-frontend-endpoint port: 8080 - attributes: public: 'false' name: debug port: 5005 - attributes: public: 'false' name: tests port: 8081 commands: - name: Start Quarkus in devmode (hot deploy + debug) actions: - type: exec component: maven command: 'mvn compile quarkus:dev -Dquarkus.http.host=0.0.0.0 -Dquarkus.live-reload.instrumentation=false' workdir: '${CHE_PROJECTS_ROOT}/quarkus-mqtt-integration-starter' - name: Package the application actions: - type: exec component: maven command: mvn package workdir: '${CHE_PROJECTS_ROOT}/quarkus-mqtt-integration-starter' - name: Attach remote debugger actions: - type: vscode-launch referenceContent: | { "version": "0.2.0", "configurations": [ { "type": "java", "request": "attach", "name": "Attach to Remote Quarkus App", "hostName": "localhost", "port": 5005 } ] }