From 1ee111c0eb9d93df995a203d2f153443e17d344c Mon Sep 17 00:00:00 2001 From: PatrikBuhr Date: Fri, 12 Apr 2019 08:24:36 +0000 Subject: Fixed build problems Fixed a build problem cause by a merge error from previous commits. Fixes warnings from maven compile Change-Id: I1ce88b2686b3be5ecd17113cbfde3e65297c27c6 Issue-ID: DCAEGEN2-1118 Signed-off-by: PatrikBuhr --- datafile-app-server/pom.xml | 35 +++++----------------- .../collectors/datafile/tasks/ScheduledTasks.java | 2 +- pom.xml | 9 ++++-- 3 files changed, 15 insertions(+), 31 deletions(-) diff --git a/datafile-app-server/pom.xml b/datafile-app-server/pom.xml index ae15ffe7..122989fa 100644 --- a/datafile-app-server/pom.xml +++ b/datafile-app-server/pom.xml @@ -51,6 +51,13 @@ ${project.artifactId} org.onap.dcaegen2.collectors.datafile.MainApp + + + + build-info + + + com.spotify @@ -122,18 +129,6 @@ - - org.springframework.boot - spring-boot-maven-plugin - - - - build-info - - - - - pl.project13.maven git-commit-id-plugin @@ -193,22 +188,6 @@ com.jcraft jsch - - - org.apache.commons - commons-lang3 - - - org.apache.httpcomponents - httpclient - - - commons-net - commons-net - - - org.springframework.boot - spring-boot-starter-actuator org.apache.commons diff --git a/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasks.java b/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasks.java index ae8c6215..364fa040 100644 --- a/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasks.java +++ b/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/tasks/ScheduledTasks.java @@ -133,7 +133,7 @@ public class ScheduledTasks { } public int publishedFilesCacheSize() { - return alreadyPublishedFiles.size(); + return publishedFilesCache.size(); } protected DMaaPMessageConsumer createConsumerTask() { diff --git a/pom.xml b/pom.xml index c9ad3262..2528378a 100644 --- a/pom.xml +++ b/pom.xml @@ -135,11 +135,16 @@ true + + pl.project13.maven + git-commit-id-plugin + 2.2.4 + - + org.onap.dcaegen2.services.sdk.rest.services @@ -165,7 +170,7 @@ org.apache.httpcomponents httpasyncclient 4.1.4 - + org.springframework.boot spring-boot-dependencies -- cgit 1.2.3-korg