blob: b42c91bc54b1ac30b65521c15cb6f9ad69f35bb9 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.stratos</groupId>
<artifactId>stratos</artifactId>
<version>4.1.4</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<artifactId>stratos-profile-gen</artifactId>
<packaging>pom</packaging>
<name>Apache Stratos - Profile Generation</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>unpack-carbon-kernel</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-kernel-patch-0001</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0001</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0002</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0002</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0003</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0003</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0004</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0004</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0005</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0005</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0006</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0006</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0007</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0007</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0008</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0008</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0009</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0009</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0010</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0010</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0011</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0011</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
<execution>
<id>unpack-kernel-patch-0012</id>
<phase>test</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wso2.carbon</groupId>
<artifactId>WSO2-CARBON-PATCH-4.2.0</artifactId>
<version>0012</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>
<executions>
<execution>
<id>2-p2-repo-generation</id>
<phase>package</phase>
<goals>
<goal>p2-repo-gen</goal>
</goals>
<configuration>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<publishArtifacts>true</publishArtifacts>
<publishArtifactRepository>true</publishArtifactRepository>
<featureArtifacts>
<featureArtifactDef>
org.wso2.carbon: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.databridge.datapublisher.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.ntask.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.registry.core.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.registry.resource.properties.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.registry.ui.menu.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.throttle.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.security.mgt.feature:${carbon.platform.patch.version.4.2.4}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon.deployment:org.wso2.carbon.webapp.mgt.feature:${carbon.deployment.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.jaxws.webapp.mgt.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>org.wso2.store:org.wso2.store.feature:${store.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.captcha.mgt.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.service.mgt.server.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.transport.mgt.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.event.common.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.event.server.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.core.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.sso.saml.feature:${carbon.platform.patch.version.4.2.3}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.module.mgt.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.caching.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.rm.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.server.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.application.authentication.framework.server.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.oauth.feature:${carbon.platform.patch.version.4.2.3}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.provider.server.feature:${carbon.platform.patch.version.4.2.3}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.idp.mgt.feature:${carbon.platform.patch.version.4.2.3}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.stratos.common.feature:2.2.2
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.as.runtimes.cxf.feature:4.2.2
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.relying.party.server.feature:4.2.2
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.application.mgt.feature:4.2.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.identity.core.feature:4.2.3
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.user.profile.server.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>org.jaggeryjs:org.jaggeryjs.feature:0.9.0.ALPHA4.wso2v3
</featureArtifactDef>
<featureArtifactDef>caramel:caramel.feature:1.0.1</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.identity.application.authenticator.basicauth.server.feature:4.2.1
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.logging.mgt.feature:${carbon.platform.patch.version.4.2.2}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.user.mgt.feature:${carbon.platform.patch.version.4.2.1}
</featureArtifactDef>
<!--CEP-->
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.input.adaptor.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.output.adaptor.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.builder.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.formatter.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.tracer.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.statistics.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>org.wso2.carbon:org.wso2.carbon.event.stream.manager.feature:1.0.0
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.databridge.datareceiver.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.databridge.streamdefn.registry.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<!--Cassandra-->
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.cassandra.server.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.cassandra.mgt.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.cassandra.dataaccess.feature:${carbon.kernel.version}
</featureArtifactDef>
<featureArtifactDef>
org.wso2.carbon:org.wso2.carbon.cassandra.common.feature:${carbon.kernel.version}
</featureArtifactDef>
<!-- Stratos features -->
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.metadata.client.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.custom.handlers.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.event.processor.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.messaging.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.autoscaler.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.cloud.controller.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.manager.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.rest.endpoint.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.common.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.manager.styles.feature:${project.version}
</featureArtifactDef>
<!-- Mock IaaS features -->
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.mock.iaas.api.feature:${project.version}
</featureArtifactDef>
<featureArtifactDef>
org.apache.stratos:org.apache.stratos.metadata.service.feature:${project.version}
</featureArtifactDef>
</featureArtifacts>
</configuration>
</execution>
<execution>
<id>publishing product</id>
<phase>package</phase>
<goals>
<goal>publish-product</goal>
</goals>
<configuration>
<productConfigurationFile>${basedir}/carbon.product
</productConfigurationFile>
<executable>
${basedir}/target/org.eclipse.equinox.executable_3.5.0.v20110530-7P7NFUFFLWUl76mart
</executable>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
</configuration>
</execution>
<execution>
<id>creating-stratos-manager-profile</id>
<phase>package</phase>
<goals>
<goal>materialize-product</goal>
</goals>
<configuration>
<productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<targetPath>
file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</targetPath>
<profile>sm</profile>
</configuration>
</execution>
<execution>
<id>creating-stratos-autoscaler-profile</id>
<phase>package</phase>
<goals>
<goal>materialize-product</goal>
</goals>
<configuration>
<productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<targetPath>
file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</targetPath>
<profile>as</profile>
</configuration>
</execution>
<execution>
<id>creating-stratos-cloud-controller-profile</id>
<phase>package</phase>
<goals>
<goal>materialize-product</goal>
</goals>
<configuration>
<productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<targetPath>
file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</targetPath>
<profile>cc</profile>
</configuration>
</execution>
<execution>
<id>creating-stratos-mock-iaas-profile</id>
<phase>package</phase>
<goals>
<goal>materialize-product</goal>
</goals>
<configuration>
<productConfigurationFile>${basedir}/carbon.product</productConfigurationFile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<targetPath>
file:${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</targetPath>
<profile>mock-iaas</profile>
</configuration>
</execution>
<execution>
<id>p2 profile generation for stratos manager</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>sm</profile>
<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.store.feature.group</id>
<version>${store.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.webapp.mgt.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.jaxws.webapp.mgt.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.ui.menu.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.sso.saml.feature.group</id>
<version>${carbon.platform.patch.version.4.2.3}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.4}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.ntask.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.apache.stratos.common.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.manager.styles.feature.group</id>
<version>${project.version}</version>
</feature>
<!--feature>
<id>org.wso2.carbon.transaction.manager.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature-->
<feature>
<id>org.wso2.carbon.transport.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.common.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.captcha.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.apache.stratos.manager.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.rest.endpoint.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.metadata.service.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.messaging.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.jaggeryjs.feature.group</id>
<version>0.9.0.ALPHA4.wso2v3</version>
</feature>
<feature>
<id>caramel.feature.group</id>
<version>1.0.1</version>
</feature>
<feature>
<id>
org.wso2.carbon.identity.application.authentication.framework.server.feature.group
</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.oauth.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.provider.server.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.idp.mgt.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.stratos.common.feature.group</id>
<version>2.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.relying.party.server.feature.group</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.application.mgt.feature.group</id>
<version>4.2.0</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.user.profile.server.feature.group</id>
<version>4.2.2</version>
</feature>
<!-- User Management features -->
<feature>
<id>org.wso2.carbon.user.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.apache.stratos.custom.handlers.feature.group</id>
<version>${project.version}</version>
</feature>
</features>
</configuration>
</execution>
<execution>
<id>p2 profile generation for autoscaler</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>as</profile>
<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.webapp.mgt.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.jaxws.webapp.mgt.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.4}</version>
</feature>
<feature>
<id>org.apache.stratos.autoscaler.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.messaging.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.ui.menu.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.apache.stratos.common.feature.group</id>
<version>${project.version}</version>
</feature>
</features>
</configuration>
</execution>
<execution>
<id>p2 profile generation for cloud controller</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>cc</profile>
<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.apache.stratos.common.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.webapp.mgt.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.jaxws.webapp.mgt.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.module.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.logging.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.ntask.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.apache.stratos.cloud.controller.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.service.mgt.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.transport.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.ui.menu.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.4}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
</features>
</configuration>
</execution>
<execution>
<id>p2 profile generation for mock iaas</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>mock-iaas</profile>
<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.security.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.4}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.apache.stratos.common.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.mock.iaas.api.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.messaging.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
<version>4.2.2</version>
</feature>
</features>
</configuration>
</execution>
<execution>
<id>3-p2-profile-generation</id>
<phase>package</phase>
<goals>
<goal>p2-profile-gen</goal>
</goals>
<configuration>
<profile>default</profile>
<metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
<artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
<destination>
${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
</destination>
<deleteOldProfileFiles>true</deleteOldProfileFiles>
<features>
<feature>
<id>org.wso2.store.feature.group</id>
<version>${store.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.webapp.mgt.feature.group</id>
<version>${carbon.deployment.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.jaxws.webapp.mgt.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.ui.menu.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.sso.saml.feature.group</id>
<version>${carbon.platform.patch.version.4.2.3}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datapublisher.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.security.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.4}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.registry.resource.properties.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.ntask.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.transport.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.event.common.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.captcha.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.user.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.feature.group</id>
<version>${carbon.platform.patch.version.4.2.3}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.authenticator.saml2.sso.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<feature>
<id>org.jaggeryjs.feature.group</id>
<version>0.9.0.ALPHA4.wso2v3</version>
</feature>
<feature>
<id>caramel.feature.group</id>
<version>1.0.1</version>
</feature>
<feature>
<id>
org.wso2.carbon.identity.application.authenticator.basicauth.server.feature.group
</id>
<version>4.2.1</version>
</feature>
<feature>
<id>
org.wso2.carbon.identity.application.authentication.framework.server.feature.group
</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.oauth.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.provider.server.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.idp.mgt.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.stratos.common.feature.group</id>
<version>2.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.as.runtimes.cxf.feature.group</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.relying.party.server.feature.group</id>
<version>4.2.2</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.application.mgt.feature.group</id>
<version>4.2.0</version>
</feature>
<feature>
<id>org.wso2.carbon.identity.core.feature.group</id>
<version>4.2.3</version>
</feature>
<feature>
<id>org.wso2.carbon.module.mgt.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.logging.mgt.feature.group</id>
<version>${carbon.platform.patch.version.4.2.2}</version>
</feature>
<feature>
<id>org.wso2.carbon.service.mgt.server.feature.group</id>
<version>${carbon.platform.patch.version.4.2.1}</version>
</feature>
<!--CEP features-->
<feature>
<id>org.wso2.carbon.event.input.adaptor.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.output.adaptor.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.builder.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.formatter.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.tracer.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.statistics.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.event.stream.manager.feature.group</id>
<version>1.0.0</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.datareceiver.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.databridge.streamdefn.registry.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<!--Cassandra-->
<feature>
<id>org.wso2.carbon.cassandra.server.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.cassandra.mgt.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.cassandra.dataaccess.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<feature>
<id>org.wso2.carbon.cassandra.common.feature.group</id>
<version>${carbon.kernel.version}</version>
</feature>
<!-- Stratos features -->
<feature>
<id>org.apache.stratos.custom.handlers.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.metadata.service.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.event.processor.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.cloud.controller.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.autoscaler.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.messaging.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.manager.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.rest.endpoint.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.manager.styles.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.common.feature.group</id>
<version>${project.version}</version>
</feature>
<feature>
<id>org.apache.stratos.mock.iaas.api.feature.group</id>
<version>${project.version}</version>
</feature>
</features>
</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>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>