From cb32347f878784c199624a198064978c4da3b19a Mon Sep 17 00:00:00 2001 From: Maysun Faisal <31771087+maysunfaisal@users.noreply.github.com> Date: Wed, 28 Apr 2021 17:01:00 -0400 Subject: [PATCH 1/2] Fix devfile format --- devfile.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index 851e8e3..1a06c7a 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -16,7 +16,7 @@ starterProjects: remotes: origin: "https://github.com/odo-devfiles/springboot-ex.git" components: - - name: buildguidance + - name: buildguidance attributes: tool: console-import container: @@ -60,4 +60,4 @@ commands: commandLine: "java -Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=${DEBUG_PORT},suspend=n -jar target/*.jar" group: kind: debug - isDefault: true \ No newline at end of file + isDefault: true From dfe4aceec5ce40d2271f5a68da557302dd793266 Mon Sep 17 00:00:00 2001 From: Maysun Faisal <31771087+maysunfaisal@users.noreply.github.com> Date: Wed, 28 Apr 2021 17:05:31 -0400 Subject: [PATCH 2/2] Attribute format --- devfile.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index 1a06c7a..a9fe71d 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -3,8 +3,8 @@ metadata: name: java-springboot version: 1.1.0 attributes: - alpha.build-context: . - alpha.build-dockerfile: docker/Dockerfile + alpha.build-context: . + alpha.build-dockerfile: docker/Dockerfile displayName: Java Spring Boot description: Java Spring Boot using Maven tags: ["Java", "Spring"]