diff --git a/iot-core/pom.xml b/iot-core/pom.xml
index 65d0662..af5db4b 100644
--- a/iot-core/pom.xml
+++ b/iot-core/pom.xml
@@ -68,7 +68,7 @@
${wso2am-nexus-artifact-version}
zip
true
- ${project.basedir}/target
+ ${project.basedir}/target/wso2am-${wso2am-nexus-artifact-version}
wso2am-${wso2am-nexus-artifact-version}