mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Update devfile.yaml
This commit is contained in:
parent
d3c6d0820a
commit
0aacbf4bc9
1 changed files with 15 additions and 0 deletions
15
devfile.yaml
15
devfile.yaml
|
@ -38,4 +38,19 @@ components:
|
||||||
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
|
-XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true
|
||||||
-Xms20m -Djava.security.egd=file:/dev/./urandom
|
-Xms20m -Djava.security.egd=file:/dev/./urandom
|
||||||
name: JAVA_TOOL_OPTIONS
|
name: JAVA_TOOL_OPTIONS
|
||||||
|
- id: redhat/dependency-analytics/latest
|
||||||
|
type: chePlugin
|
||||||
apiVersion: 1.0.0
|
apiVersion: 1.0.0
|
||||||
|
commands:
|
||||||
|
- name: maven build
|
||||||
|
actions:
|
||||||
|
- workdir: '${CHE_PROJECTS_ROOT}/spring-boot-java'
|
||||||
|
type: exec
|
||||||
|
command: mvn clean install
|
||||||
|
component: maven
|
||||||
|
- name: maven build and run
|
||||||
|
actions:
|
||||||
|
- workdir: '${CHE_PROJECTS_ROOT}/spring-boot-java'
|
||||||
|
type: exec
|
||||||
|
command: mvn clean install && java -jar ./target/*.jar
|
||||||
|
component: maven
|
||||||
|
|
Loading…
Reference in a new issue