From 25506ff3def2e9a629f2056d514e84ecd3ecb2b3 Mon Sep 17 00:00:00 2001 From: Pavel Popov Date: Wed, 29 Jul 2020 10:56:58 +0300 Subject: [PATCH] Bump parent pom and build_utils (#21) * Bump parent pom and build_utils * Fix compilation error * Bump easyway --- Jenkinsfile | 4 +--- build_utils | 2 +- pom.xml | 14 +++++++------- .../rbkmoney/file/storage/util/CheckerUtil.java | 4 ++-- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2469138..1e61184 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,8 +11,6 @@ build('file-storage', 'java-maven') { def serviceName = env.REPO_NAME def mvnArgs = '-DjvmArgs="-Xmx256m"' def useJava11 = true - def registry = 'dr2.rbkmoney.com' - def registryCredsId = 'jenkins_harbor' - javaServicePipeline(serviceName, useJava11, mvnArgs, registry, registryCredsId) + javaServicePipeline(serviceName, useJava11, mvnArgs) } diff --git a/build_utils b/build_utils index 1c06610..34f432a 160000 --- a/build_utils +++ b/build_utils @@ -1 +1 @@ -Subproject commit 1c066106d80aa95d053424d5dc7e9d976012ca2e +Subproject commit 34f432a1e8e0adedbba23ecd29c1eb2412a8d416 diff --git a/pom.xml b/pom.xml index ebafbff..1f600b6 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.rbkmoney spring-boot-starter-parent - 2.1.1.RELEASE + 2.3.1.RELEASE @@ -26,14 +26,14 @@ ${server.port} UTF-8 - 1.1.0 + 1.1.2 c0d0900ec19c907d866f8360031a836049985110 ${env.REGISTRY} - 0.3.6 - 1.1.15 + 0.3.8 + 1.1.22 1.24-a77c0c4 - 0.6.8 + 0.6.11 @@ -104,7 +104,7 @@ org.projectlombok lombok - 1.18.4 + ${lombok.version} provided @@ -141,7 +141,7 @@ com.rbkmoney easyway - 0.1.0 + 0.3.0 test diff --git a/src/main/java/com/rbkmoney/file/storage/util/CheckerUtil.java b/src/main/java/com/rbkmoney/file/storage/util/CheckerUtil.java index 85b95c0..4be50cd 100644 --- a/src/main/java/com/rbkmoney/file/storage/util/CheckerUtil.java +++ b/src/main/java/com/rbkmoney/file/storage/util/CheckerUtil.java @@ -1,11 +1,11 @@ package com.rbkmoney.file.storage.util; -import com.google.common.base.Strings; +import org.springframework.util.StringUtils; public class CheckerUtil { public static void checkString(String string, String exMessage) { - if (Strings.isNullOrEmpty(string) || string.contains(" ")) { + if (StringUtils.isEmpty(string) || string.contains(" ")) { throw new IllegalArgumentException(exMessage); } }