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/31 13:17:09 UTC

[28/51] [partial] applying patch related to JIRA STRATOS-12

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js b/products/stratos-controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
new file mode 100755
index 0000000..13acb8d
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/lib/home/js/jquery.orbit-1.2.3.min.js
@@ -0,0 +1,17 @@
+/*
+ * jQuery Orbit Plugin 1.2.3
+ * www.ZURB.com/playground
+ * Copyright 2010, ZURB
+ * Free to use under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+*/
+
+(function(d){d.fn.orbit=function(a){a=d.extend({animation:"horizontal-push",animationSpeed:600,timer:!0,advanceSpeed:4E3,pauseOnHover:!1,startClockOnMouseOut:!1,startClockOnMouseOutAfter:1E3,directionalNav:!0,captions:!0,captionAnimation:"fade",captionAnimationSpeed:600,bullets:!1,bulletThumbs:!1,bulletThumbLocation:"",afterSlideChange:function(){}},a);return this.each(function(){function q(){if(!a.timer||a.timer=="false")return!1;else r.is(":hidden")?s=setInterval(function(){l("next")},a.advanceSpeed):
+(o=!0,x.removeClass("active"),s=setInterval(function(){var a="rotate("+m+"deg)";m+=2;t.css({"-webkit-transform":a,"-moz-transform":a,"-o-transform":a});m>180&&(t.addClass("move"),z.addClass("move"));m>360&&(t.removeClass("move"),z.removeClass("move"),m=0,l("next"))},a.advanceSpeed/180))}function n(){if(!a.timer||a.timer=="false")return!1;else o=!1,clearInterval(s),x.addClass("active")}function A(){if(!a.captions||a.captions=="false")return!1;else{var y=e.eq(b).data("caption");(_captionHTML=d(y).html())?
+(j.attr("id",y).html(_captionHTML),a.captionAnimation=="none"&&j.show(),a.captionAnimation=="fade"&&j.fadeIn(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideDown(a.captionAnimationSpeed)):(a.captionAnimation=="none"&&j.hide(),a.captionAnimation=="fade"&&j.fadeOut(a.captionAnimationSpeed),a.captionAnimation=="slideOpen"&&j.slideUp(a.captionAnimationSpeed))}}function B(){if(a.bullets)D.children("li").removeClass("active").eq(b).addClass("active");else return!1}function l(d){function c(){e.eq(f).css({"z-index":1});
+u=!1;a.afterSlideChange.call(this)}var f=b,g=d;if(f==g)return!1;if(e.length=="1")return!1;u||(u=!0,d=="next"?(b++,b==p&&(b=0)):d=="prev"?(b--,b<0&&(b=p-1)):(b=d,f<b?g="next":f>b&&(g="prev")),B(),e.eq(f).css({"z-index":2}),a.animation=="fade"&&e.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,c),a.animation=="horizontal-slide"&&(g=="next"&&e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),g=="prev"&&e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,
+c)),a.animation=="vertical-slide"&&(g=="prev"&&e.eq(b).css({top:v,"z-index":3}).animate({top:0},a.animationSpeed,c),g=="next"&&e.eq(b).css({top:-v,"z-index":3}).animate({top:0},a.animationSpeed,c)),a.animation=="horizontal-push"&&(g=="next"&&(e.eq(b).css({left:h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:-h},a.animationSpeed)),g=="prev"&&(e.eq(b).css({left:-h,"z-index":3}).animate({left:0},a.animationSpeed,c),e.eq(f).animate({left:h},a.animationSpeed))),A())}var b=0,
+p=0,h,v,u,f=d(this).addClass("orbit"),c=f.wrap('<div class="orbit-wrapper" />').parent();f.add(h).width("1px").height("1px");var e=f.children("img, a, div");e.each(function(){var a=d(this),b=a.width(),a=a.height();b>f.width()&&(f.add(c).width(b),h=f.width());a>f.height()&&(f.add(c).height(a),v=f.height());p++});if(e.length==1)a.directionalNav=!1,a.timer=!1,a.bullets=!1;e.eq(b).css({"z-index":3}).fadeIn(function(){e.css({display:"block"})});if(a.timer){c.append('<div class="timer"><span class="mask"><span class="rotator"></span></span><span class="pause"></span></div>');
+var r=d("div.timer"),o;if(r.length!=0){var t=d("div.timer span.rotator"),z=d("div.timer span.mask"),x=d("div.timer span.pause"),m=0,s;q();r.click(function(){o?n():q()});if(a.startClockOnMouseOut){var C;c.mouseleave(function(){C=setTimeout(function(){o||q()},a.startClockOnMouseOutAfter)});c.mouseenter(function(){clearTimeout(C)})}}}a.pauseOnHover&&c.mouseenter(function(){n()});if(a.captions){c.append('<div class="orbit-caption"></div>');var j=c.children(".orbit-caption");A()}if(a.directionalNav){if(a.directionalNav==
+"false")return!1;c.append('<div class="slider-nav"><span class="right">Right</span><span class="left">Left</span></div>');var k=c.children("div.slider-nav").children("span.left"),w=c.children("div.slider-nav").children("span.right");k.click(function(){n();l("prev")});w.click(function(){n();l("next")})}if(a.bullets){c.append('<ul class="orbit-bullets"></ul>');var D=d("ul.orbit-bullets");for(i=0;i<p;i++){k=d("<li>"+(i+1)+"</li>");if(a.bulletThumbs&&(w=e.eq(i).data("thumb")))k=d('<li class="has-thumb">'+
+i+"</li>"),k.css({background:"url("+a.bulletThumbLocation+w+") no-repeat"});d("ul.orbit-bullets").append(k);k.data("index",i);k.click(function(){n();l(d(this).data("index"))})}B()}})}})(jQuery);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit-1.2.3.css
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit-1.2.3.css b/products/stratos-controller/modules/distribution/lib/home/js/orbit-1.2.3.css
new file mode 100755
index 0000000..bff4f1f
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/lib/home/js/orbit-1.2.3.css
@@ -0,0 +1,202 @@
+/* CSS for jQuery Orbit Plugin 1.2.3
+ * www.ZURB.com/playground
+ * Copyright 2010, ZURB
+ * Free to use under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ 
+ 
+ 
+/* PUT IN YOUR SLIDER ID AND SIZE TO MAKE LOAD BEAUTIFULLY
+   ================================================== */
+#featured { 
+	width: 940px;
+	height: 450px;
+	url('orbit/loading.gif') no-repeat center center;
+	overflow: hidden; }
+#featured>img,  
+#featured>div,
+#featured>a { display: none; }
+
+
+
+
+/* CONTAINER
+   ================================================== */
+
+div.orbit-wrapper {
+    width: 1px;
+    height: 1px;
+    position: relative; }
+
+div.orbit {
+    width: 1px;
+    height: 1px;
+    position: relative;
+    overflow: hidden }
+
+div.orbit>img {
+    position: absolute;
+    top: 0;
+    left: 0;
+    display: none; }
+
+div.orbit>a {
+    border: none;
+    position: absolute;
+    top: 0;
+    left: 0;
+    line-height: 0; 
+    display: none; }
+
+.orbit>div {
+    position: absolute;
+    top: 0;
+    left: 0;
+    width: 100%;
+    height: 100%; }
+
+/* Note: If your slider only uses content or anchors, you're going to want to put the width and height declarations on the ".orbit>div" and "div.orbit>a" tags in addition to just the .orbit-wrapper */
+
+
+/* TIMER
+   ================================================== */
+
+div.timer {
+    width: 40px;
+    height: 40px;
+    overflow: hidden;
+    position: absolute;
+    top: 10px;
+    right: 10px;
+    opacity: .6;
+    cursor: pointer;
+    z-index: 1001; }
+
+span.rotator {
+    display: block;
+    width: 40px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    left: -20px;
+    background: url(orbit/rotator-black.png) no-repeat;
+    z-index: 3; }
+
+span.mask {
+    display: block;
+    width: 20px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    right: 0;
+    z-index: 2;
+    overflow: hidden; }
+
+span.rotator.move {
+    left: 0 }
+
+span.mask.move {
+    width: 40px;
+    left: 0;
+    background: url(orbit/timer-black.png) repeat 0 0; }
+
+span.pause {
+    display: block;
+    width: 40px;
+    height: 40px;
+    position: absolute;
+    top: 0;
+    left: 0;
+    background: url(orbit/pause-black.png) no-repeat;
+    z-index: 4;
+    opacity: 0; }
+
+span.pause.active {
+    background: url(orbit/pause-black.png) no-repeat 0 -40px }
+
+div.timer:hover span.pause,
+span.pause.active {
+    opacity: 1 }
+
+
+/* CAPTIONS
+   ================================================== */
+
+.orbit-caption {
+    display: none;
+    font-family: "HelveticaNeue", "Helvetica-Neue", Helvetica, Arial, sans-serif; }
+
+.orbit-wrapper .orbit-caption {
+    background: #000;
+    background: rgba(0,0,0,.6);
+    z-index: 1000;
+    color: #fff;
+	text-align: center;
+	padding: 7px 0;
+    font-size: 13px;
+    position: absolute;
+    right: 0;
+    bottom: 0;
+    width: 100%; }
+
+
+/* DIRECTIONAL NAV
+   ================================================== */
+
+div.slider-nav {
+    display: block }
+
+div.slider-nav span {
+    width: 30px;
+    height: 41px;
+    text-indent: -9999px;
+    position: absolute;
+    z-index: 1000;
+    background-color: #fffff;
+    top: 50%;
+    margin-top: -22px;
+    cursor: pointer; }
+
+div.slider-nav span.right {
+    background: url(orbit/right-arrow.png);
+    right: 0; }
+
+div.slider-nav span.left {
+    background: url(orbit/left-arrow.png);
+    left: 0; }
+
+/* BULLET NAV
+   ================================================== */
+
+.orbit-bullets {
+    position: absolute;
+    z-index: 1000;
+    list-style: none;
+    bottom: -40px;
+    left: 50%;
+	margin-left: -50px;
+    padding: 0; }
+
+.orbit-bullets li {
+    float: left;
+    margin-left: 5px;
+    cursor: pointer;
+    color: #999;
+    text-indent: -9999px;
+    background: url(orbit/bullets.jpg) no-repeat 4px 0;
+    width: 13px;
+    height: 12px;
+    overflow: hidden; }
+
+.orbit-bullets li.active {
+    color: #222;
+    background-position: -8px 0; }
+    
+.orbit-bullets li.has-thumb {
+    background: none;
+    width: 100px;
+    height: 75px; }
+
+.orbit-bullets li.active.has-thumb {
+    background-position: 0 0;
+    border-top: 2px solid #000; }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/left-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/left-arrow.png b/products/stratos-controller/modules/distribution/lib/home/js/orbit/left-arrow.png
new file mode 100755
index 0000000..bd65cb1
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/left-arrow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/loading.gif
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/loading.gif b/products/stratos-controller/modules/distribution/lib/home/js/orbit/loading.gif
new file mode 100755
index 0000000..969f505
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/loading.gif differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/mask-black.png
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/mask-black.png b/products/stratos-controller/modules/distribution/lib/home/js/orbit/mask-black.png
new file mode 100755
index 0000000..e4e77b5
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/mask-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/right-arrow.png
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/right-arrow.png b/products/stratos-controller/modules/distribution/lib/home/js/orbit/right-arrow.png
new file mode 100755
index 0000000..2c9baab
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/right-arrow.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/rotator-black.png
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/rotator-black.png b/products/stratos-controller/modules/distribution/lib/home/js/orbit/rotator-black.png
new file mode 100755
index 0000000..a0d24a7
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/rotator-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/js/orbit/timer-black.png
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/js/orbit/timer-black.png b/products/stratos-controller/modules/distribution/lib/home/js/orbit/timer-black.png
new file mode 100755
index 0000000..e4e77b5
Binary files /dev/null and b/products/stratos-controller/modules/distribution/lib/home/js/orbit/timer-black.png differ

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/lib/home/style.css
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/lib/home/style.css b/products/stratos-controller/modules/distribution/lib/home/style.css
new file mode 100755
index 0000000..587c997
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/lib/home/style.css
@@ -0,0 +1,160 @@
+body { font-family: "Calibri","Lucida Grande","Lucida Sans","Microsoft Sans Serif","Lucida Sans Unicode","Verdana","Sans-serif","trebuchet ms"; font-size: .85em; line-height: 135%; color: #434343; margin: 0px; padding: 0px; background-color: #94C8EC;}
+
+p { }
+
+td { }
+
+a:link { text-decoration: none; }
+
+a:visited { text-decoration: none; }
+
+a:hover { text-decoration: none; }
+
+a:active { text-decoration: none; }
+
+a img { border: 0px; }
+div.clear { clear: both; }
+
+div#main-content { width: 960px; margin: auto; background-image: url(images/top.gif); background-repeat: no-repeat; background-position: left 15px; }
+
+div#header { height: 140px; }
+div.top-nav {
+	float: right;
+}
+div.top-nav ul {
+	list-style: none;
+	margin: 0px;
+	padding: 0px;
+}
+div.top-nav ul li {
+	position: relative;
+	float: left;
+	padding-left: 10px;
+	padding-right: 10px;
+	padding-top: 10px;
+	padding-bottom: 0px;
+	border-right: solid 1px #005577;
+}
+div.top-nav ul li.right {
+	border-right: 0px;
+}
+div.top-nav ul li a {
+	color: #005577;
+	font-weight: bold;
+	font-size: 16px;
+}
+div.top-nav ul li a:hover {
+	color: #ffffff;
+}
+div.logo { float: left; margin-top: 25px; }
+div#content { background-color: #ffffff; background-image: url(images/content-bg.gif); background-repeat: repeat-y; background-position: left top; }
+div#left {
+	float: left;
+	width: 400px;
+	background-image: url(images/left-bg.gif);
+	background-position: right top;
+	background-repeat: no-repeat;
+}
+div#left div.stratos-products div.title {
+	margin-left: 30px;
+	margin-top: 5px;
+	font-size: 24px;
+	font-weight: normal;
+	line-height: 32px;
+}
+div#left div.stratos-products div.products {
+	margin-left: 30px;
+	margin-top: 25px;
+	padding-bottom: 40px;
+}
+div#left div.stratos-products div.products a {
+	display: block;
+	height: 24px;
+	margin-bottom: 7px;
+	background-image: url(images/stratos-products.gif);
+	background-repeat: no-repeat;
+	background-position: left top;
+}
+div#left div.stratos-products div.products a {
+	background: url(images/stratos-products-new.jpg) no-repeat top left;
+}
+div#left div.stratos-products div.products a.as-new{ background-position: 0 0; width: 170px; height: 24px; } 
+div#left div.stratos-products div.products a.bam-new{ background-position: 0 -74px; width: 204px; height: 23px; } 
+div#left div.stratos-products div.products a.bps-new{ background-position: 0 -147px; width: 198px; height: 23px; } 
+div#left div.stratos-products div.products a.brs-new{ background-position: 0 -220px; width: 183px; height: 23px; } 
+div#left div.stratos-products div.products a.cep-new{ background-position: 0 -293px; width: 231px; height: 22px; } 
+div#left div.stratos-products div.products a.cg-new{ background-position: 0 -365px; width: 148px; height: 24px; } 
+div#left div.stratos-products div.products a.dss-new{ background-position: 0 -439px; width: 181px; height: 24px; } 
+div#left div.stratos-products div.products a.esb-new{ background-position: 0 -513px; width: 192px; height: 24px; }
+div#left div.stratos-products div.products a.greg-new{ background-position: 0 -587px; width: 180px; height: 23px; } 
+div#left div.stratos-products div.products a.is-new{ background-position: 0 -660px; width: 147px; height: 23px; } 
+div#left div.stratos-products div.products a.mb-new{ background-position: 0 -733px; width: 157px; height: 23px; } 
+div#left div.stratos-products div.products a.ss-new{ background-position: 0 -806px; width: 142px; height: 23px; } 
+div#left div.stratos-products div.products a.ts-new{ background-position: 0 -879px; width: 130px; height: 23px; } 
+div#left div.stratos-products div.products a:hover { opacity:0.7;filter:alpha(opacity=70) }
+div#right {
+	float: left;
+	width: 560px;
+}
+
+div#right div.register { width: 555px; margin-top: 15px; margin-right: 0px; padding-bottom: 10px; text-align: center;
+background-image: url(images/intro-bg.gif);background-position: center bottom; background-repeat: no-repeat;
+}
+div#right div.register a { display: block; height: 62px; margin-bottom: 10px; }
+div#right div.register a img { margin-bottom: 7px; }
+div#right div.register a:hover img { opacity:0.7;filter:alpha(opacity=70) }
+
+div#right div.banner{
+	width: 500px;
+	margin: auto;
+	height: 297px;
+	margin-top: 30px;
+}
+div#right div.banner div#featured {
+	width: 500px;
+	height: 297px;
+}
+div#right div.banner div#featured div.screencast {
+	width: 500px;
+	height: 297px;
+	text-align: center;
+}
+div#right div.banner div#featured div.screencast h2 {
+	font-size: 16px;
+	margin-top: 0px;
+	margin-bottom: 0px;
+	padding-bottom: 8px;
+	padding-top: 8px;
+	line-height: 16px;
+	background-color: #000000;
+	color: #ffffff;
+	margin-left: 30px;
+	margin-right: 30px;
+}
+div#right div.banner div#featured div.whitepaper, div#right div.banner div#featured div.webinar {
+	width: 500px;
+	height: 297px;
+	text-align: center;
+	margin-top: 23px;
+}
+div#bottom { 
+	background-image: url(images/feature-middle-bg.gif);
+	background-position: center top;
+	background-repeat: no-repeat; 
+	}
+div#bottom div.feature {
+	float: left; 
+	width: 240px;
+	padding-left: 40px;
+	padding-right: 40px;
+	font-size: 20px;
+	line-height: 25px;
+	font-weight: bold;
+	text-align: center;
+	padding-bottom: 20px;
+}
+div#footer { height: 80px; background-image: url(images/bottom.gif); background-position: left top; background-repeat: no-repeat; padding-top: 25px;}
+div#footer div.powered { color: #333333; float: right; font-size: 85%; margin-right: 10px; }
+div#footer div.powered span { float: left; line-height: 23px; margin-right: 5px; }
+div.footer-links { padding-bottom: 5px; padding-left: 10px; border-bottom: solid 1px #4E84C4; margin-bottom: 10px; color: #4E84C4; }
+div#footer span.copyright { font-size: 90%; padding-left: 10px; }

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/pom.xml b/products/stratos-controller/modules/distribution/pom.xml
new file mode 100755
index 0000000..dcbe288
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/pom.xml
@@ -0,0 +1,770 @@
+<!--
+  ~ 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">
+
+    <parent>
+        <groupId>org.apache.stratos</groupId>
+        <artifactId>stratos-controller-parent</artifactId>
+        <version>3.0.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>apache-stratos-sc</artifactId>
+    <packaging>jar</packaging>
+    <name>Apache Stratos - Distribution</name>
+    <description>Apache Stratos - Distribution</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart</artifactId>
+            <version>${rampart.mar.version}</version>
+            <type>mar</type>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+            <version>0.13.wso2v6</version>
+            <type>jar</type>
+        </dependency>
+        <!--dependency>
+                <groupId>org.wso2.carbon</groupId>
+                <artifactId>features-dashboard</artifactId>
+                <version>${features-dashboard.war.version}</version>
+                <type>war</type>
+            </dependency-->
+        <!--dependency>
+            <groupId>com.h2database.wso2</groupId>
+            <artifactId>h2-database-engine</artifactId>
+            <version>${orbit.version.h2.engine}</version>
+        </dependency-->
+        <!-- Carbon core distribution -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>wso2carbon-core</artifactId>
+            <version>${carbon.kernel.version}</version>
+            <type>zip</type>
+        </dependency>
+
+        <!-- Synapse dependencies -->
+        <!--dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-commons</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-nhttp-transport</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-pipe-transport</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-core</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-tasks</artifactId>
+            <version>${synapse.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.synapse</groupId>
+            <artifactId>synapse-extensions</artifactId>
+            <version>${synapse.version}</version>
+        </dependency-->
+
+        <!-- Carbon mediation initializer -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.initializer</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.bridge</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.dependency.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+
+        <!-- ### Required Carbon components ### -->
+        <!-- Transport managament components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Transport components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.http</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.nhttp</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.https</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.transport.mail</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Sequence management components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.service</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences.common</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.sequences</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.router.impl</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.clazz.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.command.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!--Entitlement mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.entitlement.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!--OAuth mediator dependency -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.identity.oauth.mediator</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!--Drools dependency-->
+        <dependency>
+            <groupId>org.drools.wso2</groupId>
+            <artifactId>drools</artifactId>
+            <version>5.0.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsr94.wso2</groupId>
+            <artifactId>jsr94</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.mvel.wso2</groupId>
+            <artifactId>mvel2</artifactId>
+            <version>2.0.10.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>joda-time.wso2</groupId>
+            <artifactId>joda-time</artifactId>
+            <version>1.6.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.antlr.wso2</groupId>
+            <artifactId>antlr-runtime</artifactId>
+            <version>3.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>janino.wso2</groupId>
+            <artifactId>janino</artifactId>
+            <version>2.5.15.wso2v1</version>
+        </dependency>
+        <!-- Endpoints component -->
+        <!--dependency>
+          <groupId>org.wso2.carbon</groupId>
+          <artifactId>org.wso2.carbon.endpoint.common</artifactId>
+          <version>${carbon.version}</version>
+      </dependency-->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.endpoint</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Local Entries component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.localentry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Service management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.service.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Operation management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.operation.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Module Management component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.module.mgt</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Security components (orbit) -->
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-policy</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-trust</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.rampart.wso2</groupId>
+            <artifactId>rampart-core</artifactId>
+            <version>1.6.1.wso2v1</version>
+        </dependency>
+
+        <!-- Policy Editor component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.policyeditor</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Task component with startups -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.startup</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.task.services</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Config admin component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.configadmin</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Synapse Registry component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediation.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Datasources component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.datasource</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Throttle component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.throttle</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- Caching component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.caching</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- RM component -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.rm</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <!-- Menus -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.ui.menu.registry</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <!-- ### Required Carbon orbit dependencies ### -->
+        <dependency>
+            <groupId>org.apache.geronimo.specs.wso2</groupId>
+            <artifactId>geronimo-jms_1.1_spec</artifactId>
+            <version>1.1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-net.wso2</groupId>
+            <artifactId>commons-net</artifactId>
+            <version>2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>jsch.wso2</groupId>
+            <artifactId>jsch</artifactId>
+            <version>0.1.41-wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents.wso2</groupId>
+            <artifactId>httpcore-nio</artifactId>
+            <version>4.1.0.wso2v2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.quartz-scheduler.wso2</groupId>
+            <artifactId>quartz</artifactId>
+            <version>2.1.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.codehaus.woodstox</groupId>
+            <artifactId>wstx-asl</artifactId>
+            <version>3.2.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-stax-api_1.0_spec</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>net.sf.saxon.wso2</groupId>
+            <artifactId>saxon</artifactId>
+            <version>8.9.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.abdera.wso2</groupId>
+            <artifactId>abdera</artifactId>
+            <version>1.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.ws.wso2</groupId>
+            <artifactId>spring.framework</artifactId>
+            <version>2.5.1.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-io.wso2</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>2.0.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>commons-collections.wso2</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>3.2.0.wso2v1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.savan.wso2</groupId>
+            <artifactId>savan-core</artifactId>
+            <version>1.0.0-wso2v2</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.caching</groupId>
+            <artifactId>wso2caching-core</artifactId>
+            <version>3.5.0</version>
+        </dependency>
+        <!--Bouncycastle dependency for clients and servers-->
+        <dependency>
+            <groupId>bouncycastle</groupId>
+            <artifactId>bcprov-jdk15</artifactId>
+            <version>132</version>
+        </dependency>
+
+        <!-- autoscale components -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.mediator.autoscale</artifactId>
+            <version>4.0.3</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.discovery.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.relay</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>maven-buildnumber-plugin</artifactId>
+                <version>0.9.4</version>
+                <configuration>
+                    <format>{0,date,dd MMM yyyy}</format>
+                    <items>
+                        <item>timestamp</item>
+                    </items>
+                    <doCheck>false</doCheck>
+                    <doUpdate>false</doUpdate>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>validate</phase>
+                        <goals>
+                            <goal>create</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>2-unpack-wso2carbon</id>
+                        <phase>package</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>
+                                <artifactItem>
+                                    <groupId>com.acme.shoppingcart.global</groupId>
+                                    <artifactId>shopping-cart-global</artifactId>
+                                    <version>${shoppingcart.global.version}</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>1-run-ant</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <path id="h2.classpath">
+                                    <path refid="maven.compile.classpath"/>
+                                </path>
+                                <echo
+                                        message="########### Create Billing Database ##############"/>
+                                <sql
+                                        driver="org.h2.Driver"
+                                        url="jdbc:h2:${basedir}/target/database/WSO2BILLING_DB"
+                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
+                                        onerror="continue">
+                                    <classpath>
+                                        <path refid="h2.classpath"/>
+                                    </classpath>
+                                    <fileset file="../../billing-script/billing-h2.sql"/>
+                                    <fileset file="../../billing-script/metering_h2.sql"/>
+                                </sql>
+                                <echo
+                                        message="##################### END ########################"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+
+                    <execution>
+                        <id>1-run-ant2</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <path id="h2.classpath">
+                                    <path refid="maven.compile.classpath"/>
+                                </path>
+                                <echo
+                                        message="########### Create S2 Foundation Schema Database ##############"/>
+                                <sql
+                                        driver="org.h2.Driver"
+                                        url="jdbc:h2:${basedir}/target/database/WSO2S2_DB"
+                                        userid="wso2carbon" password="wso2carbon" autocommit="true"
+                                        onerror="continue">
+                                    <classpath>
+                                        <path refid="h2.classpath"/>
+                                    </classpath>
+                                    <fileset file="../../billing-script/s2_h2.sql"/>
+                                </sql>
+                                <echo
+                                        message="##################### END ########################"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>3-extract-docs-from-components</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <property name="tempdir" value="target/docs-temp"/>
+                                <mkdir dir="${tempdir}"/>
+                                <unzip dest="${tempdir}">
+                                    <fileset dir="target">
+                                        <include name="${project.artifactId}-${project.version}.zip"/>
+                                    </fileset>
+                                </unzip>
+                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components"
+                                      overwrite="true">
+                                    <fileset
+                                            dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
+                                    </fileset>
+                                </copy>
+                                <copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/conf"
+                                      overwrite="true">
+                                    <fileset dir="../../conf">
+                                        <include name="user-mgt.xml"/>
+                                    </fileset>
+                                </copy>
+                                <delete file="target/${project.artifactId}-${project.version}.zip"/>
+                                <delete dir="${tempdir}"/>
+                                <mkdir dir="${tempdir}"/>
+                                <unzip dest="${tempdir}">
+                                    <fileset
+                                            dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins/">
+                                        <include name="*.ui*.jar"/>
+                                    </fileset>
+                                </unzip>
+                                <move todir="${tempdir}/web/" includeemptydirs="false">
+                                    <fileset dir="${tempdir}/web/">
+                                        <exclude name="**/yui/**"/>
+                                        <exclude name="**/ajax/**"/>
+                                        <exclude name="**/WEB-INF/**"/>
+                                        <include name="**/*.html"/>
+                                    </fileset>
+                                    <mapper type="glob" from="*.html" to="*.xml"/>
+                                </move>
+                                <mkdir dir="src/site/xdoc"/>
+                                <copy todir="src/site/xdoc" overwrite="false" includeemptydirs="false">
+                                    <fileset dir="${tempdir}/web">
+                                        <exclude name="**/yui/**"/>
+                                        <exclude name="**/ajax/**"/>
+                                        <exclude name="**/WEB-INF/**"/>
+                                        <exclude name="**/*.html"/>
+                                        <exclude name="**/*.js"/>
+                                        <exclude name="**/*.jsp"/>
+                                        <exclude name="**/*.xsl"/>
+                                        <exclude name="*.*"/>
+                                    </fileset>
+                                </copy>
+                                <copy todir="target/site/" overwrite="false" includeemptydirs="false">
+                                    <fileset dir="src/site/xdoc/">
+                                        <include name="**/images/**/*.*"/>
+                                    </fileset>
+                                </copy>
+                                <delete dir="${tempdir}"/>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>clean_target</id>
+                        <phase>install</phase>
+                        <configuration>
+                            <tasks>
+                                <delete dir="target/archive-tmp"/>
+                                <delete dir="target/dependency-maven-plugin-markers"/>
+                                <delete dir="target/maven-archiver"/>
+                                <delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
+                                <delete dir="target/shopping-cart-global-${shoppingcart.global.version}"/>
+                                <delete file="target/${project.artifactId}-${project.version}.jar"/>
+                                <delete dir="target/sources"/>
+                                <delete dir="target/site"/>
+                                <delete dir="target/database"/>
+				<delete dir="src/site"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-site-plugin</artifactId>
+                <version>3.0</version>
+                <executions>
+                    <execution>
+                        <phase>5-package</phase>
+                        <goals>
+                            <goal>site</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    <profiles>
+        <profile>
+            <id>default</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>1-pre_dist</id>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>4-dist</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
+                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
+                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
+            <id>fix_configuration</id>
+            <activation>
+                <property>
+                    <name>build</name>
+                    <value>box</value>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-assembly-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>1-pre_dist</id>
+                                <phase>test</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/dist.xml</descriptor>
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                            <execution>
+                                <id>4-dist</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>attached</goal>
+                                </goals>
+                                <configuration>
+                                    <filters>
+                                        <filter>${basedir}/src/assembly/filter.properties</filter>
+                                    </filters>
+                                    <descriptors>
+                                        <descriptor>${basedir}/src/assembly/bin.xml</descriptor>
+                                        <!--<descriptor>${basedir}/src/assembly/src.xml</descriptor>-->
+                                        <!--<descriptor>${basedir}/src/assembly/docs.xml</descriptor>-->
+                                    </descriptors>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/qpid-resources/etc/config.xml
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/qpid-resources/etc/config.xml b/products/stratos-controller/modules/distribution/qpid-resources/etc/config.xml
new file mode 100755
index 0000000..a54dd98
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/qpid-resources/etc/config.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~ 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.
+  -->
+<broker>
+    <prefix>${QPID_HOME}</prefix>
+    <work>${QPID_WORK}</work>
+    <conf>${prefix}/etc</conf>
+
+    <plugin-directory>${QPID_HOME}/lib/plugins</plugin-directory>
+    <cache-directory>${QPID_WORK}/cache</cache-directory>
+    
+    <connector>
+        <!-- To enable SSL edit the keystorePath and keystorePassword
+	     and set enabled to true. 
+             To disasble Non-SSL port set sslOnly to true -->
+        <ssl>
+            <enabled>false</enabled>
+            <sslOnly>false</sslOnly>
+            <keystorePath>/path/to/keystore.ks</keystorePath>
+            <keystorePassword>keystorepass</keystorePassword>
+        </ssl>
+        <qpidnio>false</qpidnio>
+        <protectio>
+            <enabled>false</enabled>
+            <readBufferLimitSize>262144</readBufferLimitSize>
+            <writeBufferLimitSize>262144</writeBufferLimitSize>	    
+        </protectio>
+        <transport>nio</transport>
+        <port>5672</port>
+        <sslport>8672</sslport>
+        <socketReceiveBuffer>32768</socketReceiveBuffer>
+        <socketSendBuffer>32768</socketSendBuffer>
+    </connector>
+    <management>
+        <enabled>true</enabled>
+        <jmxport>8999</jmxport>
+        <ssl>
+            <enabled>false</enabled>
+            <!-- Update below path to your keystore location, or run the bin/create-example-ssl-stores(.sh|.bat)
+                 script from within the etc/ folder to generate an example store with self-signed cert -->
+            <keyStorePath>${conf}/qpid.keystore</keyStorePath>
+            <keyStorePassword>password</keyStorePassword>
+        </ssl>
+    </management>
+    <advanced>
+        <filterchain enableExecutorPool="true"/>
+        <enablePooledAllocator>false</enablePooledAllocator>
+        <enableDirectBuffers>false</enableDirectBuffers>
+        <framesize>65535</framesize>
+        <compressBufferOnQueue>false</compressBufferOnQueue>
+        <enableJMSXUserID>false</enableJMSXUserID>
+        <locale>en_US</locale>	
+    </advanced>
+
+    <security>
+        <principal-databases>
+            <principal-database>
+                <name>carbon-user-store</name>
+                <class>org.wso2.carbon.qpid.authentication.qpid.CarbonBasedPrincipalDatabase</class>
+            </principal-database>
+        </principal-databases>
+
+        <msg-auth>false</msg-auth>
+        
+        <jmx>
+            <access>${conf}/jmxremote.access</access>
+            <principal-database>carbon-user-store</principal-database>
+        </jmx>
+    </security>
+
+    <virtualhosts>${conf}/virtualhosts.xml</virtualhosts>
+    
+    <heartbeat>
+        <delay>0</delay>
+        <timeoutFactor>2.0</timeoutFactor>
+    </heartbeat>
+    <queue>
+        <auto_register>true</auto_register>
+    </queue>
+
+    <status-updates>ON</status-updates>
+
+</broker>
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/qpid-resources/etc/jmxremote.access
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/qpid-resources/etc/jmxremote.access b/products/stratos-controller/modules/distribution/qpid-resources/etc/jmxremote.access
new file mode 100755
index 0000000..f496e92
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/qpid-resources/etc/jmxremote.access
@@ -0,0 +1,23 @@
+#
+# 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.
+
+#Generated by JMX Console : Last edited by user:admin
+#Tue Jun 12 16:46:39 BST 2007
+#admin=admin
+#guest=readonly
+#user=readwrite

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/qpid-resources/etc/virtualhosts.xml b/products/stratos-controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
new file mode 100755
index 0000000..f55e8c8
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/qpid-resources/etc/virtualhosts.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  ~ 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.
+  -->
+<virtualhosts>
+    <default>carbon</default>
+    <virtualhost>
+        <name>carbon</name>
+        <carbon>
+            <store>
+                <!--class>org.apache.qpid.server.store.MemoryMessageStore</class-->
+		<class>org.apache.qpid.server.store.DerbyMessageStore</class>
+		<environment-path>repository/database/qpid/derbystore</environment-path>
+            </store>
+
+            <housekeeping>
+                <threadCount>2</threadCount>
+                <expiredMessageCheckPeriod>20000</expiredMessageCheckPeriod>
+            </housekeeping>
+
+            <exchanges>
+                <exchange>
+                    <type>direct</type>
+                    <name>carbon.direct</name>
+                    <durable>true</durable>
+                </exchange>
+                <exchange>
+                    <type>topic</type>
+                    <name>carbon.topic</name>
+                </exchange>
+            </exchanges>
+            
+	    <queues>
+                <maximumQueueDepth>4235264</maximumQueueDepth>
+                <!-- 4Mb -->
+                <maximumMessageSize>2117632</maximumMessageSize>
+                <!-- 2Mb -->
+                <maximumMessageAge>600000</maximumMessageAge>
+                <!-- 10 mins -->
+                <maximumMessageCount>50</maximumMessageCount>
+                <!-- 50 messages -->
+            </queues>
+        </carbon>
+    </virtualhost>
+</virtualhosts>
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/qpid-resources/qpid.xml
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/qpid-resources/qpid.xml b/products/stratos-controller/modules/distribution/qpid-resources/qpid.xml
new file mode 100755
index 0000000..086fb08
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/qpid-resources/qpid.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+  ~ 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.
+  -->
+<Qpid>
+    <!-- Start Qpid broker when Carbon starts up -->
+    <AutoStart>true</AutoStart>
+    <RegistryRoot>event</RegistryRoot>
+</Qpid>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ffe2e466/products/stratos-controller/modules/distribution/release-notes.html
----------------------------------------------------------------------
diff --git a/products/stratos-controller/modules/distribution/release-notes.html b/products/stratos-controller/modules/distribution/release-notes.html
new file mode 100755
index 0000000..76a379d
--- /dev/null
+++ b/products/stratos-controller/modules/distribution/release-notes.html
@@ -0,0 +1,134 @@
+<!--
+  ~ 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.
+  -->
+<html>
+<head>
+    <meta http-equiv="content-type" content=""/>
+    <title>Apache Stratos Manager 3.0.0-SNAPSHOT Release Notes</title>
+    <link href="./tools/cmd/css/appserver-dist-doc.css" rel="stylesheet"
+          type="text/css" media="all"/>
+</head>
+
+<body>
+<h1>Apache Stratos Manager 3.0.0-SNAPSHOT Release Notes</h1>
+
+<h3>${buildNumber}</h3>
+
+<p> Apache Stratos is a complete cloud middleware platform for implementing an enterprise service-oriented
+architecture (SOA). Apache Stratos is open source and is available under Apache license. It is built on
+top of and extends <a target="_blank" href="http://wso2.com/products/carbon/">WSO2 Carbon</a>, 
+the award-winning, comprehensive, concise, lean enterprise middleware platform.</p>
+
+<p>With Apache Stratos, IT professionals have a fully hosted platform-as-a-service (PaaS) for rapidly
+building and deploying services and composite applications, with instant provisioning capability.
+Apache Stratos delivers on the promise of cloud computing with a complete, enterprise middleware
+platform for delivering applications that can run on, and integrate with, any combination of private
+clouds, public clouds and on-premise systems. Apache Stratos is equipped with features for auto-scaling
+and single sign-on, as well as enhanced functionality for automatic activity monitoring, usage metering,
+and centralized governance and identity management.</p>
+
+
+<p>An open source product, Apache Stratos is available under the <a target="_blank" href="http://www.apache.org/licenses/LICENSE-2.0.html">
+        Apache Software License (v2.0)
+    </a>
+   . This includes all of the extra integration and management
+   functionality as well.
+</p>
+
+<h2>New Features In This Release</h2> <ul>
+    <li>Service Aware Dynamic Load Balancing - Improved load balancing and auto-scaling</li>
+    <li>Registry Database performance improvements through storage optimization</li>
+    <li>Subversion backed deployment artifacts storage</li>
+    <li>Local transport improvements</li>
+	<li>Tenant aware logging</li>
+	<li>Ability to facilitate billing upon tenant registration</li>
+	<li>Migrated usage metering to WSO2 BAM2</li>
+    <li>Ghost deployer improvements</li>
+	<li>Stratos Manager can now act as a Single Sign On (SSO) provider</li>
+</ul>
+
+<h2>Key Features</h2>
+
+<ul>
+    <li>Auto-scaling capabilities.
+        Apache Stratos automatically adjusts the use of cloud resources to meet increased or decreased demand.</li>
+    <li>Single sign-on functionality.
+        Users only need to sign on once to access all Apache Stratos services that they are authorized to use.</li>
+    <li>Enhanced automatic activity monitoring.
+        Activity monitoring is available in real time, so there is no time gap between data collection and
+        the availability of data for monitoring.</li>
+    <li>Enhanced usage metering.
+        Metering is automated so that every operation by tenant users will be monitored and recorded.
+        The metering information can be used for billing and for offering constrained access for certain services.
+    </li>
+    <li>Enhanced centralized governance and identity management.
+        All the resources of all Stratos services can be monitored and governed from a single point - from WSO2
+        Stratos governance. When a modification, such as changing a security policy, or changing the keystore,
+        is done from a single place, it is immediately visible to all other services. In addition to that,
+        all services share a single user store. When a user is added from a service, that new user can immediately
+        access all other services available for the tenant.</li>
+	<li>Tenant aware logging.
+		Tenants can view their logs in order to monitor the status of the deployed services
+		of and applications. It is also helpful for debugging purposes.</li>
+    <li>Data-as-a-Service
+        Data-as-a-service offers storage for tenant's application data. In this release of Stratos, we offer two
+        built-in storage options. WSO2 RSS (Relational Storage Service) & CSS (Cassandra Storage Service).
+        RSS allows creating tenant specific MySQL databases instances and CSS allows creating column family
+        based storage. In addition, one can use other RDBMS engines to store data as well.</li>
+</ul>
+
+<h2>Reporting Problems</h2>
+<br/>
+Issues can be reported using the public JIRA available at
+<a href="https://wso2.org/jira/browse/STRATOS" target="_blank">
+    https://wso2.org/jira/browse/STRATOS</a>
+
+<h2>Contact us</h2>
+Apache Stratos team can be contacted via the mailing list:
+<br/>
+<strong>For Stratos Cloud Middleware Platform:</strong>
+<a href="mailto:dev@stratos.incubator.apache.org">Apache Developer Mailing List</a>
+<br/>
+
+<br/>
+<strong>Forum</strong>
+WSO2 participates in community support for the products using the excellent Q&A site 
+<a href="http://stackoverflow.com/questions/tagged/wso2" target="_blank">stackoverflow.com</a> with tags "WSO2", "Stratos" etc.
+<br/>
+
+<h2>Support</h2>
+
+<p>
+As a fully open source solution Apache Stratos does not require any licensing fees.
+
+WSO2 offers a range of service and support options, including evaluation support, CloudStart(SM)
+consulting program, development support, and production support.    <br/>
+    <br/>
+
+    For additional support information please refer to
+    <a target="_blank"
+       href="http://wso2.com/support/">http://wso2.com/support/</a>
+</p>
+<p>Thank you for your interest in WSO2 Stratos</p>
+<strong>
+    <em>-The WSO2 Stratos Team</em>
+</strong>
+<hr/>
+
+</body>
+</html>