From 18fbc5406f77d39889992dff22223d0eb89474e8 Mon Sep 17 00:00:00 2001 From: vasraz Date: Mon, 4 Apr 2022 23:27:19 +0100 Subject: Fix broken sdc-workflow-designer-be container Signed-off-by: Vasyl Razinkov Issue-ID: SDC-3950 Change-Id: I606b7536da5e867cd7edf7f23f5532e09764ede4 --- pom.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 8eb3e28c..05dd0d49 100644 --- a/pom.xml +++ b/pom.xml @@ -15,9 +15,9 @@ --> + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 @@ -41,17 +41,17 @@ UTF-8 ${project.version} ${maven.build.timestamp} - 1.3.0 + 1.5.0 true docker docker nexus3.onap.org:10001 https://nexus.onap.org /content/sites/site/org/onap/sdc/workflow/${project.version} - - - ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - + + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + @@ -167,16 +167,16 @@ println 'Docker Tagging Script:' + project.properties['sdc.project.version'] + '/' + project.properties['sdc.build.timestamp']; def versionArray; - if ( project.properties['sdc.project.version'] != null ) { + if (project.properties['sdc.project.version'] != null) { versionArray = project.properties['sdc.project.version'].split('\\.'); } - if ( project.properties['sdc.project.version'].endsWith("-SNAPSHOT") ) { - project.properties.setProperty('project.docker.latesttag.version',versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest"); - project.properties.setProperty('project.docker.latesttagtimestamp.version',versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-"+project.properties['sdc.build.timestamp']); + if (project.properties['sdc.project.version'].endsWith("-SNAPSHOT")) { + project.properties.setProperty('project.docker.latesttag.version', versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest"); + project.properties.setProperty('project.docker.latesttagtimestamp.version', versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-" + project.properties['sdc.build.timestamp']); } else { - project.properties.setProperty('project.docker.latesttag.version',versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"); - project.properties.setProperty('project.docker.latesttagtimestamp.version',versionArray[0] + '.' + versionArray[1] + "-STAGING-"+project.properties['sdc.build.timestamp']); + project.properties.setProperty('project.docker.latesttag.version', versionArray[0] + '.' + versionArray[1] + "-STAGING-latest"); + project.properties.setProperty('project.docker.latesttagtimestamp.version', versionArray[0] + '.' + versionArray[1] + "-STAGING-" + project.properties['sdc.build.timestamp']); } println 'New Tags for docker:' + project.properties['project.docker.latesttag.version'] + '/' + project.properties['project.docker.latesttagtimestamp.version']; -- cgit 1.2.3-korg