From a98f21b719361931501c069412920818d1b2c0cb Mon Sep 17 00:00:00 2001 From: Corneil du Plessis Date: Wed, 11 Dec 2024 16:53:45 +0200 Subject: [PATCH] Remove JIB plugin from apps generator. Removes jib-plugin Modified tests that checked for presence of jib-plugin. --- .../src/main/resources/template/app-pom.xml | 35 ++++--------------- .../resources/template/apps-modules-pom.xml | 9 ----- .../dataflow/app/plugin/MojoHarnessTest.java | 11 +----- ...SpringCloudStreamAppGeneratorMojoTest.java | 27 ++++---------- .../resources/unit/http-source-apps/pom.xml | 4 +-- 5 files changed, 17 insertions(+), 69 deletions(-) diff --git a/spring-cloud-dataflow-apps-plugin/spring-cloud-dataflow-apps-generator-plugin/src/main/resources/template/app-pom.xml b/spring-cloud-dataflow-apps-plugin/spring-cloud-dataflow-apps-generator-plugin/src/main/resources/template/app-pom.xml index 1a828bb3f..53deeae65 100644 --- a/spring-cloud-dataflow-apps-plugin/spring-cloud-dataflow-apps-generator-plugin/src/main/resources/template/app-pom.xml +++ b/spring-cloud-dataflow-apps-plugin/spring-cloud-dataflow-apps-generator-plugin/src/main/resources/template/app-pom.xml @@ -138,39 +138,18 @@ org.springframework.boot spring-boot-maven-plugin - {{#app.bootPluginConfiguration}} + + {{app.containerImage.orgName}}/${project.artifactId}:{{app.containerImage.tag}} + + + {{#app.bootPluginConfiguration}} {{this}} + {{/app.bootPluginConfiguration}} + - {{/app.bootPluginConfiguration}} - - com.google.cloud.tools - jib-maven-plugin - 3.3.0 - - - {{app.containerImage.baseImage}} - - - {{app.containerImage.orgName}}/${project.artifactId}:{{app.containerImage.tag}} - - - USE_CURRENT_TIMESTAMP - {{app.containerImage.format}} - {{#app.containerImage.enableMetadata}} - - - ${org.springframework.cloud.dataflow.spring.configuration.metadata.json} - - ${project.artifactId} - ${project.version} - - {{/app.containerImage.enableMetadata}} - - - {{#app.containerImage.enableMetadata}}