diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.api/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.api/pom.xml
index 97fab23803..2ccbcb4cbc 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.api/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.api/pom.xml
@@ -29,7 +29,7 @@
4.0.0
org.wso2.carbon.device.mgt.mobile.api
1.9.2-SNAPSHOT
- bundle
+ war
WSO2 Carbon - Mobile Device Management API
WSO2 Carbon - Mobile Device Management API
http://wso2.org
@@ -190,7 +190,7 @@
gson
- commons-codec.wso2
+ commons-codec
commons-codec
diff --git a/components/device-mgt/pom.xml b/components/device-mgt/pom.xml
index b52729ea56..c72eaf9329 100644
--- a/components/device-mgt/pom.xml
+++ b/components/device-mgt/pom.xml
@@ -34,7 +34,7 @@
http://wso2.org
-
+ org.wso2.carbon.device.mgt.mobile.api
org.wso2.carbon.device.mgt.mobile.impl
org.wso2.carbon.device.mgt.mobile.url.printer
diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/pom.xml b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/pom.xml
index 6be1ceae20..3182ef8544 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/pom.xml
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/pom.xml
@@ -91,6 +91,31 @@
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ copy
+ package
+
+ copy
+
+
+
+
+ org.wso2.carbon.devicemgt-plugins
+ org.wso2.carbon.device.mgt.mobile.api
+ war
+ true
+ ${basedir}/src/main/resources/webapps/
+ mdm_admin.war
+
+
+
+
+
+
org.wso2.maven
carbon-p2-plugin
diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/p2.inf b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/p2.inf
index 0dab9e7d29..64431f0314 100644
--- a/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/p2.inf
+++ b/features/device-mgt/org.wso2.carbon.device.mgt.mobile.feature/src/main/resources/p2.inf
@@ -1,3 +1,5 @@
instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/webapps/);\
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile_${feature.version}/webapps/,target:${installFolder}/../../deployment/server/webapps/,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile_${feature.version}/conf/mobile-config.xml,target:${installFolder}/../../conf/mobile-config.xml,overwrite:true);\
org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.mobile_${feature.version}/dbscripts/plugins/,target:${installFolder}/../../../dbscripts/cdm/plugins,overwrite:true);\
diff --git a/pom.xml b/pom.xml
index ee1ae356d2..222a47e7a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -247,6 +247,11 @@
+
+ org.wso2.carbon.devicemgt-plugins
+ org.wso2.carbon.device.mgt.mobile.api
+ ${carbon.mobile.device.mgt.version}
+
org.wso2.carbon.devicemgt-plugins
org.wso2.carbon.device.mgt.mobile.impl
@@ -272,6 +277,63 @@
${carbon.mobile.device.mgt.version}
+
+
+ org.apache.cxf
+ cxf-rt-frontend-jaxws
+ ${cxf.version}
+
+
+ org.apache.cxf
+ cxf-rt-frontend-jaxrs
+ ${cxf.version}
+
+
+ org.apache.cxf
+ cxf-rt-transports-http
+ ${cxf.version}
+
+
+ javax.ws.rs
+ jsr311-api
+ ${javax.ws.rs.version}
+
+
+
+ junit
+ junit
+ test
+ ${junit.version}
+
+
+ commons-httpclient.wso2
+ commons-httpclient
+ ${orbit.version.commons-httpclient}
+
+
+ commons-codec
+ commons-codec
+ ${commons-codec.version}
+
+
+
+ org.wso2.carbon.commons
+ org.wso2.carbon.user.mgt
+ ${carbon.commons.version}
+
+
+
+ org.wso2.carbon.identity
+ org.wso2.carbon.identity.oauth.stub
+ ${carbon.identity.version}
+
+
+ org.apache.axis2.wso2
+ axis2-client
+
+
+
+
org.eclipse.osgi
@@ -348,6 +410,10 @@
org.wso2.carbon.apimgt.impl
${carbon.api.mgt.version}
+
+ org.apache.axis2.wso2
+ axis2-client
+
org.wso2.carbon.mediation
org.wso2.carbon.mediation.initializer
@@ -549,10 +615,14 @@
[1.6.1.wso2v11, 1.7.0)
1.6.1.wso2v11
+ 3.1.0.wso2v2
+ 1.7
+
1.3
+ 4.8.2
4.3.1
6.8
@@ -573,6 +643,9 @@
4.4.8
+
+ 4.3.0-SNAPSHOT
+
4.4.0