-
Bug
-
Resolution: Done
-
Critical
-
2.0.0.GA
-
None
There was Not Found error on start of java Maven workspace:
The same result with Node JS workspace:
Default devfile:
metadata: name: jmaven projects: - name: console-java-simple source: location: 'https://github.com/che-samples/console-java-simple' type: git components: - id: redhat/java8/latest type: chePlugin - mountSources: true memoryLimit: 512Mi type: dockerimage volumes: - name: m2 containerPath: /home/jboss/.m2 image: registry.redhat.io/codeready-workspaces/stacks-java-rhel8 alias: maven env: - value: /home/jboss/.m2 name: MAVEN_CONFIG - 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: JAVA_OPTS - value: $(JAVA_OPTS) name: MAVEN_OPTS apiVersion: 1.0.0 commands: - name: maven build actions: - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple' type: exec command: mvn clean install component: maven - name: maven build and run actions: - workdir: '${CHE_PROJECTS_ROOT}/console-java-simple' type: exec command: mvn clean install && java -jar ./target/*.jar component: maven - name: dependency analysis actions: - type: exec command: >- ${HOME}/stack-analysis.sh -f ${CHE_PROJECTS_ROOT}/console-java-simple/pom.xml -p ${CHE_PROJECTS_ROOT}/console-java-simple component: maven