You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2013/07/04 07:02:37 UTC

[2/2] git commit: placing features in adc, agent, and cc corectly

placing features in adc, agent, and cc corectly


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/9b163dd4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/9b163dd4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/9b163dd4

Branch: refs/heads/master
Commit: 9b163dd4492df7e986e540a6caddd289d68f03ff
Parents: a8c1c79
Author: Lahiru Sandaruwan <la...@wso2.com>
Authored: Thu Jul 4 10:37:05 2013 +0530
Committer: Lahiru Sandaruwan <la...@wso2.com>
Committed: Thu Jul 4 10:37:05 2013 +0530

----------------------------------------------------------------------
 .../2.1.1/pom.xml                               |  78 +++++++++
 .../2.1.3/pom.xml                               |  78 +++++++++
 .../2.1.1/pom.xml                               | 119 ++++++++++++++
 .../2.1.3/pom.xml                               | 143 +++++++++++++++++
 .../2.1.3/src/main/resources/build.properties   |   1 +
 .../resources/conf/cartridge-config.properties  |  38 +++++
 .../src/main/resources/conf/etc/policies.xsd    |  36 +++++
 .../2.1.3/src/main/resources/conf/policies.xml  |  22 +++
 .../2.1.3/src/main/resources/p2.inf             |   5 +
 .../2.1.1/pom.xml                               |  82 ++++++++++
 .../2.1.3/pom.xml                               |  82 ++++++++++
 features/adc/pom.xml                            |  42 +++++
 .../2.1.1/pom.xml                               |  78 +++++++++
 .../2.1.3/pom.xml                               |  78 +++++++++
 .../2.1.1/pom.xml                               | 158 +++++++++++++++++++
 .../2.1.1/src/main/resources/build.properties   |   2 +
 .../src/main/resources/conf/agent.properties    |  25 +++
 .../2.1.1/src/main/resources/p2.inf             |   3 +
 .../2.1.3/pom.xml                               | 158 +++++++++++++++++++
 .../2.1.3/src/main/resources/build.properties   |   2 +
 .../src/main/resources/conf/agent.properties    |  25 +++
 .../2.1.3/src/main/resources/p2.inf             |   3 +
 .../2.1.1/pom.xml                               |  83 ++++++++++
 features/cartridge-agent/pom.xml                |  42 +++++
 .../2.1.1/pom.xml                               |  78 ---------
 .../2.1.3/pom.xml                               |  78 ---------
 .../2.1.1/pom.xml                               | 119 --------------
 .../2.1.3/pom.xml                               | 143 -----------------
 .../2.1.3/src/main/resources/build.properties   |   1 -
 .../resources/conf/cartridge-config.properties  |  38 -----
 .../src/main/resources/conf/etc/policies.xsd    |  36 -----
 .../2.1.3/src/main/resources/conf/policies.xml  |  22 ---
 .../2.1.3/src/main/resources/p2.inf             |   5 -
 .../2.1.1/pom.xml                               |  82 ----------
 .../2.1.3/pom.xml                               |  82 ----------
 features/stratos/adc-mgt/pom.xml                |  42 -----
 .../2.1.1/pom.xml                               |  78 ---------
 .../2.1.3/pom.xml                               |  78 ---------
 .../2.1.1/pom.xml                               | 158 -------------------
 .../2.1.1/src/main/resources/build.properties   |   2 -
 .../src/main/resources/conf/agent.properties    |  25 ---
 .../2.1.1/src/main/resources/p2.inf             |   3 -
 .../2.1.3/pom.xml                               | 158 -------------------
 .../2.1.3/src/main/resources/build.properties   |   2 -
 .../src/main/resources/conf/agent.properties    |  25 ---
 .../2.1.3/src/main/resources/p2.inf             |   3 -
 .../2.1.1/pom.xml                               |  83 ----------
 features/stratos/cartridge-agent/pom.xml        |  42 -----
 48 files changed, 1383 insertions(+), 1383 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml b/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..b93b0a2
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.mgt.feature</artifactId>    
+    <packaging>pom</packaging>
+    <version>2.1.1</version>
+    <name>WSO2 Carbon - ADC Management Composite Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.mgt</id>
+                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
+                            <includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.server.feature:${project.version}</includedFeatureDef>
+				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt.feature:${project.version}</includedFeatureDef>
+                            </includedFeatures>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml b/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
new file mode 100644
index 0000000..e2035a2
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.mgt.feature</artifactId>    
+    <packaging>pom</packaging>
+    <version>2.1.3</version>
+    <name>WSO2 Carbon - ADC Management Composite Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.mgt</id>
+                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
+                            <includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.server.feature:${project.version}</includedFeatureDef>
+				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt.feature:${project.version}</includedFeatureDef>
+                            </includedFeatures>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..2ddf1f3
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>    
+    <packaging>pom</packaging>
+    <version>2.1.1</version>
+    <name>WSO2 Carbon - ADC Management Core Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+	    <version>0.13.wso2v6</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt.stub</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+             <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prefilter-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>src/main/resources</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>resources</directory>
+                                    <includes>
+                                        <include>conf/agent.properties</include>
+                                        <include>p2.inf</include>
+                                        <include>build.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.mgt.server</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                            <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt:${project.version}</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.stub:4.1.1</bundleDef>
+				<bundleDef>org.wso2.andes.wso2:andes-client:0.13.wso2v6</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub:4.1.1</bundleDef>
+			    </bundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/pom.xml b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/pom.xml
new file mode 100644
index 0000000..2528044
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/pom.xml
@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>    
+    <packaging>pom</packaging>
+    <version>2.1.3</version>
+    <name>WSO2 Carbon - ADC Management Core Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub</artifactId>
+            <version>4.1.3</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+	    <version>0.13.wso2v6</version>
+        </dependency>
+	<dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.mgt.stub</artifactId>
+            <version>4.1.3</version>
+        </dependency>
+	<dependency>
+            <groupId>com.gitblit</groupId>
+            <artifactId>gitblit</artifactId>
+            <version>1.2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>com.google.code.gson</groupId>
+            <artifactId>gson</artifactId>
+            <version>2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.jgit</groupId>
+            <artifactId>org.eclipse.jgit</artifactId>
+            <version>2.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>com.jcraft</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.49.wso2v1</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+             <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prefilter-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>src/main/resources</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>resources</directory>
+                                    <includes>
+                                        <include>conf/agent.properties</include>
+                                        <include>p2.inf</include>
+                                        <include>build.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.mgt.server</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                            <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt:${project.version}</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.stub:4.1.3</bundleDef>
+				<bundleDef>org.wso2.andes.wso2:andes-client:0.13.wso2v6</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub:4.1.3</bundleDef>
+				<bundleDef>com.gitblit:gitblit:1.2.0.wso2v1</bundleDef>
+				<bundleDef>com.google.code.gson:gson:2.1</bundleDef>
+				<bundleDef>org.eclipse.jgit:org.eclipse.jgit:2.1.0.wso2v1</bundleDef>
+				<bundleDef>com.jcraft:jsch:0.1.49.wso2v1</bundleDef>
+			    </bundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/build.properties
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/build.properties b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/build.properties
new file mode 100644
index 0000000..93c4b10
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/build.properties
@@ -0,0 +1 @@
+custom = true
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/cartridge-config.properties
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/cartridge-config.properties b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/cartridge-config.properties
new file mode 100644
index 0000000..b495014
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/cartridge-config.properties
@@ -0,0 +1,38 @@
+# Configuration properties
+
+sc.ip=s2_ip
+autoscalerService.url=https://cc.wso2.com:9444/services/CloudControllerService/
+autoscaler.time.out=190000
+cartridge.agent.epr=https://s2_ip:9447/services/CartridgeAgentService
+git.host.name=s2_hostname
+git.host.ip=s2_ip
+git.repo.notification.url=https://sc.wso2.com:9445/services/RepoNotificationService/
+identity.server.url=https://sc.wso2.com:9447/services/RepoNotificationService/
+
+adc.jdbc.url=jdbc:h2:repository/database/WSO2S2_DB
+adc.jdbc.username=wso2carbon
+adc.jdbc.password=wso2carbon
+adc.jdbc.driver=org.h2.Driver
+
+mb.server.ip=cc.wso2.com:5673
+
+feature.externalrepo.validation.enabled=true
+feature.internalrepo.enabled=false
+feature.multitenant.multiplesubscription.enabled=false
+
+internal.repo.username=admin
+internal.repo.password=admin
+
+append.script=SCRIPT_PATH/add_entry_zone_file.sh
+remove.script=SCRIPT_PATH/remove_entry_zone_file.sh
+bind.file.path=/etc/bind/db.STRATOS_DOMAIN
+elb.ip=s2_ip
+
+bam.ip=s2_ip
+bam.port=7714
+
+max.attempts=1000
+
+cartridge.key=KEYPATH
+
+repository.info.epr=https://s2_ip:9445/services/RepositoryInformationService

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/etc/policies.xsd
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/etc/policies.xsd b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/etc/policies.xsd
new file mode 100644
index 0000000..87f7b58
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/etc/policies.xsd
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<xs:schema attributeFormDefault="unqualified"
+	elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+	<xs:element name="policies">
+		<xs:annotation>
+			<xs:documentation>Use below section to specify auto-scaling policies
+				for cartridges.
+			</xs:documentation>
+		</xs:annotation>
+		<xs:complexType>
+			<xs:sequence>
+				<xs:element name="policy" maxOccurs="unbounded"
+					minOccurs="1">
+					<xs:annotation>
+						<xs:documentation>You can have 1..n policy elements.
+						</xs:documentation>
+					</xs:annotation>
+					<xs:complexType>
+						<xs:sequence>
+							<xs:element type="xs:string" name="description" />
+							<xs:element type="xs:integer" name="min_app_instances" />
+							<xs:element type="xs:integer" name="max_app_instances" />
+							<xs:element type="xs:integer" name="max_requests_per_second" />
+							<xs:element type="xs:decimal" name="alarming_upper_rate" />
+							<xs:element type="xs:decimal" name="alarming_lower_rate" />
+							<xs:element type="xs:decimal" name="scale_down_factor" />
+							<xs:element type="xs:integer" name="rounds_to_average" />
+						</xs:sequence>
+						<xs:attribute type="xs:string" name="name" use="required" />
+						<xs:attribute type="xs:boolean" name="isDefault" use="required" />
+					</xs:complexType>
+				</xs:element>
+			</xs:sequence>
+		</xs:complexType>
+	</xs:element>
+</xs:schema>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/policies.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/policies.xml b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/policies.xml
new file mode 100644
index 0000000..7dd37d5
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/conf/policies.xml
@@ -0,0 +1,22 @@
+<policies>
+	<policy name="single" isDefault="true">
+		<description>Single - Instances: Min 1, Max 1</description>
+		<min_app_instances>1</min_app_instances>
+		<max_app_instances>1</max_app_instances>
+		<max_requests_per_second>5</max_requests_per_second>
+		<alarming_upper_rate>0.7</alarming_upper_rate>
+		<alarming_lower_rate>0.2</alarming_lower_rate>
+		<scale_down_factor>0.25</scale_down_factor>
+		<rounds_to_average>2</rounds_to_average>
+	</policy>
+	<policy name="elastic" isDefault="false">
+		<description>Elastic - Instances: Min 1, Max 4</description>
+		<min_app_instances>1</min_app_instances>
+		<max_app_instances>4</max_app_instances>
+		<max_requests_per_second>5</max_requests_per_second>
+		<alarming_upper_rate>0.7</alarming_upper_rate>
+		<alarming_lower_rate>0.2</alarming_lower_rate>
+		<scale_down_factor>0.25</scale_down_factor>
+		<rounds_to_average>2</rounds_to_average>
+	</policy>
+</policies>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/p2.inf
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/p2.inf b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/p2.inf
new file mode 100644
index 0000000..6b92fd6
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.mgt.server.feature/2.1.3/src/main/resources/p2.inf
@@ -0,0 +1,5 @@
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.wso2.carbon.adc.mgt.server_${feature.version}/conf/cartridge-config.properties,target:${installFolder}/../conf/cartridge-config.properties,overwrite:true);\
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.wso2.carbon.adc.mgt.server_${feature.version}/conf/policies.xml,target:${installFolder}/../conf/policies.xml,overwrite:true);\
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.wso2.carbon.adc.mgt.server_${feature.version}/conf/etc/policies.xsd,target:${installFolder}/../conf/etc/policies.xsd,overwrite:true);\
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.1/pom.xml b/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..20ceaa3
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.1/pom.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
+    <version>2.1.1</version>    
+    <packaging>pom</packaging>
+    <name>WSO2 Carbon - ADC Topology Management Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for Topology Management in ADC</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.topology.mgt</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+         <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.lb.common</artifactId>
+            <version>4.1.1</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.topology.mgt</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                            <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt:${project.version}</bundleDef>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.lb.common:4.1.1</bundleDef>
+                            </bundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.3/pom.xml b/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.3/pom.xml
new file mode 100644
index 0000000..d42d281
--- /dev/null
+++ b/features/adc/org.wso2.carbon.adc.topology.mgt.feature/2.1.3/pom.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>adc-mgt-feature</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
+    <version>2.1.3</version>    
+    <packaging>pom</packaging>
+    <name>WSO2 Carbon - ADC Topology Management Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for Topology Management in ADC</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.adc.topology.mgt</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+         <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.lb.common</artifactId>
+            <version>4.1.3</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.adc.topology.mgt</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                            <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt:${project.version}</bundleDef>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.lb.common:4.1.3</bundleDef>
+                            </bundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/adc/pom.xml
----------------------------------------------------------------------
diff --git a/features/adc/pom.xml b/features/adc/pom.xml
new file mode 100644
index 0000000..c947589
--- /dev/null
+++ b/features/adc/pom.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>stratos-features</artifactId>
+        <version>2.1.0</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>adc-mgt-feature</artifactId>
+    <packaging>pom</packaging>
+    <name>WSO2 Carbon - ADC Management Feature Aggregator Module</name>
+    <url>http://wso2.org</url>
+
+    <modules>
+        <module>org.wso2.carbon.adc.mgt.server.feature/2.1.1</module>
+        <module>org.wso2.carbon.adc.topology.mgt.feature/2.1.1</module>
+        <module>org.wso2.carbon.adc.mgt.feature/2.1.1</module>
+    </modules>
+
+</project>
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.1/pom.xml b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..016a36a
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.1/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>cartridge-agent</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.cartridge.agent.feature</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.1</version>
+    <name>WSO2 Cartridge Agent - Composite Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for cartridge agent feature</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.messages.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.agent.server.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.cartridge.agent</id>
+                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
+                            <includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:${project.version}</includedFeatureDef>
+				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature:${project.version}</includedFeatureDef>
+                            </includedFeatures>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.3/pom.xml b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.3/pom.xml
new file mode 100644
index 0000000..fa3e310
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.feature/2.1.3/pom.xml
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>cartridge-agent</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.cartridge.agent.feature</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.3</version>
+    <name>WSO2 Cartridge Agent - Composite Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for cartridge agent feature</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.messages.feature</artifactId>
+            <version>2.1.1</version>
+            <type>zip</type>
+            </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.agent.server.feature</artifactId>
+            <version>${project.version}</version>
+            <type>zip</type>
+            </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.cartridge.agent</id>
+                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
+                            <includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:${project.version}</includedFeatureDef>
+				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature:2.1.1</includedFeatureDef>
+                            </includedFeatures>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/pom.xml b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..b2fd118
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/pom.xml
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>cartridge-agent</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.cartridge.agent.server.feature</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.1</version>    
+    <name>WSO2 Carbon - Cartridge Agent Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for agent functionality</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.agent</artifactId>
+            <version>${project.version}</version>
+	</dependency>
+	<dependency>
+		<groupId>org.apache.axis2.wso2</groupId>
+		<artifactId>axis2</artifactId>
+		<version>1.6.1.wso2v8</version>
+	</dependency>
+	<dependency>
+		<groupId>org.apache.ws.commons.axiom.wso2</groupId>
+		<artifactId>axiom</artifactId>
+		<version>1.2.11.wso2v4</version>
+	</dependency>
+	<dependency>
+		<groupId>org.wso2.carbon</groupId>
+		<artifactId>org.wso2.carbon.adc.instanceinfo.mgt.stub</artifactId>
+		<version>4.1.1</version>
+	</dependency>
+        <dependency>
+            <groupId>org.eclipse.osgi</groupId>
+            <artifactId>org.eclipse.osgi</artifactId>
+            <version>3.5.0.v20090311-1300</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.osgi</groupId>
+            <artifactId>org.eclipse.osgi.services</artifactId>
+            <version>3.3.0.v20110513</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.utils</artifactId>
+            <version>4.1.0</version>
+        </dependency>
+	<dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-policy</artifactId>
+	    <version>1.6.1.wso2v8</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-core</artifactId>
+	    <version>1.6.1.wso2v8</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-trust</artifactId>
+	        <version>1.6.1.wso2v8</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+	    <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prefilter-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>src/main/resources</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>resources</directory>
+                                    <includes>
+                                        <include>conf/agent.properties</include>
+                                        <include>p2.inf</include>
+                                        <include>build.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.cartridge.agent.server</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                             <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.cartridge.agent</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.utils:4.1.0</bundleDef>
+				<bundleDef>org.eclipse.osgi:org.eclipse.osgi.services</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.adc.instanceinfo.mgt.stub</bundleDef>
+				<bundleDef>org.apache.axis2.wso2:axis2</bundleDef>
+				<bundleDef>org.apache.rampart.wso2:rampart-policy</bundleDef>
+                                <bundleDef>org.apache.rampart.wso2:rampart-core</bundleDef>
+                                <bundleDef>org.apache.rampart.wso2:rampart-trust</bundleDef>
+                            </bundles>
+			    <!--includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature</includedFeatureDef>
+                            </includedFeatures-->
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/build.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/build.properties b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/build.properties
new file mode 100644
index 0000000..74258d5
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/build.properties
@@ -0,0 +1,2 @@
+custom = true
+root.stratos=conf

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/conf/agent.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/conf/agent.properties b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/conf/agent.properties
new file mode 100644
index 0000000..9c42c6a
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/conf/agent.properties
@@ -0,0 +1,25 @@
+loadBalancerDomain=wso2.carbon.lb.domain
+
+# Registrant health check interval in seconds
+registrant.heathCheckInterval=10
+registrant.healthCheckThreadPoolSize=2000
+
+# Clustering parameters of Cartridge agent member
+clustering.membershipScheme=wka
+clustering.maxRetries=10
+clustering.localMemberHost=localhost
+#clustering.localMemberHost=10.100.2.139
+#clustering.localMemberBindPort=4026
+clustering.localMemberPort=4025
+
+# ELB members
+members.1.host=localhost
+#members.1.host=10.100.2.139
+members.1.port=4000
+
+# TRustrore
+wso2.carbon.truststore=/var/lib/opt/ADS/repository/resources/security/wso2carbon.jks
+
+# Instance State Notification Service 
+adc.host=ADC_HOSTNAME
+adc.port=ADC_PORT

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/p2.inf
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/p2.inf b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/p2.inf
new file mode 100644
index 0000000..5eec6fa
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.1/src/main/resources/p2.inf
@@ -0,0 +1,3 @@
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.wso2.carbon.cartridge.agent.server_${feature.version}/conf/agent.properties,target:${installFolder}/../conf/agent.properties,overwrite:true);\
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/pom.xml b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/pom.xml
new file mode 100644
index 0000000..31ca49b
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/pom.xml
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>cartridge-agent</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.cartridge.agent.server.feature</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.3</version>    
+    <name>WSO2 Carbon - Cartridge Agent Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for agent functionality</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.agent</artifactId>
+            <version>${project.version}</version>
+	</dependency>
+	<dependency>
+		<groupId>org.apache.axis2.wso2</groupId>
+		<artifactId>axis2</artifactId>
+		<version>1.6.1.wso2v8</version>
+	</dependency>
+	<dependency>
+		<groupId>org.apache.ws.commons.axiom.wso2</groupId>
+		<artifactId>axiom</artifactId>
+		<version>1.2.11.wso2v4</version>
+	</dependency>
+	<dependency>
+		<groupId>org.wso2.carbon</groupId>
+		<artifactId>org.wso2.carbon.adc.instanceinfo.mgt.stub</artifactId>
+		<version>4.1.1</version>
+	</dependency>
+        <dependency>
+            <groupId>org.eclipse.osgi</groupId>
+            <artifactId>org.eclipse.osgi</artifactId>
+            <version>3.5.0.v20090311-1300</version>
+        </dependency>
+        <dependency>
+            <groupId>org.eclipse.osgi</groupId>
+            <artifactId>org.eclipse.osgi.services</artifactId>
+            <version>3.3.0.v20110513</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.utils</artifactId>
+            <version>4.1.0</version>
+        </dependency>
+	<dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-policy</artifactId>
+	    <version>1.6.1.wso2v8</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-core</artifactId>
+	    <version>1.6.1.wso2v8</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-trust</artifactId>
+	        <version>1.6.1.wso2v8</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+	    <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>prefilter-resources</id>
+                        <phase>generate-resources</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>src/main/resources</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>resources</directory>
+                                    <includes>
+                                        <include>conf/agent.properties</include>
+                                        <include>p2.inf</include>
+                                        <include>build.properties</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.cartridge.agent.server</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                             <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.cartridge.agent</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.utils:4.1.0</bundleDef>
+				<bundleDef>org.eclipse.osgi:org.eclipse.osgi.services</bundleDef>
+				<bundleDef>org.wso2.carbon:org.wso2.carbon.adc.instanceinfo.mgt.stub</bundleDef>
+				<bundleDef>org.apache.axis2.wso2:axis2</bundleDef>
+				<bundleDef>org.apache.rampart.wso2:rampart-policy</bundleDef>
+                                <bundleDef>org.apache.rampart.wso2:rampart-core</bundleDef>
+                                <bundleDef>org.apache.rampart.wso2:rampart-trust</bundleDef>
+                            </bundles>
+			    <!--includedFeatures>
+                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature</includedFeatureDef>
+                            </includedFeatures-->
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/build.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/build.properties b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/build.properties
new file mode 100644
index 0000000..74258d5
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/build.properties
@@ -0,0 +1,2 @@
+custom = true
+root.stratos=conf

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/conf/agent.properties
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/conf/agent.properties b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/conf/agent.properties
new file mode 100644
index 0000000..9c42c6a
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/conf/agent.properties
@@ -0,0 +1,25 @@
+loadBalancerDomain=wso2.carbon.lb.domain
+
+# Registrant health check interval in seconds
+registrant.heathCheckInterval=10
+registrant.healthCheckThreadPoolSize=2000
+
+# Clustering parameters of Cartridge agent member
+clustering.membershipScheme=wka
+clustering.maxRetries=10
+clustering.localMemberHost=localhost
+#clustering.localMemberHost=10.100.2.139
+#clustering.localMemberBindPort=4026
+clustering.localMemberPort=4025
+
+# ELB members
+members.1.host=localhost
+#members.1.host=10.100.2.139
+members.1.port=4000
+
+# TRustrore
+wso2.carbon.truststore=/var/lib/opt/ADS/repository/resources/security/wso2carbon.jks
+
+# Instance State Notification Service 
+adc.host=ADC_HOSTNAME
+adc.port=ADC_PORT

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/p2.inf
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/p2.inf b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/p2.inf
new file mode 100644
index 0000000..5eec6fa
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.agent.server.feature/2.1.3/src/main/resources/p2.inf
@@ -0,0 +1,3 @@
+instructions.configure = \
+org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/features/org.wso2.carbon.cartridge.agent.server_${feature.version}/conf/agent.properties,target:${installFolder}/../conf/agent.properties,overwrite:true);\
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/org.wso2.carbon.cartridge.messages.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/org.wso2.carbon.cartridge.messages.feature/2.1.1/pom.xml b/features/cartridge-agent/org.wso2.carbon.cartridge.messages.feature/2.1.1/pom.xml
new file mode 100644
index 0000000..8fc766d
--- /dev/null
+++ b/features/cartridge-agent/org.wso2.carbon.cartridge.messages.feature/2.1.1/pom.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>cartridge-agent</artifactId>
+        <version>2.1.0</version>
+	<relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>org.wso2.carbon.cartridge.messages.feature</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.1</version>    
+    <name>WSO2 Carbon - Cartridge Messages Feature</name>
+    <url>http://wso2.org</url>
+    <description>This feature contains the bundles required for agent messages</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.cartridge.messages</artifactId>
+	    <version>${project.version}</version>
+        </dependency>
+	<dependency>
+            <groupId>org.apache.axis2.wso2</groupId>
+            <artifactId>axis2</artifactId>
+	    <version>1.6.1.wso2v8</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>p2-feature-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-feature-gen</goal>
+                        </goals>
+                        <configuration>
+                            <id>org.wso2.carbon.cartridge.messages</id>
+                            <propertiesFile>../../etc/feature.properties</propertiesFile>
+                             <adviceFile>
+                                <properties>
+                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
+                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
+                                </properties>
+                            </adviceFile>
+                            <bundles>
+                                <bundleDef>org.wso2.carbon:org.wso2.carbon.cartridge.messages</bundleDef>
+				<bundleDef>org.apache.axis2.wso2:axis2</bundleDef>
+                            </bundles>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/cartridge-agent/pom.xml
----------------------------------------------------------------------
diff --git a/features/cartridge-agent/pom.xml b/features/cartridge-agent/pom.xml
new file mode 100644
index 0000000..cb00625
--- /dev/null
+++ b/features/cartridge-agent/pom.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ ~ Copyright (c) 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.carbon</groupId>
+        <artifactId>stratos-features</artifactId>
+        <version>2.1.0</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>cartridge-agent</artifactId>
+    <packaging>pom</packaging>
+    <name>WSO2 Stratos - Cartridge Agent Feature Aggregator Module</name>
+    <url>http://wso2.org</url>
+
+    <modules>
+        <module>org.wso2.carbon.cartridge.messages.feature/2.1.1</module>
+        <module>org.wso2.carbon.cartridge.agent.server.feature/2.1.1</module>
+	<module>org.wso2.carbon.cartridge.agent.feature/2.1.1</module>
+    </modules>
+
+</project>
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml b/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
deleted file mode 100644
index b93b0a2..0000000
--- a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.1/pom.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.carbon</groupId>
-        <artifactId>adc-mgt-feature</artifactId>
-        <version>2.1.0</version>
-	<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.adc.mgt.feature</artifactId>    
-    <packaging>pom</packaging>
-    <version>2.1.1</version>
-    <name>WSO2 Carbon - ADC Management Composite Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.carbon.adc.mgt</id>
-                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
-                            <includedFeatures>
-                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.server.feature:${project.version}</includedFeatureDef>
-				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt.feature:${project.version}</includedFeatureDef>
-                            </includedFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
----------------------------------------------------------------------
diff --git a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml b/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
deleted file mode 100644
index e2035a2..0000000
--- a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.feature/2.1.3/pom.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.carbon</groupId>
-        <artifactId>adc-mgt-feature</artifactId>
-        <version>2.1.0</version>
-	<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.adc.mgt.feature</artifactId>    
-    <packaging>pom</packaging>
-    <version>2.1.3</version>
-    <name>WSO2 Carbon - ADC Management Composite Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.topology.mgt.feature</artifactId>
-            <version>${project.version}</version>
-            <type>zip</type>
-            </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.carbon.adc.mgt</id>
-                            <propertiesFile>../../../../etc/feature.properties</propertiesFile>
-                            <includedFeatures>
-                                <includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.server.feature:${project.version}</includedFeatureDef>
-				<includedFeatureDef>org.wso2.carbon:org.wso2.carbon.adc.topology.mgt.feature:${project.version}</includedFeatureDef>
-                            </includedFeatures>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9b163dd4/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
----------------------------------------------------------------------
diff --git a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml b/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
deleted file mode 100644
index 2ddf1f3..0000000
--- a/features/stratos/adc-mgt/org.wso2.carbon.adc.mgt.server.feature/2.1.1/pom.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) 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.carbon</groupId>
-        <artifactId>adc-mgt-feature</artifactId>
-        <version>2.1.0</version>
-	<relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.wso2.carbon.adc.mgt.server.feature</artifactId>    
-    <packaging>pom</packaging>
-    <version>2.1.1</version>
-    <name>WSO2 Carbon - ADC Management Core Feature</name>
-    <url>http://wso2.org</url>
-    <description>This feature contains the core bundles required for Artifact Deployment Controller</description>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.mgt</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-	    <version>0.13.wso2v6</version>
-        </dependency>
-	<dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.adc.mgt.stub</artifactId>
-            <version>4.1.1</version>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-             <plugin>
-                <artifactId>maven-resources-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>prefilter-resources</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>copy-resources</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>src/main/resources</outputDirectory>
-                            <resources>
-                                <resource>
-                                    <directory>resources</directory>
-                                    <includes>
-                                        <include>conf/agent.properties</include>
-                                        <include>p2.inf</include>
-                                        <include>build.properties</include>
-                                    </includes>
-                                </resource>
-                            </resources>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>p2-feature-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-feature-gen</goal>
-                        </goals>
-                        <configuration>
-                            <id>org.wso2.carbon.adc.mgt.server</id>
-                            <propertiesFile>../../etc/feature.properties</propertiesFile>
-                            <adviceFile>
-                                <properties>
-                                    <propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
-                                    <propertyDef>org.eclipse.equinox.p2.type.group:false</propertyDef>
-                                </properties>
-                            </adviceFile>
-                            <bundles>
-                                <bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt:${project.version}</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.adc.mgt.stub:4.1.1</bundleDef>
-				<bundleDef>org.wso2.andes.wso2:andes-client:0.13.wso2v6</bundleDef>
-				<bundleDef>org.wso2.carbon:org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub:4.1.1</bundleDef>
-			    </bundles>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>