diff options
author | Gautam Shah <gautams@amdocs.com> | 2018-05-31 19:06:30 +0530 |
---|---|---|
committer | Vitaly Emporopulo <Vitaliy.Emporopulo@amdocs.com> | 2018-05-31 15:07:47 +0000 |
commit | cc4088f4d26212b8dbeeff01f0ae2e38f2df4d3f (patch) | |
tree | 067dd0516bc2d0493b14b52e81ce2cb427d26696 /openecomp-be/tools/compile-helper-plugin/src/main/java/org | |
parent | 3407b830f0b954aea0d9cd90a7a60bcf25ef716b (diff) |
Fixing Build issue
build issue fix.
Change-Id: I19db0e4b9239b814fbca1334f5e0928f09a4c2a0
Issue-ID: SDC-1189
Signed-off-by: GAUTAMS <gautams@amdocs.com>
Diffstat (limited to 'openecomp-be/tools/compile-helper-plugin/src/main/java/org')
-rw-r--r-- | openecomp-be/tools/compile-helper-plugin/src/main/java/org/openecomp/sdc/onboarding/PreCompileHelperMojo.java | 3 |
1 files changed, 2 insertions, 1 deletions
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, "**/*"); |