From cc4088f4d26212b8dbeeff01f0ae2e38f2df4d3f Mon Sep 17 00:00:00 2001 From: Gautam Shah Date: Thu, 31 May 2018 19:06:30 +0530 Subject: Fixing Build issue build issue fix. Change-Id: I19db0e4b9239b814fbca1334f5e0928f09a4c2a0 Issue-ID: SDC-1189 Signed-off-by: GAUTAMS --- .../main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openecomp-be') diff --git a/openecomp-be/tools/compile-helper-plugin/src/main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java b/openecomp-be/tools/compile-helper-plugin/src/main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java index 15a45a7e6a..59242715d2 100644 --- a/openecomp-be/tools/compile-helper-plugin/src/main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java +++ b/openecomp-be/tools/compile-helper-plugin/src/main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java @@ -32,6 +32,7 @@ import static org.openecomp.sdc.onboarding.Constants.JAVA_EXT; import static org.openecomp.sdc.onboarding.Constants.MAIN; import static org.openecomp.sdc.onboarding.Constants.MAIN_CHECKSUM; import static org.openecomp.sdc.onboarding.Constants.MAIN_SOURCE_CHECKSUM; +import static org.openecomp.sdc.onboarding.Constants.PREFIX; import static org.openecomp.sdc.onboarding.Constants.RESOURCES_CHANGED; import static org.openecomp.sdc.onboarding.Constants.RESOURCE_CHECKSUM; import static org.openecomp.sdc.onboarding.Constants.RESOURCE_ONLY; @@ -283,7 +284,7 @@ public class PreCompileHelperMojo extends AbstractMojo { } private void setJarFlags(boolean compile, boolean instrumented, boolean resourceChanged) { - if (compile || instrumented || resourceChanged) { + if (compile || instrumented || resourceChanged || PREFIX == UNICORN) { project.getProperties().setProperty(EMPTY_JAR, ""); } else { project.getProperties().setProperty(EMPTY_JAR, "**/*"); -- cgit 1.2.3-korg