diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
index bfca19892e..f2b7a661a4 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/pom.xml
@@ -89,6 +89,7 @@
org.scannotation.*
+ !org.wso2.carbon.device.mgt.core.internal,
org.wso2.carbon.device.mgt.core.*