<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<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/maven-v4_0_0.xsd">

    <parent>
        <groupId>org.wso2.is</groupId>
        <artifactId>identity-server-parent</artifactId>
        <version>7.2.0-beta</version>
        <relativePath>../../pom.xml</relativePath>
    </parent>

    <modelVersion>4.0.0</modelVersion>
    <artifactId>identity-profile-gen</artifactId>
    <packaging>pom</packaging>
    <name>WSO2 IS - IS Profile Generation</name>
    <url>http://wso2.org</url>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <inherited>false</inherited>
                <executions>
                    <execution>
                        <id>1-unpack-p2-agent-distribution</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>
                    <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>
                </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>
                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <publishArtifacts>true</publishArtifacts>
                            <publishArtifactRepository>true</publishArtifactRepository>
                            <featureArtifacts>
                                <!--Carbon features-->
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.as.runtimes.cxf3.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.deployment:org.wso2.carbon.webapp.mgt.server.feature:${carbon.deployment.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.logging.updater.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.logging.viewer.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.system.statistics.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.databridge.datapublisher.feature:${carbon.analytics-common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.publisher.aggregate.feature:${carbon.analytics-common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.security.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.sts:org.wso2.carbon.mex.server.feature:${identity.inbound.auth.sts.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.governance:org.wso2.carbon.identity.tenant.resource.manager.feature:${identity.governance.version}
                                </featureArtifactDef>

                                <!-- User Offline Onboard Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.governance:org.wso2.carbon.identity.user.onboard.core.service.feature:${identity.governance.version}
                                </featureArtifactDef>

                                <!-- registry related 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.resource.properties.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.registry:org.wso2.carbon.registry.profiles.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.ui.menu.feature:${carbon.registry.version}
                                </featureArtifactDef>
                                <!-- Directory server related features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.directory.service.mgr.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- identity related features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.core.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.idp.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.event.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.template.mgt.feature:${carbon.identity.framework.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>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.event.handler.notification:org.wso2.carbon.email.mgt.feature:${identity.event.handler.notification.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.event.handler.notification:org.wso2.carbon.event.handler.notification.server.feature:${identity.event.handler.notification.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.action.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.user.profile.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.framework:org.wso2.carbon.identity.user.store.configuration.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.auth.saml2:org.wso2.carbon.identity.sso.saml.feature:${identity.inbound.auth.saml.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.idp.metadata.saml2.server.feature:${identity.metadata.saml.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.sp.metadata.saml2.server.feature:${identity.metadata.saml.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.saml.common:org.wso2.carbon.identity.saml.common.util.feature:${saml.common.util.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.identity.functions.library.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.functionality.mgt.feature:${carbon.identity.framework.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.datapublisher.authentication:org.wso2.carbon.identity.data.publisher.application.authentication.server.feature:${identity.data.publisher.authentication.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.data.publisher.oauth:org.wso2.carbon.identity.data.publisher.oauth.server.feature:${identity.data.publisher.oauth.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.data.publisher.audit:org.wso2.carbon.identity.data.publisher.audit.user.operation.server.feature:${identity.data.publisher.audit.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.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.framework:org.wso2.carbon.identity.extension.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.carbon.auth.mutualssl:org.wso2.carbon.identity.authenticator.mutualssl.feature:${identity.carbon.auth.mutual.ssl.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.authenticator.utils:org.wso2.carbon.extension.identity.utils.helper.feature:${identity.extension.utils}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.authenticator.outbound.totp:org.wso2.carbon.extension.identity.authenticator.totp.feature:${authenticator.totp.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.authenticator.outbound.backupcode:org.wso2.carbon.extension.identity.authenticator.backupcode.feature:${authenticator.backupcode.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.authenticator.outbound.emailotp:org.wso2.carbon.identity.authenticator.emailotp.feature:${authenticator.emailotp.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.oauth.addons:org.wso2.carbon.identity.oauth2.token.handler.clientauth.jwt.feature:${identity.oauth.addons.token.handler.clientauth.jwt.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.identity.user.ws:org.wso2.carbon.um.ws.service.feature:${identity.user.ws.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.is:org.wso2.identity.styles.feature:${project.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.is:org.wso2.identity.utils.feature:${project.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.inbound.auth.sts:org.wso2.carbon.identity.sts.passive.feature:${identity.inbound.auth.sts.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.oauth.dpop:org.wso2.carbon.extension.identity.oauth.dpop.server.feature:${identity.oauth.dpop.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.userstore.remote:org.wso2.carbon.identity.user.store.remote.feature:${identity.userstore.remote.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.provisioning.scim:org.wso2.carbon.identity.scim.feature:${identity.inbound.provisioning.scim.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.inbound.provisioning.scim2:org.wso2.carbon.identity.scim2.server.feature:${identity.inbound.provisioning.scim2.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.outbound.provisioning.scim2:org.wso2.carbon.identity.provisioning.connector.scim2.server.feature:${provisioning.connector.scim2.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.role.mgt.core.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.role.v2.mgt.core.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.secret.mgt.core.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Features related to Cloud Identity -->
                                <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.role.mgt.ui.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.tenant.mgt.common.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.logging.remote.config.mgt.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.logging.appender.http.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.multitenancy:org.wso2.carbon.tenant.common.feature:${carbon.multitenancy.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.is:org.wso2.identity.ui.feature:${project.version}
                                </featureArtifactDef>
                                <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.hazelcast.feature:${carbon.kernel.version}
                                </featureArtifactDef>

                                <!-- DepSync feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.event.server.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.deployment.synchronizer.feature:${carbon.commons.version}
                                </featureArtifactDef>

                                <!-- Identity Provisioning Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.provisioning.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- API Resource Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.api.resource.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Orchestration Framework Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.flow.orchestration.framework.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Action Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.action.management.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Webhook Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.webhook.management.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Event Handler Feature -->
                                <featureArtifactDef>
                                    org.wso2.identity.webhook.event.handlers:org.wso2.identity.webhook.event.handlers.server.feature:${org.wso2.identity.webhook.event.handlers.version}
                                </featureArtifactDef>

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

                                <!-- Certificate Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.certificate.management.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Rule Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.rule.management.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- AI Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.ai.service.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- Custom Servlet Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.servlet.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- SAML Request/Response Validator Toolkit Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.tool.validator.sso.saml2:org.wso2.carbon.identity.tools.saml.validator.feature:${identity.tool.samlsso.validator.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.idp.metadata.saml2.server.feature:${identity.metadata.saml.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.metadata.saml2:org.wso2.carbon.identity.sp.metadata.saml2.server.feature:${identity.metadata.saml.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.notification.mgt.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.apache.axis2.transport:org.apache.axis2.transport.mail.feature:${axis2-transports.version}
                                </featureArtifactDef>
                                <!-- User Account Association Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.association.account:org.wso2.carbon.identity.user.account.association.feature:${identity.user.account.association.version}
                                </featureArtifactDef>
                                <!-- Cipher tool feature -->
                                <featureArtifactDef>
                                    org.wso2.ciphertool:org.wso2.ciphertool.feature:${cipher-tool.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.analytics-common:org.wso2.carbon.databridge.commons.server.feature:${carbon.analytics-common.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.analytics-common:org.wso2.carbon.event.stream.server.feature:${carbon.analytics-common.version}
                                </featureArtifactDef>

                                <!--Auth/Authz for Rest API-->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.rest:org.wso2.carbon.identity.auth.server.feature:${identity.carbon.auth.rest.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.rest:org.wso2.carbon.identity.authz.server.feature:${identity.carbon.auth.rest.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.rest:org.wso2.carbon.identity.context.rewrite.server.feature:${identity.carbon.auth.rest.version}
                                </featureArtifactDef>

                                <!--CORS-->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.rest:org.wso2.carbon.identity.cors.server.feature:${identity.carbon.auth.rest.version}
                                </featureArtifactDef>

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

                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.x509certificate:org.wso2.carbon.extension.identity.x509Certificate.validation.server.feature:${org.wso2.carbon.extension.identity.x509certificate.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.conditional.auth.functions:org.wso2.carbon.identity.conditional.auth.functions.server.feature:${conditional.authentication.functions.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.healthcheck:org.wso2.carbon.healthcheck.server.feature:${carbon.healthcheck.version}
                                </featureArtifactDef>

                                <!-- Configuration Management feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.configuration.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <!-- CORS feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.cors.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.common.server.feature:${identity.apps.core.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.console.server.feature:${identity.apps.console.version}
                                </featureArtifactDef>

                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.myaccount.server.feature:${identity.apps.myaccount.version}
                                </featureArtifactDef>

                                <!-- Authentication portal feature -->
                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.authentication.portal.server.feature:${identity.apps.core.version}
                                </featureArtifactDef>

                                <!-- Accounts portal feature -->
                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.accounts.portal.server.feature:${identity.apps.core.version}
                                </featureArtifactDef>

                                <!-- Recovery portal feature -->
                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.recovery.portal.server.feature:${identity.apps.core.version}
                                </featureArtifactDef>

                                <!-- X509 certificate authentication portal feature -->
                                <featureArtifactDef>
                                    org.wso2.identity.apps:org.wso2.identity.apps.x509certificate.portal.server.feature:${identity.apps.core.version}
                                </featureArtifactDef>

                                <!-- FIDO2/WebAuthn feature -->
                                <featureArtifactDef>
                                   org.wso2.carbon.identity.local.auth.fido:org.wso2.carbon.identity.application.authenticator.fido2.server.feature:${identity.local.auth.fido.version}
                                </featureArtifactDef>

                                 <!-- UUID Generator feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.commons:org.wso2.carbon.uuid.generator.feature:${carbon.commons.version}
                                </featureArtifactDef>
                                <!-- Unique Claim Management feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.unique.claim.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Multi Attribute Login feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Multi Attribute Login (osgi service impl)feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.governance:org.wso2.carbon.identity.multi.attribute.login.service.server.feature:${identity.governance.version}
                                </featureArtifactDef>
                                <!-- PBKDF2 feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.hash.provider.pbkdf2:org.wso2.carbon.identity.hash.provider.pbkdf2.server.feature:${hashprovider.pbkdf2.version}
                                </featureArtifactDef>
                                <!-- Central Logger (osgi service impl)feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.central.log.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <!-- Identity Branding Preference Management feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.branding.preference.management:org.wso2.carbon.identity.branding.preference.management.core.server.feature:${identity.branding.preference.management.version}
                                </featureArtifactDef>
                                <!-- Identity Verification Features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.verification:org.wso2.carbon.extension.identity.verification.mgt.feature:${identity.verification.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.verification:org.wso2.carbon.extension.identity.verification.provider.feature:${identity.verification.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.verification:org.wso2.carbon.extension.identity.verification.ui.feature:${identity.verification.version}
                                </featureArtifactDef>
                                <!-- input validation related features -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.input.validation.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.framework.async.operation.status.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.client.attestation.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.notification.push:org.wso2.carbon.identity.notification.push.feature:${identity.notification.push.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.push:org.wso2.carbon.identity.local.auth.push.feature:${identity.local.auth.push.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.trusted.app.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.consent.server.configs.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.outbound.auth.oidc:org.wso2.carbon.identity.application.authenticator.oidc.server.feature:${identity.outbound.auth.oidc.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.outbound.auth.oauth2:org.wso2.carbon.identity.outbound.auth.oauth2.server.feature:${identity.outbound.auth.oauth2.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.organization.management:org.wso2.carbon.identity.organization.management.server.feature:${identity.org.mgt.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.organization.management.core:org.wso2.carbon.identity.organization.management.core.server.feature:${identity.org.mgt.core.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.organization.login:org.wso2.carbon.identity.auth.organization.login.server.feature:${identity.organization.login.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.oauth2.grantType.organizationswitch:org.wso2.carbon.identity.oauth2.grant.organizationswitch.server.feature:${identity.oauth2.grant.organizationswitch.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.magiclink:org.wso2.carbon.identity.local.auth.magiclink.server.feature:${authenticator.magiclink.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.emailotp:org.wso2.carbon.identity.local.auth.emailotp.server.feature:${authenticator.local.auth.emailotp.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.local.auth.smsotp:org.wso2.carbon.identity.local.auth.smsotp.feature:${authenticator.local.auth.smsotp.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.auth.otp.commons:org.wso2.carbon.identity.auth.otp.core.server.feature:${authenticator.auth.otp.commons.version}
                                </featureArtifactDef>
                                <!-- Token exchange grant feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.extension.identity.oauth2.grantType.token.exchange:org.wso2.carbon.extension.identity.oauth2.token.exchange.feature:${identity.oauth2.token.exchange.grant.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.outbound.auth.adapter:org.wso2.carbon.identity.application.authenticator.adapter.feature:${identity.outbound.auth.adapter.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.authorization.framework.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.authorization.common.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.framework:org.wso2.carbon.identity.workflow.mgt.server.feature:${carbon.identity.framework.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.workflow:org.wso2.carbon.identity.workflow.engine.server.feature:${identity.workflow.version}
                                </featureArtifactDef>
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.workflow.user:org.wso2.carbon.user.mgt.workflow.server.feature:${identity.user.workflow.version}
                                </featureArtifactDef>
                                <!-- AI Agent Identity Management Feature -->
                                <featureArtifactDef>
                                    org.wso2.carbon.identity.agent:org.wso2.carbon.identity.agent.manager.server.feature:${carbon.identity.agent.version}
                                </featureArtifactDef>
                            </featureArtifacts>
                        </configuration>
                    </execution>

                    <!-- Default Profile (IS Front-End + IS Back-End) -->
                    <execution>
                        <id>3-p2-profile-generation</id>
                        <phase>package</phase>
                        <goals>
                            <goal>p2-profile-gen</goal>
                        </goals>
                        <configuration>
                            <profile>default</profile>
                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
                            <destination>
                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
                            </destination>
                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
                            <features>
                                <feature>
                                    <id>org.wso2.carbon.as.runtimes.cxf3.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.logging.remote.config.mgt.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.appender.http.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.updater.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.logging.view.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
                                    <version>${carbon.analytics-common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.publisher.aggregate.feature.group</id>
                                    <version>${carbon.analytics-common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.store.remote.feature.group</id>
                                    <version>${identity.userstore.remote.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.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.registry.profiles.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.identity.core.feature.group</id>
                                    <version>${carbon.identity.framework.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.idp.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.event.feature.group</id>
                                    <version>${carbon.identity.framework.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>
                                <feature>
                                    <id>org.wso2.carbon.identity.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.email.mgt.feature.group</id>
                                    <version>${identity.event.handler.notification.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.handler.notification.server.feature.group</id>
                                    <version>${identity.event.handler.notification.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.action.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.system.config.mgt.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.flow.orchestration.framework.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.sso.saml.feature.group</id>
                                    <version>${identity.inbound.auth.saml.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.idp.metadata.saml2.server.feature.group</id>
                                    <version>${identity.metadata.saml.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sp.metadata.saml2.server.feature.group</id>
                                    <version>${identity.metadata.saml.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.saml.common.util.feature.group</id>
                                    <version>${saml.common.util.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.identity.functions.library.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.functionality.mgt.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.user.store.configuration.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.authenticator.mutualssl.feature.group</id>
                                    <version>${identity.carbon.auth.mutual.ssl.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.directory.service.mgr.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.identity.styles.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.sts.passive.feature.group</id>
                                    <version>${identity.inbound.auth.sts.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.identity.utils.feature.group</id>
                                    <version>${project.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.extension.identity.oauth.dpop.server.feature.group</id>
                                    <version>${identity.oauth.dpop.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.scim.feature.group</id>
                                    <version>${identity.inbound.provisioning.scim.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.scim2.server.feature.group</id>
                                    <version>${identity.inbound.provisioning.scim2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.mex.server.feature.group</id>
                                    <version>${identity.inbound.auth.sts.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.tenant.resource.manager</id>
                                    <version>${identity.governance.version}</version>
                                </feature>

                                <!-- User Offline Onboard Feature -->
                                <feature>
                                    <id>org.wso2.carbon.identity.user.onboard.core.service</id>
                                    <version>${identity.governance.version}</version>
                                </feature>

                                <!-- Features required for Cloud Identity -->
                                <feature>
                                    <id>org.wso2.carbon.tenant.mgt.common.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.tenant.common.feature.group</id>
                                    <version>${carbon.multitenancy.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.identity.ui.feature.group</id>
                                    <version>${project.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.registry.contentsearch.feature.group</id>
                                    <version>${carbon.registry.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.role.mgt.ui.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.role.mgt.core.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.role.v2.mgt.core.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.secret.mgt.core.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.event.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.hazelcast.feature.group</id>
                                    <version>${carbon.kernel.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.configuration.mgt.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.cors.mgt.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.api.resource.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.ai.service.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.action.management.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.webhook.management.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.identity.webhook.event.handlers.server.feature.group</id>
                                    <version>${org.wso2.identity.webhook.event.handlers.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.certificate.management.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.rule.management.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.unique.claim.mgt.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature.group
                                    </id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.multi.attribute.login.service.server.feature.group</id>
                                    <version>${identity.governance.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.central.log.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.common.server.feature.group
                                    </id>
                                    <version>${identity.apps.core.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.console.server.feature.group
                                    </id>
                                    <version>${identity.apps.console.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.myaccount.server.feature.group
                                    </id>
                                    <version>${identity.apps.myaccount.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.authentication.portal.server.feature.group
                                    </id>
                                    <version>${identity.apps.core.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.accounts.portal.server.feature.group
                                    </id>
                                    <version>${identity.apps.core.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.recovery.portal.server.feature.group
                                    </id>
                                    <version>${identity.apps.core.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.identity.apps.x509certificate.portal.server.feature.group
                                    </id>
                                    <version>${identity.apps.core.version}</version>
                                </feature>

                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.data.publisher.application.authentication.server.feature.group
                                    </id>
                                    <version>${identity.data.publisher.authentication.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.data.publisher.oauth.server.feature.group
                                    </id>
                                    <version>${identity.data.publisher.oauth.version}</version>
                                </feature>
                                <feature>
                                    <id>
                                        org.wso2.carbon.identity.data.publisher.audit.user.operation.server.feature.group
                                    </id>
                                    <version>${identity.data.publisher.audit.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.provisioning.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                              
                                <feature>
                                    <id>org.wso2.carbon.identity.tools.saml.validator.feature.group</id>
                                    <version>${identity.tool.samlsso.validator.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.extension.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.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.servlet.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.apache.axis2.transport.mail.feature.group</id>
                                    <version>${axis2-transports.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.user.account.association.feature.group</id>
                                    <version>${identity.user.account.association.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.stream.server.feature.group</id>
                                    <version>${carbon.analytics-common.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.databridge.commons.server.feature.group</id>
                                    <version>${carbon.analytics-common.version}</version>
                                </feature>

                                <!-- Auth/Authz for Rest API  -->
                                <feature>
                                    <id>org.wso2.carbon.identity.auth.server.feature.group</id>
                                    <version>${identity.carbon.auth.rest.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authz.server.feature.group</id>
                                    <version>${identity.carbon.auth.rest.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.context.rewrite.server.feature.group</id>
                                    <version>${identity.carbon.auth.rest.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.cors.server.feature.group</id>
                                    <version>${identity.carbon.auth.rest.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.consent.mgt.feature.group</id>
                                    <version>${carbon.consent.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.consent.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.x509Certificate.validation.server.feature.group</id>
                                    <version>${org.wso2.carbon.extension.identity.x509certificate.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.conditional.auth.functions.server.feature.group</id>
                                    <version>${conditional.authentication.functions.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.healthcheck.server.feature.group</id>
                                    <version>${carbon.healthcheck.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.template.mgt.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.template.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.fido2.server.feature.group</id>
                                    <version>${identity.local.auth.fido.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.uuid.generator.feature.group</id>
                                    <version>${carbon.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.hash.provider.pbkdf2.server.feature.group</id>
                                    <version>${hashprovider.pbkdf2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.branding.preference.management.core.server.feature.group</id>
                                    <version>${identity.branding.preference.management.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.input.validation.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.framework.async.operation.status.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.client.attestation.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.notification.push.feature.group</id>
                                    <version>${identity.notification.push.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.local.auth.push.feature.group</id>
                                    <version>${identity.local.auth.push.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.trusted.app.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.consent.server.configs.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.helper.feature.group</id>
                                    <version>${identity.extension.utils}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.authenticator.totp.connector.feature.group</id>
                                    <version>${authenticator.totp.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.authenticator.backupcode.connector.feature.group</id>
                                    <version>${authenticator.backupcode.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authenticator.emailotp.feature.group</id>
                                    <version>${authenticator.emailotp.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth2.token.handler.clientauth.jwt.feature.group</id>
                                    <version>${identity.oauth.addons.token.handler.clientauth.jwt.version}</version>
                                </feature>

                                <feature>
                                    <id>org.wso2.carbon.identity.application.authenticator.oidc.server.feature.group</id>
                                    <version>${identity.outbound.auth.oidc.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.outbound.auth.oauth2.server.feature.group</id>
                                    <version>${identity.outbound.auth.oauth2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.organization.management.server.feature.group</id>
                                    <version>${identity.org.mgt.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.organization.management.core.server.feature.group</id>
                                    <version>${identity.org.mgt.core.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.auth.organization.login.server.feature.group</id>
                                    <version>${identity.organization.login.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.oauth2.grant.organizationswitch.server.feature.group</id>
                                    <version>${identity.oauth2.grant.organizationswitch.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.local.auth.magiclink.server.feature.group</id>
                                    <version>${authenticator.magiclink.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.local.auth.emailotp.server.feature.group</id>
                                    <version>${authenticator.local.auth.emailotp.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.local.auth.smsotp.feature.group</id>
                                    <version>${authenticator.local.auth.smsotp.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.auth.otp.core.server.feature.group</id>
                                    <version>${authenticator.auth.otp.commons.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.provisioning.connector.scim2.server.feature.group</id>
                                    <version>${provisioning.connector.scim2.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.verification.provider.feature.group</id>
                                    <version>${identity.verification.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.verification.mgt.feature.group</id>
                                    <version>${identity.verification.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.verification.ui.feature.group</id>
                                    <version>${identity.verification.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.extension.identity.oauth2.token.exchange.feature.group</id>
                                    <version>${identity.oauth2.token.exchange.grant.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.ciphertool.feature.group</id>
                                    <version>${cipher-tool.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.outbound.auth.adapter.feature.group</id>
                                    <version>${identity.outbound.auth.adapter.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authorization.framework.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.authorization.common.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.workflow.mgt.server.feature.group</id>
                                    <version>${carbon.identity.framework.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.workflow.engine.server.feature.group</id>
                                    <version>${identity.workflow.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.user.mgt.workflow.server.feature.group</id>
                                    <version>${identity.user.workflow.version}</version>
                                </feature>
                                <feature>
                                    <id>org.wso2.carbon.identity.agent.manager.server.feature.group</id>
                                    <version>${carbon.identity.agent.version}</version>
                                </feature>
                            </features>
                        </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>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <tasks>
                                <replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
                                    <include name="**/bundles.info" />
                                </replace>
                                <replace file="target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/context.xml" token="&lt;Context&gt;" value="&lt;Context crossContext=&quot;true&quot;&gt;" />
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>
