diff --git a/modules/core/p2-profile-gen/pom.xml b/modules/core/p2-profile-gen/pom.xml
index 6c3d0558..0e9eb687 100644
--- a/modules/core/p2-profile-gen/pom.xml
+++ b/modules/core/p2-profile-gen/pom.xml
@@ -660,22 +660,6 @@
file:${basedir}/target/p2-repo
-
- p2-profile-generation-mqtt-gateway-profile
- package
-
- materialize-product
-
-
- ${basedir}/carbon.product
- file:${basedir}/target/p2-repo
- file:${basedir}/target/p2-repo
-
- file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
-
- mqtt-gateway
-
-
p2-profile-generation-http-gateway-profile
package