diff --git a/modules/distribution/pom.xml b/modules/distribution/pom.xml
index 2de47da5..fdb98b9d 100644
--- a/modules/distribution/pom.xml
+++ b/modules/distribution/pom.xml
@@ -340,11 +340,11 @@
file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/iot/iot-config.xml"/>
+ toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/arduino/build.xml.disable"/>
+ toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/raspberrypi/build.xml.disable"/>
+ toFile="target/wso2carbon-core-${carbon.kernel.version}/samples/virtual_firealarm/build.xml.disable"/>
diff --git a/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/pom.xml b/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/pom.xml
index dba89dc2..3db470bd 100644
--- a/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/pom.xml
+++ b/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/pom.xml
@@ -58,16 +58,6 @@
org.wso2.carbon.device.mgt.iot
org.wso2.carbon.device.mgt.iot.common
-
-
- org.igniterealtime.smack.wso2
- smack
-
-
- org.igniterealtime.smack.wso2
- smackx
-
-
org.wso2.carbon.device.mgt.iot.server.sample
@@ -102,77 +92,11 @@
org.wso2.carbon
org.wso2.carbon.utils
-
-
- org.bouncycastle.wso2
- bcprov-jdk15on
-
-
- org.wso2.carbon
- org.wso2.carbon.user.api
-
-
- org.wso2.carbon
- org.wso2.carbon.queuing
-
-
- org.wso2.carbon
- org.wso2.carbon.base
-
-
- org.apache.axis2.wso2
- axis2
-
-
- org.igniterealtime.smack.wso2
- smack
-
-
- org.igniterealtime.smack.wso2
- smackx
-
-
- jaxen
- jaxen
-
-
- commons-fileupload.wso2
- commons-fileupload
-
-
- org.apache.ant.wso2
- ant
-
-
- org.apache.ant.wso2
- ant
-
-
- commons-httpclient.wso2
- commons-httpclient
-
-
- org.eclipse.equinox
- javax.servlet
-
-
- org.wso2.carbon
- org.wso2.carbon.registry.api
-
-
org.wso2.carbon.devicemgt
org.wso2.carbon.device.mgt.analytics
-
- org.igniterealtime.smack.wso2
- smack
-
-
- org.igniterealtime.smack.wso2
- smackx
-
diff --git a/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/sample/virtual/firealarm/service/impl/dto/DeviceRecord.java b/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/sample/virtual/firealarm/service/impl/dto/DeviceRecord.java
deleted file mode 100644
index e69de29b..00000000