diff --git a/distribution/pom.xml b/distribution/pom.xml
index 8bf9ae1..5a019be 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -23,7 +23,7 @@
io.entgra.community
community-parent
5.0.1-SNAPSHOT
- ../pom.xml
+ ${basedir}/pom.xml
4.0.0
diff --git a/iot-core/pom.xml b/iot-core/pom.xml
index 732cbc9..e26724c 100644
--- a/iot-core/pom.xml
+++ b/iot-core/pom.xml
@@ -23,7 +23,7 @@
io.entgra.community
community-parent
5.0.1-SNAPSHOT
- ../pom.xml
+ ${basedir}/pom.xml
4.0.0
@@ -40,6 +40,12 @@
org.wso2.carbon.devicemgt
org.wso2.carbon.device.mgt.oauth.extensions
+
+ org.wso2.am
+ am-parent
+ ${wso2am-nexus-artifact-version}
+ zip
+
@@ -56,19 +62,7 @@
-
-
-
-
-
- download-pack
- process-resources
-
- run
-
-
-
-
+
@@ -80,7 +74,7 @@
-
+
diff --git a/p2-profile/pom.xml b/p2-profile/pom.xml
index 68a69e1..4a9bb21 100644
--- a/p2-profile/pom.xml
+++ b/p2-profile/pom.xml
@@ -23,7 +23,7 @@
io.entgra.community
community-parent
5.0.1-SNAPSHOT
- ../pom.xml
+ ${basedir}/pom.xml
4.0.0
diff --git a/pom.xml b/pom.xml
index b68fd71..01d63de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,8 +106,8 @@
+ 4.0.0
wso2am-4.0.0
- https://github.com/wso2/product-apim/releases/download/v4.0.0/${wso2am}.zip
entgra-iot-core-${project.version}
entgra-iot-community-${project.version}