<?xml version="1.0" encoding="UTF-8"?>

<!--
  ~ Copyright (c) 2016, 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.
  -->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <parent>
        <groupId>io.entgra.iot</groupId>
        <artifactId>entgra-iot-p2-profile</artifactId>
        <version>4.1.1-SNAPSHOT</version>
        <relativePath>../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>entgra-iot-core-p2-profile</artifactId>
    <name>Entgra IoT - Core P2 Profile Gen</name>
    <packaging>pom</packaging>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <id>unpack-equinox-executable</id>
                        <phase>test</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.eclipse.equinox</groupId>
                                    <artifactId>org.eclipse.equinox.executable</artifactId>
                                    <version>3.5.0.v20110530-7P7NFUFFLWUl76mart</version>
                                    <type>zip</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>target</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                    <execution>
                        <id>2-unpack-wso2carbon</id>
                        <phase>test</phase>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.wso2.carbon</groupId>
                                    <artifactId>wso2carbon-core</artifactId>
                                    <version>${carbon.kernel.version}</version>
                                    <type>zip</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>target</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.wso2.maven</groupId>
                <artifactId>carbon-p2-plugin</artifactId>
                <version>${carbon.p2.plugin.version}</version>

                <executions>
                    <execution>
                        <id>2-p2-repo-generation</id>
                        <phase>package</phase>

                        <goals>
                            <goal>p2-repo-gen</goal>
                        </goals>

                        <configuration>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <publishArtifacts>true</publishArtifacts>
                            <publishArtifactRepository>true</publishArtifactRepository>

                            <featureArtifacts>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.governance:org.wso2.carbon.identity.captcha.server.feature:${identity.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.governance:org.wso2.carbon.identity.governance.feature:${identity.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.event.handler.accountlock:org.wso2.carbon.identity.handler.event.account.lock.feature:${identity.event.handler.account.lock.version}
                                </featureArtifactDef>
                                <!-- Device Management Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.api.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.cert.admin.api.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.certificate.mgt.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.webapp.authenticator.framework.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.oauth.extensions.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.webapp.publisher.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.analytics.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.identity.jwt.client.extension.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.application.extension.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.integration.client.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.apimgt.handler.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.email.sender.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    io.entgra.devicemgt:io.entgra.ui.request.interceptor.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
								<featureArtifactDef>
									org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature:${carbon.device.mgt.version}
								</featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:io.entgra.server.heart.beat.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <!-- End of Device Management Features -->

                                <!-- SMS Management Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:io.entgra.transport.mgt.sms.handler.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:io.entgra.transport.mgt.sms.handler.api.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <!-- End of SMS Management Features -->

                                <!-- Device Management Plugin Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.mobile.android.feature:${carbon.device.mgt.plugin.version}
                                </featureArtifactDef>
								<featureArtifactDef>
									org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.notification.listener.feature:${carbon.device.mgt.plugin.version}
								</featureArtifactDef>
                                <!-- End of Device Management Plugin Features -->

                                <!-- IoT Device Management Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.adapter.feature:${carbon.device.mgt.plugin.version}
                                </featureArtifactDef>
                                <!-- IoT Device Management Features -->

                                <!-- Carbon Deployment Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.webapp.mgt.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.module.mgt.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.as.runtimes.cxf.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.service.mgt.server.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.application.deployer.webapp.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <!-- End of Carbon Deployment Features -->

                                <!-- Jaggery Features -->
                                <featureArtifactDef>
                                    org.jaggeryjs:org.jaggeryjs.feature:${jaggery.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:carbon.feature:${jaggery.extensions.carbon.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:process.feature:${jaggery.extensions.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:uuid.feature:${jaggery.extensions.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:sso.feature:${jaggery.extensions.sso.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:i18n.feature:${jaggery.extensions.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.jaggeryjs.modules:ws.feature:${jaggery.extensions.version}
                                </featureArtifactDef>
                                <!-- End of Jaggery Features -->

                                <!-- API Management Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.core.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.gateway.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymanager.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.publisher.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <!-- End of API Management Features -->

                                <!-- Carbon Commons Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.logging.mgt.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.ntask.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.tenant.mgt.common.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- End of Carbon Commons Features -->

                                <!-- Carbon Analytics Common Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.datapublisher.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <!-- End of Carbon Analytics Common Features -->

                                <!-- Carbon Multi-tenancy Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.usage.agent.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.throttling.agent.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.deployment.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.common.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.mgt.core.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <!-- End of Carbon Multi-tenancy Features -->

                                <!-- Identity Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.user.ws:org.wso2.carbon.um.ws.service.feature:${identity.user.ws.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth.feature:${identity.inbound.auth.oauth.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.event.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.openid:org.wso2.carbon.identity.provider.server.feature:${identity.inbound.auth.openid.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.core.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.idp.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- SSO -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.application.auth.basic:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.authentication.framework.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version}
                                </featureArtifactDef>
                                <feaureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.saml2:org.wso2.carbon.identity.sso.saml.feature:${identity.inbound.auth.saml.version}
                                </feaureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- SSO Fix-->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.profile.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.claim.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.claim.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth.ui.feature:${identity.inbound.auth.oauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.notification.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.user.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.directory.service.mgr.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.xacml.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Authenticators -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.requestpath.basic:org.wso2.carbon.identity.application.authenticator.requestpath.basicauth.server.feature:${identity.outbound.auth.requestpath.basicauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.requestpath.oauth:org.wso2.carbon.identity.application.authenticator.requestpath.oauth.server.feature:${identity.outbound.auth.requestpath.oauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.application.auth.basic:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:${identity.local.auth.basicauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.outbound.auth.saml2:org.wso2.carbon.identity.application.authenticator.samlsso.server.feature:${identity.outbound.auth.samlsso.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.feature:${identity.carbon.auth.saml2.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.thrift.authentication.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.inbound.metadata.saml2.server.feature:0.1.1
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.sp.metadata.saml2.server.feature:${identity.metadata.saml2.version}
                                </featureArtifactDef>
                                <!-- End of Identity Features -->

                                <!-- Registry Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.core.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.ui.menu.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.resource.properties.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.associations.dependencies.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.community.features.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.ws.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.ui.menu.governance.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.contentsearch.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.task.server.feature:${carbon.registry.version}
                                </featureArtifactDef>

                                <!-- Governance Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.governance.metadata.feature:${carbon.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.governance.lifecycle.management.feature:${carbon.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.registry.extensions.feature:${carbon.governance.version}
                                </featureArtifactDef>
                                <!-- End of Governance Features -->

                                <!-- Notification Support: Mail -->
                                <featureArtifactDef>
                                    org.apache.axis2.transport:org.apache.axis2.transport.mail.feature:${axis2-transports.wso2.version}
                                </featureArtifactDef>

                                <!-- IoT Server Features -->
                                <featureArtifactDef>
                                    io.entgra.iot:org.wso2.iot.core.styles.feature:${project.version}
                                </featureArtifactDef>

                                <!-- App Manager Features-->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.application.mgt.api.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt:org.wso2.carbon.device.application.mgt.server.feature:${carbon.device.mgt.version}
                                </featureArtifactDef>
                                <!-- End of New App Manager Features-->

                                <!-- Dashboards Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.shindig.feature:${carbon.dashboard.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.dashboards:org.wso2.carbon.dashboards.deployment.feature:${carbon.dashboard.version}
                                </featureArtifactDef>
                                <!-- End of Dashboards Features -->

                                <!-- Mediation Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.apache.synapse.wso2.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.apache.synapse.transport.nhttp.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediation.initializer.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediation.ntask.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.inbound.endpoints.server.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediators.server.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediation.admin.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.task.server.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediation.ui.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediator.cache.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <!-- End of Mediation Features -->

                                <!-- App Manager features-->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.event.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- End of app manager feature-->

                                <!-- ************** START - Capp Management ********* -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.application.mgt.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- ************** END - Capp Management ********* -->

                                <!-- Cipher tools feature -->

                                <featureArtifactDef>
                                    org.wso2.ciphertool:org.wso2.ciphertool.feature:${cipher.tool.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    caramel:caramel.feature:1.0.1
                                </featureArtifactDef>

                                <!-- End of cipher tools feature -->

                                <!--********************************************-->
                                <featureArtifactDef>
                                    org.wso2.carbon:org.wso2.carbon.core.feature:${carbon.kernel.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon:org.wso2.carbon.core.runtime.feature:${carbon.kernel.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon:org.wso2.carbon.core.ui.feature:${carbon.kernel.version}
                                </featureArtifactDef>

                                <!-- Carbon Commons Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.ndatasource.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.ntask.core.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.message.flows.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.ndatasource.capp.deployer.server.feature:${carbon.commons.version}
                                </featureArtifactDef>

                                <!-- Identity Features -->
                                <!-- SSO -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${identity.carbon.auth.saml2.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.carbon.auth.saml2:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${identity.carbon.auth.saml2.version}
                                </featureArtifactDef>
                                <!-- SSO Fix-->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.application.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.idp.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Directory server related features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.directory.service.mgr.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- End of SSO Fixes -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.application.authz.xacml:org.wso2.carbon.identity.application.authz.xacml.server.feature:${identity.application.authz.xacml}
                                </featureArtifactDef>

                                <!-- Registry features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.community.features.server.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.community.features.ui.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <!-- End of Registry Features -->

                                <!-- Governance Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.registry.extensions.server.feature:${carbon.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.governance.lifecycle.management.server.feature:${carbon.governance.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.governance:org.wso2.carbon.governance.metadata.server.feature:${carbon.governance.version}
                                </featureArtifactDef>

                                <!-- API Management Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.store.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.publisher.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.authenticator.oidc.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.hostobjects.oidc.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.dcr.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.store.feature:${carbon.api.mgt.version}
                                </featureArtifactDef>
                                <!-- End of API Management Features -->

                                <!-- TCP Transport -->
                                <featureArtifactDef>
                                    org.apache.axis2.transport:org.apache.axis2.transport.tcp.feature:${axis2-transports.wso2.version}
                                </featureArtifactDef>

                                <!-- Registry task feature and dependencies -->
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.task.feature:${carbon.registry.version}
                                </featureArtifactDef>

                                <!-- Carbon Deployment Features -->
                                <!--+++++++++++++++++++++++++++++++++++++++++++++-->
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.module.mgt.server.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <!-- End of Carbon Deployment Features -->

                                <!-- Registry Features -->
                                <!--+++++++++++++++++++++++++++++++++++++++++++++-->

                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.contentsearch.server.feature:${carbon.registry.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.application.mgt.synapse.server.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.application.deployer.synapse.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.mediation.configadmin.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.mediation:org.wso2.carbon.relay.feature:${carbon.mediation.version}
                                </featureArtifactDef>
                                <!--APIM feature-->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.system.statistics.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!--End of APIM Feature-->

                                <!-- ************** START - Capp Management ********* -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.application.mgt.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- ************** END - Capp Management ********* -->

                                <!-- ************** START - Data Bridge ************ -->
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.streamdefn.filesystem.server.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.core.server.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <!-- ************** END - Data Bridge ************ -->

                                <!-- ************** START - EVENT PROCESSING FEATURES *********** -->
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.stream.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.application.deployer.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.input.adapter.server.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.output.adapter.server.feature:${carbon.analytics.common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.deployment.synchronizer.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- *************** END OF EVENT PROCESSING FEATURES ********************** -->

                                <!-- *************** DAS Client *************** -->
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics:org.wso2.carbon.analytics.api.client.feature:${carbon.analytics.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics:org.wso2.carbon.analytics.jsservice.feature:${carbon.analytics.version}
                                </featureArtifactDef>
                                <!-- *************** End of DAS Client *************** -->

                                <featureArtifactDef>
                                    org.wso2.carbon.metrics:org.wso2.carbon.metrics.feature:${carbon.metrics.version}
                                </featureArtifactDef>
                                <!--JWT grant type handler-->
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.oauth2.grantType.jwt:org.wso2.carbon.extension.identity.oauth2.jwt.feature:${identity.jwt.extension.version}
                                </featureArtifactDef>
                                <!--Consent management feature-->

                                <featureArtifactDef>
                                    org.wso2.carbon.consent.mgt:org.wso2.carbon.consent.mgt.server.feature:${carbon.consent.mgt.version}
                                </featureArtifactDef>

                                <!--Database utils feature-->
                                <featureArtifactDef>
                                    org.wso2.carbon.utils:org.wso2.carbon.database.utils.feature:${org.wso2.carbon.database.utils.version}
                                </featureArtifactDef>
                                 <!--Geo Dashboard feature-->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.iot.geo.dashboard.feature:${carbon.device.mgt.plugin.version}
                                </featureArtifactDef>
                                <!-- IoT Analytics feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.device.mgt.iot.analytics.feature:${carbon.device.mgt.plugin.version}
                                </featureArtifactDef>

                                <!--MQTT Dashboard-->
                                <featureArtifactDef>
                                    org.wso2.carbon.devicemgt-plugins:org.wso2.carbon.andes.extensions.device.mgt.api.feature:${carbon.device.mgt.plugin.version}
                                </featureArtifactDef>
                            </featureArtifacts>
                        </configuration>
                    </execution>
                    <execution>
                        <id>publishing product</id>
                        <phase>package</phase>
                        <goals>
                            <goal>publish-product</goal>
                        </goals>
                        <configuration>
                            <productConfigurationFile>${basedir}/carbon.product
                            </productConfigurationFile>
                            <executable>
                                ${basedir}/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart
                            </executable>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                        </configuration>
                    </execution>
                    <execution>
                        <id>p2-profile-generation-default-profile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>materialize-product</goal>
                        </goals>
                        <configuration>
                            <productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <targetPath>
                                file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </targetPath>
                            <profile>default</profile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>p2-profile-generation-key-manager-profile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>materialize-product</goal>
                        </goals>
                        <configuration>
                            <productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <targetPath>
                                file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </targetPath>
                            <profile>device-key-manager</profile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>p2-profile-generation-device-manager-profile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>materialize-product</goal>
                        </goals>
                        <configuration>
                            <productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <targetPath>
                                file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </targetPath>
                            <profile>device-manager</profile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>p2-profile-generation-device-backend-profile</id>
                        <phase>package</phase>
                        <goals>
                            <goal>materialize-product</goal>
                        </goals>
                        <configuration>
                            <productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <targetPath>
                                file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </targetPath>
                            <profile>device-backend</profile>
                        </configuration>
                    </execution>
                    <execution>
                        <id>3-p2-profile-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-profile-gen</goal>
                        </goals>
                        <configuration>
                            <profile>default</profile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <destination>
                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </destination>
                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
                            <features>
                                <feature>
                                    <id>org.wso2.carbon.identity.captcha.server.feature.group</id>
                                    <version>${identity.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.governance.feature.group</id>
                                    <version>${identity.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.handler.event.account.lock.feature.group</id>
                                    <version>${identity.event.handler.account.lock.version}</version>
                                </feature>
                                <!-- IoTServer Features -->

                                <feature>
                                    <id>org.wso2.carbon.identity.inbound.metadata.saml2.server.feature.group</id>
                                    <version>0.1.1</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sp.metadata.saml2.server.feature.group</id>
                                    <version>${identity.metadata.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.iot.core.styles.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>
                                <!-- End of IoTServer Features -->

                                <!-- App Manager Features-->
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of App Manager Features-->

                                <!-- SMS Management Features-->
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of SMS Management Features-->

                                <!-- Device Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.policy.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.application.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.integration.client.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.email.sender.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.ui.request.interceptor.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.authenticator.framework.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.webapp.publisher.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.handler.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
								<feature>
									<id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group</id>
									<version>${carbon.device.mgt.version}</version>
								</feature>
                                <feature>
                                    <id>io.entgra.server.heart.beat.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!-- End of Device Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!-- Carbon Deployment Features -->
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.module.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.deployer.webapp.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <!-- End of Carbon Deployment Features -->

                                <!-- Jaggery Features -->
                                <feature>
                                    <id>org.jaggeryjs.feature.group</id>
                                    <version>${jaggery.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.carbon.feature.group</id>
                                    <version>${jaggery.extensions.carbon.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.process.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.uuid.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.sso.feature.group</id>
                                    <version>${jaggery.extensions.sso.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.i18n.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.ws.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <!-- End of Jaggery Features -->

                                <!-- Dashboard Features -->
                                <feature>
                                    <id>org.wso2.carbon.dashboards.shindig.feature.group</id>
                                    <version>${carbon.dashboard.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.dashboard.deployment.feature.group</id>
                                    <version>${carbon.dashboard.version}</version>
                                </feature>
                                <!-- End of Dashboard Features -->

                                <!-- API Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.apimgt.keymanager.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.core.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.dcr.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <!-- API Manager Publisher and Store Features -->
                                <feature>
                                    <id>org.wso2.carbon.apimgt.gateway.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.forum.server.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <!-- End of API Management Features -->

                                <!-- Carbon Analytics Common Features -->
                                <feature>
                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
								<feature>
									<id>org.wso2.carbon.event.input.adapter.server.feature.group</id>
									<version>${carbon.analytics.common.version}</version>
								</feature>
                                <!-- End of Carbon Analytics Common Features -->

                                <feature>
                                    <id>org.wso2.carbon.application.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>

                                <!-- Carbon Commons Features -->
                                <feature>
                                    <id>org.wso2.carbon.logging.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ntask.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <!-- End of Carbon Commons Features -->

                                <!-- Carbon Multi-tenancy Features -->
                                <feature>
                                    <id>org.wso2.carbon.tenant.usage.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.throttling.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.deployment.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.common.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.core.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <!-- End of Carbon Multi-tenancy Features -->

                                <!-- Identity Features -->
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth.server.feature.group</id>
                                    <version>${identity.inbound.auth.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.provider.server.feature.group</id>
                                    <version>${identity.inbound.auth.openid.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.thrift.authentication.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.core.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.idp.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.directory.service.mgr.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authz.xacml.server.feature.group</id>
                                    <version>${identity.application.authz.xacml}</version>
                                </feature>
                                <!-- SSO Features -->
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group</id>
                                    <version>${identity.local.auth.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authentication.framework.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
                                    <version>${identity.inbound.auth.saml.version}</version>
                                </feature>
                                <!-- SSO Fix-->
                                <feature>
                                    <id>org.wso2.carbon.identity.user.profile.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.claim.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.claim.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth.ui.feature.group</id>
                                    <version>${identity.inbound.auth.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.notification.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.identity.xacml.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.registration.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group</id>
                                    <version>${identity.local.auth.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.requestpath.basicauth.server.feature.group</id>
                                    <version>${identity.outbound.auth.requestpath.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.requestpath.oauth.server.feature.group
                                    </id>
                                    <version>${identity.outbound.auth.requestpath.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.samlsso.server.feature.group</id>
                                    <version>${identity.outbound.auth.samlsso.version}</version>
                                </feature>
                                <!-- End of Identity Features -->

                                <!-- Registry Features -->
                                <feature>
                                    <id>org.wso2.carbon.registry.core.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.associations.dependencies.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ws.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.contentsearch.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.governance.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.task.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <!-- End of Registry Features -->

                                <!-- Governance Features -->
                                <feature>
                                    <id>org.wso2.carbon.governance.metadata.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.lifecycle.management.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <!-- End of Governance Features -->
                                <!-- Notification Support: Mail -->
                                <feature>
                                    <id>org.apache.axis2.transport.mail.feature.group</id>
                                    <version>${axis2-transports.wso2.version}</version>
                                </feature>

                                <!-- Mediation Features -->
                                <feature>
                                    <id>org.apache.synapse.wso2.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.synapse.transport.nhttp.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.initializer.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.ntask.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.inbound.endpoints.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.admin.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.task.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.ui.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediator.cache.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <!-- End of Mediation Features -->

                                <!-- Cipher tool feature -->
                                <feature>
                                    <id>org.wso2.ciphertool.feature.group</id>
                                    <version>${cipher.tool.version}</version>
                                </feature>

                                <feature>
                                    <id>caramel.feature.group</id>
                                    <version>1.0.1</version>
                                </feature>
                                <!--********************************************-->
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.runtime.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.ui.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>

                                <!-- Carbon Deployment Features -->
                                <feature>
                                    <id>org.wso2.carbon.module.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <!-- End of Carbon Deployment Features -->

                                <!-- Carbon Commons Features -->
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.capp.deployer.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>

                                <!-- Identity Features -->
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <!-- SSO Fix-->
                                <feature>
                                    <id>org.wso2.carbon.identity.application.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.directory.service.mgr.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.idp.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.registration.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth.feature.group</id>
                                    <version>${identity.inbound.auth.oauth.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.identity.event.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <!-- End of Identity Features -->

                                <!-- Registry Features -->
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.ui.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <!-- End of Registry Features -->

                                <!-- Governance features -->
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.server.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.lifecycle.management.server.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.metadata.server.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <!-- End of Governance Features -->

                                <!-- API Manager Publisher and Store Features -->
                                <feature>
                                    <id>org.wso2.carbon.apimgt.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.authenticator.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.hostobjects.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.synapse.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.deployer.synapse.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <!-- TCP transport Synapse -->
                                <feature>
                                    <id>org.apache.axis2.transport.tcp.feature.group</id>
                                    <version>${axis2-transports.wso2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.relay.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.configadmin.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <!-- End of API Management Features -->

                                <!-- Carbon Deployment Features -->
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <!-- End of Carbon Deployment Features -->

                                <!--APIM feature-->
                                <feature>
                                    <id>org.wso2.carbon.system.statistics.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>

                                <!-- ************** START - Data Bridge ************ -->

                                <feature>
                                    <id>org.wso2.carbon.databridge.streamdefn.filesystem.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <!-- ************** END - Data Bridge ************ -->


                                <!-- *************** START - DAS Client *************** -->
                                <feature>
                                    <id>org.wso2.carbon.analytics.api.client.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.analytics.jsservice.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <!-- *************** END - DAS Client *************** -->

                                <!-- ************** START - EVENT PROCESSING FEATURES ************ -->
                                <feature>
                                    <id>org.wso2.carbon.event.stream.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.application.deployer.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>

                                <!-- ************** END - EVENT PROCESSING FEATURES ************ -->

                                <feature>
                                    <id>org.wso2.carbon.metrics.feature.group</id>
                                    <version>${carbon.metrics.version}</version>
                                </feature>
                                <!--jwt grant type handler-->
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.oauth2.jwt.feature.group</id>
                                    <version>${identity.jwt.extension.version}</version>
                                </feature>
                                <!--Consent Management Feature-->
                                <feature>
                                    <id>org.wso2.carbon.consent.mgt.server.feature.group</id>
                                    <version>${carbon.consent.mgt.version}</version>
                                </feature>

                                <!--Database utils feature-->
                                <feature>
                                    <id>org.wso2.carbon.database.utils.feature.group</id>
                                    <version>${org.wso2.carbon.database.utils.version}</version>
                                </feature>

                                <!-- Geo Dashboard Feature -->
                                <feature>
                                    <id>org.wso2.carbon.iot.geo.dashboard.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!-- IoT Analytics Feature -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.iot.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!--MQTT Dashboard Feature-->
                                <feature>
                                    <id>org.wso2.carbon.andes.extensions.device.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                            </features>
                        </configuration>
                    </execution>

                    <!--Key Manager Profile-->
                    <execution>
                        <id>6-p2-profile-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-profile-gen</goal>
                        </goals>
                        <configuration>
                            <profile>device-key-manager</profile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <destination>
                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </destination>
                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
                            <features>
                                <!-- IoTServer Features -->
                                <feature>
                                    <id>org.wso2.iot.core.styles.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>
                                <!-- End of IoTServer Features -->
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.xacml.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authz.xacml.server.feature.group</id>
                                    <version>${identity.application.authz.xacml}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.thrift.authentication.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.oauth2.jwt.feature.group</id>
                                    <version>${identity.jwt.extension.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.consent.mgt.server.feature.group</id>
                                    <version>${carbon.consent.mgt.version}</version>
                                </feature>
                                <!--Database utils feature-->
                                <feature>
                                    <id>org.wso2.carbon.database.utils.feature.group</id>
                                    <version>${org.wso2.carbon.database.utils.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.common.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.deployment.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authentication.framework.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group</id>
                                    <version>${identity.local.auth.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.samlsso.server.feature.group
                                    </id>
                                    <version>${identity.outbound.auth.samlsso.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.common.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.server.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.server.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.runtime.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.task.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.message.flows.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.core.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.provider.server.feature.group</id>
                                    <version>${identity.inbound.auth.openid.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth.feature.group</id>
                                    <version>${identity.inbound.auth.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.event.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.registration.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.deployment.synchronizer.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.core.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.server.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.client.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.directory.service.mgr.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.keymanager.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.idp.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.authenticator.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.metrics.feature.group</id>
                                    <version>${carbon.metrics.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.profile.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>


                                <!--required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!--end required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.consent.mgt.server.feature.group</id>
                                    <version>${carbon.consent.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
                                    <version>${identity.inbound.auth.saml.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.relay.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.output.adapter.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                            </features>
                        </configuration>
                    </execution>
                    <!--Device Type Publisher Profile-->
                    <execution>
                        <id>7-p2-profile-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-profile-gen</goal>
                        </goals>
                        <configuration>
                            <profile>device-manager</profile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <destination>
                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </destination>
                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
                            <features>
                                <!-- IoTServer Features -->
                                <feature>
                                    <id>org.wso2.iot.core.styles.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>
                                <!-- End of IoTServer Features -->

                                <!-- App Manager Features-->
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of App Manager Features-->

                                <!-- SMS Management Features-->
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of SMS Management Features-->

                                <!-- Dashboard Features -->
                                <feature>
                                    <id>org.wso2.carbon.dashboards.shindig.feature.group</id>
                                    <version>${carbon.dashboard.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.dashboard.deployment.feature.group</id>
                                    <version>${carbon.dashboard.version}</version>
                                </feature>
                                <!-- End of Dashboard Features -->

                                <!-- Device Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.policy.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.application.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.integration.client.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.email.sender.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.ui.request.interceptor.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.authenticator.framework.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.webapp.publisher.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.consent.mgt.server.feature.group</id>
                                    <version>${carbon.consent.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.server.heart.beat.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
								<feature>
									<id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>
									<version>${carbon.device.mgt.plugin.version}</version>
								</feature>
                                <!-- End of Device Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.oauth2.jwt.feature.group</id>
                                    <version>${identity.jwt.extension.version}</version>
                                </feature>
                                <!--Database utils feature-->
                                <feature>
                                    <id>org.wso2.carbon.database.utils.feature.group</id>
                                    <version>${org.wso2.carbon.database.utils.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.axis2.transport.mail.feature.group</id>
                                    <version>${axis2-transports.wso2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.notification.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.xacml.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.thrift.authentication.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.common.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.profile.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authz.xacml.server.feature.group</id>
                                    <version>${identity.application.authz.xacml}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.server.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.runtime.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.ui.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.module.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.task.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.system.statistics.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.core.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.core.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.governance.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.relay.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.associations.dependencies.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth.feature.group</id>
                                    <version>${identity.inbound.auth.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.event.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
                                    </id>
                                    <version>${identity.local.auth.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.samlsso.server.feature.group
                                    </id>
                                    <version>${identity.outbound.auth.samlsso.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authentication.framework.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.registration.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.deployment.synchronizer.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ws.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.feature.group</id>
                                    <version>${jaggery.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.carbon.feature.group</id>
                                    <version>${jaggery.extensions.carbon.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.process.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.uuid.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.sso.feature.group</id>
                                    <version>${jaggery.extensions.sso.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.i18n.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.ws.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.dcr.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.core.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.server.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.metadata.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.lifecycle.management.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.core.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.server.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.client.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.directory.service.mgr.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.claim.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.contentsearch.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.forum.server.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.common.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.usage.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.throttling.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.capp.deployer.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.authenticator.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.hostobjects.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.metrics.feature.group</id>
                                    <version>${carbon.metrics.version}</version>
                                </feature>
                                <!--required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.deployer.webapp.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.webapp.publisher.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!--end required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.server.heart.beat.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.application.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.integration.client.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.stream.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.input.adapter.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.output.adapter.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.application.deployer.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.analytics.api.client.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.analytics.jsservice.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <!-- SSO Features -->

                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
                                    <version>${identity.inbound.auth.saml.version}</version>
                                </feature>
                                <!-- SSO Fix-->

                                <!-- Geo Dashboard Feature -->
                                <feature>
                                    <id>org.wso2.carbon.iot.geo.dashboard.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!-- IoT Analytics Feature -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.iot.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>

                                <!--MQTT Dashboard Feature-->
                                <feature>
                                    <id>org.wso2.carbon.andes.extensions.device.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                            </features>
                        </configuration>
                    </execution>
                    <!--Device Type Worker Profile-->
                    <execution>
                        <id>8-p2-profile-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-profile-gen</goal>
                        </goals>
                        <configuration>
                            <profile>device-backend</profile>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <destination>
                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/wso2/components
                            </destination>
                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
                            <features>
                                <!-- IoTServer Features -->
                                <feature>
                                    <id>org.wso2.iot.core.styles.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>

                                <!-- App Manager Features-->
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.application.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of App Manager Features-->

                                <!-- SMS Management Features-->
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.transport.mgt.sms.handler.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- End of SMS Management Features-->

                                <!-- End of IoTServer Features -->

                                <feature>
                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>

                                <!-- Device Management Features -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.policy.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.application.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.integration.client.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.email.sender.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.ui.request.interceptor.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.cert.admin.api.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.authenticator.framework.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.webapp.publisher.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.jwt.client.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.device.type.deployer.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.mqtt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.fcm.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.xmpp.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.push.notification.provider.http.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>io.entgra.server.heart.beat.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
								<feature>
									<id>org.wso2.carbon.device.mgt.notification.listener.feature.group</id>
									<version>${carbon.device.mgt.plugin.version}</version>
								</feature>
                                <!-- End of Device Management Features -->

                                <feature>
                                    <id>org.wso2.carbon.device.mgt.adapter.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.oauth2.jwt.feature.group</id>
                                    <version>${identity.jwt.extension.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.axis2.transport.mail.feature.group</id>
                                    <version>${axis2-transports.wso2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.common.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.profile.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.server.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.runtime.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.core.ui.feature.group</id>
                                    <version>${carbon.kernel.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.ntask.core.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.module.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.synapse.wso2.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.synapse.transport.nhttp.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.task.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.initializer.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.admin.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.inbound.endpoints.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediation.configadmin.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.synapse.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.deployer.synapse.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.system.statistics.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.security.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.service.mgt.server.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.message.flows.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.core.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.core.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ui.menu.governance.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.resource.properties.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediators.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.relay.server.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.associations.dependencies.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
                                    </id>
                                    <version>${identity.local.auth.basicauth.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.application.authenticator.samlsso.server.feature.group
                                    </id>
                                    <version>${identity.outbound.auth.samlsso.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.deployment.synchronizer.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.community.features.server.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.ws.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.feature.group</id>
                                    <version>${jaggery.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.carbon.feature.group</id>
                                    <version>${jaggery.extensions.carbon.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.process.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.uuid.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.sso.feature.group</id>
                                    <version>${jaggery.extensions.sso.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.i18n.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.jaggeryjs.modules.ws.feature.group</id>
                                    <version>${jaggery.extensions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.gateway.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.core.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.dcr.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.rest.api.store.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.extensions.server.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.metadata.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.governance.lifecycle.management.feature.group</id>
                                    <version>${carbon.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.core.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.server.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.um.ws.service.client.feature.group</id>
                                    <version>${identity.user.ws.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.claim.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.contentsearch.feature.group</id>
                                    <version>${carbon.registry.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.forum.server.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.publisher.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.common.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.usage.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.throttling.agent.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.ndatasource.capp.deployer.server.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.authenticator.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.hostobjects.oidc.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.metrics.feature.group</id>
                                    <version>${carbon.metrics.version}</version>
                                </feature>
                                <!--required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.webapp.mgt.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.application.deployer.webapp.feature.group</id>
                                    <version>${carbon.deployment.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.webapp.publisher.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.oauth.extensions.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!--end required for context.xml-->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.mobile.android.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.gateway.feature.group</id>
                                    <version>${carbon.api.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.policy.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.application.extension.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.integration.client.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.certificate.mgt.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.stream.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.input.adapter.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.output.adapter.server.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.application.deployer.feature.group</id>
                                    <version>${carbon.analytics.common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.analytics.api.client.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.analytics.jsservice.feature.group</id>
                                    <version>${carbon.analytics.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authz.xacml.server.feature.group</id>
                                    <version>${identity.application.authz.xacml}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mediator.cache.feature.group</id>
                                    <version>${carbon.mediation.version}</version>
                                </feature>
                                <!-- SSO Features -->

                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.saml2.sso.feature.group</id>
                                    <version>${identity.carbon.auth.saml2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sso.saml.feature.group</id>
                                    <version>${identity.inbound.auth.saml.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.apimgt.handler.server.feature.group</id>
                                    <version>${carbon.device.mgt.version}</version>
                                </feature>
                                <!-- SSO Fix-->

                                <!-- Geo Dashboard Feature -->
                                <feature>
                                    <id>org.wso2.carbon.iot.geo.dashboard.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!-- IoT Analytics Feature -->
                                <feature>
                                    <id>org.wso2.carbon.device.mgt.iot.analytics.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                                <!--MQTT Dashboard Feature-->
                                <feature>
                                    <id>org.wso2.carbon.andes.extensions.device.mgt.api.feature.group</id>
                                    <version>${carbon.device.mgt.plugin.version}</version>
                                </feature>
                            </features>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <id>copying-conf-dir</id>
                        <phase>test</phase>
                        <goals>
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <tasks>
                                <mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/wso2/conf" />
                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/wso2/conf">
                                    <fileset dir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf" />
                                </copy>
                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf" includeemptydirs="true" />
                            </tasks>
                        </configuration>
                    </execution>
                    <execution>
                        <id>creating-required-resources</id>
                        <phase>generate-resources</phase>
                        <configuration>
                            <tasks>
                                <mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/wso2/deployment/server" />
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <tasks>
                                <replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.version}/wso2/components">
                                    <include name="**/bundles.info" />
                                </replace>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-deploy-plugin</artifactId>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
