diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/pom.xml b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/pom.xml
index 8226ca1fe..18f3cb20a 100644
--- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/pom.xml
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/pom.xml
@@ -33,7 +33,7 @@
${project.artifactId}
${project.artifactId}
${project.version}
- Device Management Core Bundle
+ Device Management Mobile Impl Bundle
org.wso2.carbon.device.mgt.mobile.impl.internal
org.osgi.framework,
@@ -72,6 +72,11 @@
org.wso2.carbon
org.wso2.carbon.logging
+
+ org.eclipse.osgi
+ org.eclipse.osgi.services
+ 3.2.0.v20090520-1800
+
\ No newline at end of file
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagerService.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagerService.java
new file mode 100644
index 000000000..74a046cba
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManagerService.java
@@ -0,0 +1,78 @@
+/*
+ * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.wso2.carbon.device.mgt.mobile.impl.android;
+
+import org.wso2.carbon.device.mgt.common.Device;
+import org.wso2.carbon.device.mgt.common.DeviceManagementException;
+import org.wso2.carbon.device.mgt.common.spi.DeviceManagerService;
+
+import java.util.List;
+
+/**
+ * This represents the Android implementation of DeviceManagerService. *
+ */
+public class AndroidDeviceManagerService implements DeviceManagerService {
+
+ @Override
+ public void enrollDevice(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void modifyEnrollment(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void disEnrollDevice(String type, String deviceId)
+ throws DeviceManagementException {
+
+ }
+
+ @Override
+ public boolean isRegistered(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public boolean isActive(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public void setActive(boolean status) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public List getAllDeviceInfo(String type) throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public Device getDeviceInfo(String type, String deviceId)
+ throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public void setOwnership(String ownershipType) throws DeviceManagementException {
+
+ }
+}
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/internal/MobileDeviceMgtServiceComponent.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/internal/MobileDeviceMgtServiceComponent.java
new file mode 100644
index 000000000..af66453e6
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/internal/MobileDeviceMgtServiceComponent.java
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.wso2.carbon.device.mgt.mobile.impl.internal;
+
+import org.apache.commons.logging.LogFactory;
+import org.apache.commons.logging.Log;
+import org.osgi.framework.ServiceRegistration;
+import org.osgi.service.component.ComponentContext;
+import org.wso2.carbon.device.mgt.common.spi.DeviceManagerService;
+import org.wso2.carbon.device.mgt.mobile.impl.android.AndroidDeviceManagerService;
+import org.wso2.carbon.device.mgt.mobile.impl.ios.IOSDeviceManagerService;
+import org.wso2.carbon.device.mgt.mobile.impl.windows.WindowsDeviceManagerService;
+
+/**
+ * @scr.component name="org.wso2.carbon.device.manager.mobile" immediate="true"
+ */
+public class MobileDeviceMgtServiceComponent {
+
+ private static final Log log = LogFactory.getLog(MobileDeviceMgtServiceComponent.class);
+ ServiceRegistration serviceRegistration;
+
+ protected void activate(ComponentContext ctx) {
+ try {
+ if (log.isDebugEnabled()) {
+ log.debug("Activating Mobile Device Management Service");
+ }
+ AndroidDeviceManagerService androidDeviceMgrService = new AndroidDeviceManagerService();
+ IOSDeviceManagerService iOSDeviceMgrService = new IOSDeviceManagerService();
+ WindowsDeviceManagerService windowsDeviceMgrService = new WindowsDeviceManagerService();
+ serviceRegistration =
+ ctx.getBundleContext().registerService(DeviceManagerService.class.getName(),
+ androidDeviceMgrService, null);
+ serviceRegistration =
+ ctx.getBundleContext().registerService(DeviceManagerService.class.getName(),
+ iOSDeviceMgrService, null);
+ serviceRegistration =
+ ctx.getBundleContext().registerService(DeviceManagerService.class.getName(),
+ windowsDeviceMgrService, null);
+ } catch (Throwable e) {
+ log.error("Unable to activate Mobile Device Management Service Component", e);
+ }
+ }
+
+ protected void deactivate(ComponentContext ctx) {
+ if (log.isDebugEnabled()) {
+ log.debug("Deactivating Mobile Device Management Service");
+ }
+ serviceRegistration.unregister();
+ }
+}
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/ios/IOSDeviceManagerService.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/ios/IOSDeviceManagerService.java
new file mode 100644
index 000000000..1907f2636
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/ios/IOSDeviceManagerService.java
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.wso2.carbon.device.mgt.mobile.impl.ios;
+
+import org.wso2.carbon.device.mgt.common.Device;
+import org.wso2.carbon.device.mgt.common.DeviceManagementException;
+import org.wso2.carbon.device.mgt.common.spi.DeviceManagerService;
+
+import java.util.List;
+
+/**
+ * This represents the iOS implementation of DeviceManagerService. *
+ */
+public class IOSDeviceManagerService implements DeviceManagerService {
+ @Override
+ public void enrollDevice(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void modifyEnrollment(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void disEnrollDevice(String type, String deviceId)
+ throws DeviceManagementException {
+
+ }
+
+ @Override
+ public boolean isRegistered(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public boolean isActive(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public void setActive(boolean status) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public List getAllDeviceInfo(String type) throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public Device getDeviceInfo(String type, String deviceId)
+ throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public void setOwnership(String ownershipType) throws DeviceManagementException {
+
+ }
+}
diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagerService.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagerService.java
new file mode 100644
index 000000000..98a339448
--- /dev/null
+++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManagerService.java
@@ -0,0 +1,77 @@
+/*
+ * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.wso2.carbon.device.mgt.mobile.impl.windows;
+
+import org.wso2.carbon.device.mgt.common.Device;
+import org.wso2.carbon.device.mgt.common.DeviceManagementException;
+import org.wso2.carbon.device.mgt.common.spi.DeviceManagerService;
+
+import java.util.List;
+
+/**
+ * This represents the Windows implementation of DeviceManagerService.
+ */
+public class WindowsDeviceManagerService implements DeviceManagerService{
+ @Override
+ public void enrollDevice(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void modifyEnrollment(Device device) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public void disEnrollDevice(String type, String deviceId)
+ throws DeviceManagementException {
+
+ }
+
+ @Override
+ public boolean isRegistered(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public boolean isActive(String type, String deviceId)
+ throws DeviceManagementException {
+ return false;
+ }
+
+ @Override
+ public void setActive(boolean status) throws DeviceManagementException {
+
+ }
+
+ @Override
+ public List getAllDeviceInfo(String type) throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public Device getDeviceInfo(String type, String deviceId)
+ throws DeviceManagementException {
+ return null;
+ }
+
+ @Override
+ public void setOwnership(String ownershipType) throws DeviceManagementException {
+
+ }
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.evalutor/pom.xml b/components/policy-mgt/org.wso2.carbon.policy.evalutor/pom.xml
new file mode 100644
index 000000000..3d72835c7
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.evalutor/pom.xml
@@ -0,0 +1,89 @@
+
+
+
+
+ org.wso2.carbon
+ policy-mgt
+ 2.0.0-SNAPSHOT
+ ../pom.xml
+
+
+ 4.0.0
+ org.wso2.carbon
+ org.wso2.carbon.policy.evaluator
+ 2.0.0-SNAPSHOT
+ bundle
+ WSO2 Carbon - Policy Decision Point
+ WSO2 Carbon - Policy Decision Point
+ http://wso2.org
+
+
+
+
+ org.apache.felix
+ maven-scr-plugin
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 1.4.0
+ true
+
+
+ ${project.artifactId}
+ ${project.artifactId}
+ ${project.version}
+ Policy Management Common Bundle
+ org.wso2.carbon.policy.evaluator
+
+ org.apache.commons.logging
+
+
+ org.wso2.carbon.policy.evaluator.*
+
+ *
+
+
+
+
+
+
+
+
+ org.eclipse.osgi
+ org.eclipse.osgi
+
+
+ org.eclipse.equinox
+ org.eclipse.equinox.common
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+ ${carbon.kernel.version}
+
+
+
+
+
diff --git a/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/PDPException.java b/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/PDPException.java
new file mode 100644
index 000000000..799efadeb
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/PDPException.java
@@ -0,0 +1,22 @@
+/*
+* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+* WSO2 Inc. licenses this file to you under the Apache License,
+* Version 2.0 (the "License"); you may not use this file except
+* in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+package org.wso2.carbon.policy.evaluator;
+
+public class PDPException {
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/spi/PDPService.java b/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/spi/PDPService.java
new file mode 100644
index 000000000..9c3f33da3
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.evalutor/src/main/java/org/wso2/carbon/policy/evaluator/spi/PDPService.java
@@ -0,0 +1,25 @@
+/*
+* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+* WSO2 Inc. licenses this file to you under the Apache License,
+* Version 2.0 (the "License"); you may not use this file except
+* in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+package org.wso2.carbon.policy.evaluator.spi;
+
+
+public interface PDPService {
+
+
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/pom.xml b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/pom.xml
new file mode 100644
index 000000000..f39fe3df8
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/pom.xml
@@ -0,0 +1,89 @@
+
+
+
+
+ org.wso2.carbon
+ policy-mgt
+ 2.0.0-SNAPSHOT
+ ../pom.xml
+
+
+ 4.0.0
+ org.wso2.carbon
+ org.wso2.carbon.policy.mgt.common
+ 2.0.0-SNAPSHOT
+ bundle
+ WSO2 Carbon - Policy Management Common
+ WSO2 Carbon - Policy Management Common
+ http://wso2.org
+
+
+
+
+ org.apache.felix
+ maven-scr-plugin
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 1.4.0
+ true
+
+
+ ${project.artifactId}
+ ${project.artifactId}
+ ${project.version}
+ Policy Management Common Bundle
+ org.wso2.carbon.policy.mgt.common.internal
+
+ org.apache.commons.logging
+
+
+ org.wso2.carbon.policy.mgt.common.*
+
+ *
+
+
+
+
+
+
+
+
+ org.eclipse.osgi
+ org.eclipse.osgi
+
+
+ org.eclipse.equinox
+ org.eclipse.equinox.common
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+ ${carbon.kernel.version}
+
+
+
+
+
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/Policy.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/Policy.java
new file mode 100644
index 000000000..ddebf9e1e
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/Policy.java
@@ -0,0 +1,32 @@
+/*
+* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+* WSO2 Inc. licenses this file to you under the Apache License,
+* Version 2.0 (the "License"); you may not use this file except
+* in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+package org.wso2.carbon.policy.mgt.common;
+
+public class Policy {
+ private int id;
+ private String policyName;
+
+
+ public static class Features {
+
+ private String code;
+ private String name;
+ private Object attribute;
+ }
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/PolicyManagementException.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/PolicyManagementException.java
new file mode 100644
index 000000000..9e087ff3d
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/PolicyManagementException.java
@@ -0,0 +1,56 @@
+/*
+* Copyright (c) 2005-2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+* WSO2 Inc. licenses this file to you under the Apache License,
+* Version 2.0 (the "License"); you may not use this file except
+* in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+package org.wso2.carbon.policy.mgt.common;
+
+public class PolicyManagementException extends Exception {
+
+ private String policyErrorMessage;
+
+ public String getPolicyErrorMessage() {
+ return policyErrorMessage;
+ }
+
+ public void setPolicyErrorMessage(String policyErrorMessage) {
+ this.policyErrorMessage = policyErrorMessage;
+ }
+
+ public PolicyManagementException(String message) {
+ super(message);
+ setPolicyErrorMessage(message);
+ }
+
+ public PolicyManagementException(String message, Exception ex) {
+ super(message, ex);
+ setPolicyErrorMessage(message);
+ }
+
+ public PolicyManagementException(String message, Throwable cause) {
+ super(message, cause);
+ setPolicyErrorMessage(message);
+ }
+
+
+ public PolicyManagementException() {
+ super();
+ }
+
+ public PolicyManagementException(Throwable cause) {
+ super(cause);
+ }
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/spi/PolicyManagerService.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/spi/PolicyManagerService.java
new file mode 100644
index 000000000..7fd3bf5dc
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.common/src/main/java/org/wso2/carbon/policy/mgt/common/spi/PolicyManagerService.java
@@ -0,0 +1,30 @@
+/*
+* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+*
+* WSO2 Inc. licenses this file to you under the Apache License,
+* Version 2.0 (the "License"); you may not use this file except
+* in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing,
+* software distributed under the License is distributed on an
+* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+* KIND, either express or implied. See the License for the
+* specific language governing permissions and limitations
+* under the License.
+*/
+
+package org.wso2.carbon.policy.mgt.common.spi;
+
+import org.wso2.carbon.policy.mgt.common.Policy;
+
+public interface PolicyManagerService {
+
+ void addPolicy(Policy policy);
+
+ void addPolicy(String deviceId, String deviceType, Policy policy);
+
+ void addPolicy(String deviceType,Policy policy);
+}
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/pom.xml b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/pom.xml
new file mode 100644
index 000000000..d66e9ff99
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/pom.xml
@@ -0,0 +1,94 @@
+
+
+
+
+ org.wso2.carbon
+ policy-mgt
+ 2.0.0-SNAPSHOT
+ ../pom.xml
+
+
+ 4.0.0
+ org.wso2.carbon
+ org.wso2.carbon.policy.mgt.core
+ 2.0.0-SNAPSHOT
+ bundle
+ WSO2 Carbon - Policy Management Core
+ WSO2 Carbon - Policy Management Core
+ http://wso2.org
+
+
+
+
+ org.apache.felix
+ maven-scr-plugin
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 1.4.0
+ true
+
+
+ ${project.artifactId}
+ ${project.artifactId}
+ ${project.version}
+ Policy Management Core Bundle
+ org.wso2.carbon.policy.mgt.core.internal
+
+ org.apache.axis2.*;
+ version="${axis2.osgi.version.range}",
+ org.osgi.framework,
+ org.osgi.service.component,
+ org.apache.commons.logging,
+
+
+ !org.wso2.carbon.policy.mgt.core.internal,
+ org.wso2.carbon.policy.mgt.core.*
+
+ *
+
+
+
+
+
+
+
+
+ org.eclipse.osgi
+ org.eclipse.osgi
+
+
+ org.eclipse.equinox
+ org.eclipse.equinox.common
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+ ${carbon.kernel.version}
+
+
+
+
+
diff --git a/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/internal/PolicyMgtServiceComponent.java b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/internal/PolicyMgtServiceComponent.java
new file mode 100644
index 000000000..b66e04262
--- /dev/null
+++ b/components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/internal/PolicyMgtServiceComponent.java
@@ -0,0 +1,25 @@
+/**
+ * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.wso2.carbon.policy.mgt.core.internal;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+public class PolicyMgtServiceComponent {
+
+ private static Log log = LogFactory.getLog(PolicyMgtServiceComponent.class);
+
+}
diff --git a/components/policy-mgt/pom.xml b/components/policy-mgt/pom.xml
new file mode 100644
index 000000000..1c6633acd
--- /dev/null
+++ b/components/policy-mgt/pom.xml
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+ org.wso2.carbon
+ wso2cdm-parent
+ 2.0.0-SNAPSHOT
+ ../../pom.xml
+
+
+ 4.0.0
+ org.wso2.carbon
+ policy-mgt
+ 2.0.0-SNAPSHOT
+ pom
+ WSO2 Carbon - Policy Management Component
+ http://wso2.org
+
+
+ org.wso2.carbon.policy.mgt.core
+ org.wso2.carbon.policy.mgt.common
+ org.wso2.carbon.policy.evalutor
+
+
+
+
+
+ org.eclipse.osgi
+ org.eclipse.osgi
+ 3.8.1.v20120830-144521
+
+
+ org.eclipse.equinox
+ org.eclipse.equinox.common
+ 3.6.100.v20120522-1841
+
+
+ org.wso2.carbon
+ org.wso2.carbon.logging
+ 4.3.0-SNAPSHOT
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index d0b77c184..07e6b80b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -39,6 +39,7 @@
components/device-mgt
+ components/policy-mgt
product/modules/p2-profile-gen
product/modules/distribution
product/modules/integration
diff --git a/product/modules/integration/tests-common/admin-clients/pom.xml b/product/modules/integration/tests-common/admin-clients/pom.xml
index 43406c5d3..10da72790 100644
--- a/product/modules/integration/tests-common/admin-clients/pom.xml
+++ b/product/modules/integration/tests-common/admin-clients/pom.xml
@@ -32,5 +32,5 @@
org.wso2.cdm
org.wso2.cdm.integration.common.clients
jar
- admin-clents
+ WSO2 CDM - Integration Admin Clients
diff --git a/product/modules/integration/tests-common/integration-test-utils/pom.xml b/product/modules/integration/tests-common/integration-test-utils/pom.xml
index 7154dea02..28aee1ab9 100644
--- a/product/modules/integration/tests-common/integration-test-utils/pom.xml
+++ b/product/modules/integration/tests-common/integration-test-utils/pom.xml
@@ -32,7 +32,7 @@
org.wso2.cdm.integration.common.utils
org.wso2.cdm
jar
- integration-test-utils
+ WSO2 CDM - Integration Test Utils
diff --git a/product/modules/integration/tests-common/ui-pages/pom.xml b/product/modules/integration/tests-common/ui-pages/pom.xml
index 4868a6873..a26af8b05 100644
--- a/product/modules/integration/tests-common/ui-pages/pom.xml
+++ b/product/modules/integration/tests-common/ui-pages/pom.xml
@@ -32,7 +32,7 @@
org.wso2.cdm
org.wso2.cdm.integration.ui.pages
jar
- integration-test-ui-pages
+ WSO2 CDM - Integration Test Ui Pages
diff --git a/product/modules/p2-profile-gen/pom.xml b/product/modules/p2-profile-gen/pom.xml
index 2bf338b4a..9d70de424 100644
--- a/product/modules/p2-profile-gen/pom.xml
+++ b/product/modules/p2-profile-gen/pom.xml
@@ -28,6 +28,7 @@
4.0.0
wso2cdm-profile-gen
+ WSO2 Connected Device Manager (CDM) - P2 Profile Gen
pom