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/21 06:15:30 UTC

[1/5] refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Updated Branches:
  refs/heads/master 750de3375 -> a177ebeef


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/assembly/bin.xml b/products/stratos_agent/modules/distribution/src/main/assembly/bin.xml
new file mode 100755
index 0000000..41a9f5b
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/assembly/bin.xml
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ -->
+<assembly>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>target/wso2carbon-core-${carbon.version}</directory>
+            <outputDirectory>stratos-s2-agent-${pom.version}</outputDirectory>
+            <excludes>
+                <exclude>**/*.sh</exclude>
+                <exclude>**/native/*</exclude>
+                <exclude>**/services/sample01.aar</exclude>
+                <exclude>**/repository/services/version/**</exclude>
+                <exclude>**/version.txt</exclude>
+                <exclude>**/stratos.bat</exclude>
+                <exclude>**/README.txt</exclude>
+                <exclude>**/LICENSE.txt</exclude>
+                <exclude>**/INSTALL.txt</exclude>
+                <exclude>**/release-notes.html</exclude>
+                <exclude>**/carbon.xml</exclude>
+                <exclude>**/wsdl2java.*</exclude>
+                <exclude>**/java2wsdl.*</exclude>
+                <exclude>**/java2wsdl.*</exclude>
+                <exclude>**/tcpmon.*</exclude>
+                <exclude>**/build.xml</exclude>
+                <exclude>**/repository/components/plugins/*.ui*</exclude>
+		<exclude>**/log4j.properties</exclude>
+		<!--exclude>**/samples/*</exclude-->
+            </excludes>
+        </fileSet>
+
+	<!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
+        <fileSet>
+           <directory>../p2-profile/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
+           <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
+           <includes>
+              <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
+           </includes>
+        </fileSet>
+    </fileSets>
+
+    <dependencySets>
+        <!-- use the new tool to create a bundles -->
+        <dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
+            <includes>
+                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
+            </includes>
+        </dependencySet>
+        <!--dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/samples/axis2Client/client_repo/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/samples/axis2Server/repository/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.axis2:addressing:mar</include>
+                <include>org.apache.rampart:rampart:mar</include>
+                <include>org.apache.sandesha2:sandesha2:mar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet-->
+        <dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/axis2/client/lib</outputDirectory>
+            <includes>
+                <include>bouncycastle:bcprov-jdk15:jar</include>
+            </includes>
+            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
+            </outputFileNameMapping>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/deployment/client/modules
+            </outputDirectory>
+            <includes>
+                <include>org.apache.rampart:rampart:mar</include>
+            </includes>
+        </dependencySet>
+        <!-- MB Client libs -->
+        <dependencySet>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/components/dropins</outputDirectory>
+            <includes>
+                <include>org.wso2.andes.wso2:andes-client:jar</include>
+                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
+                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
+                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
+            </includes>
+        </dependencySet>
+    </dependencySets>
+
+    <files>
+        <file>
+            <source>src/main/bin/stratos.sh</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/bin</outputDirectory>
+            <destName>stratos.sh</destName>
+            <fileMode>755</fileMode>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/main/bin/stratos.bat</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/bin</outputDirectory>
+            <destName>stratos.bat</destName>
+            <fileMode>755</fileMode>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>src/conf/log4j.properties</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/conf</outputDirectory>
+            <destName>log4j.properties</destName>
+            <filtered>true</filtered>
+        </file>
+
+                                                                
+        <file>
+            <source>../../LICENSE.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../INSTALL.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>../../docs/xdoc/release-notes.xml</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}</outputDirectory>
+            <destName>release-notes.html</destName>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>target/wso2carbon-core-${carbon.version}/bin/version.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/bin/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>644</fileMode>
+        </file>
+        <file>
+            <source>
+                target/wso2carbon-core-${carbon.version}/repository/conf/carbon.xml
+            </source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/conf/</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+	<file>
+            <source>../p2-profile/target/wso2carbon-core-${carbon.version}/repository/conf/agent.properties</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/conf</outputDirectory>
+        </file>
+    </files>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/assembly/dist.xml b/products/stratos_agent/modules/distribution/src/main/assembly/dist.xml
new file mode 100644
index 0000000..6e19c6a
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/assembly/dist.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ -->
+<assembly>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <!-- Copying p2 profile and osgi bundles-->
+        <fileSet>
+            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
+            <outputDirectory>stratos-s2-agent-${pom.version}/repository/components</outputDirectory>
+            <excludes>
+                <exclude>**/eclipse.ini</exclude>
+                <exclude>**/*.lock</exclude>
+                <exclude>**/.data</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/synapse-samples*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/assembly/docs.xml b/products/stratos_agent/modules/distribution/src/main/assembly/docs.xml
new file mode 100644
index 0000000..762d7d8
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/assembly/docs.xml
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ -->
+<assembly>
+    <id>docs</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>target/site</directory>
+            <outputDirectory>stratos-s2-agent-${pom.version}-docs</outputDirectory>
+            <fileMode>755</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/assembly/filter.properties b/products/stratos_agent/modules/distribution/src/main/assembly/filter.properties
new file mode 100644
index 0000000..b031036
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/assembly/filter.properties
@@ -0,0 +1,8 @@
+product.name=WSO2 Stratos Agent
+product.key=Agent
+product.version=1.0.0
+
+carbon.version=4.1.1
+lb.version=1.0.0
+default.server.role=ElasticLoadBalancer
+bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/assembly/src.xml b/products/stratos_agent/modules/distribution/src/main/assembly/src.xml
new file mode 100644
index 0000000..0b5a827
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/assembly/src.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ -->
+<assembly>
+    <id>src</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>target/sources</directory>
+            <outputDirectory>stratos-s2-agent-${pom.version}-src</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../..</directory>
+            <outputDirectory>stratos-s2-agent-${pom.version}-src</outputDirectory>
+            <includes>
+                <include>modules/**/*</include>
+                <include>**/pom.xml</include>
+            </includes>
+            <excludes>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**/*</exclude>
+                <exclude>**/build</exclude>
+                <exclude>**/build/**/*</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.classpath</exclude>
+                <exclude>**/.project</exclude>
+                <exclude>**/.wtpmodules</exclude>
+                <exclude>**/*.iml</exclude>
+                <exclude>**/.settings</exclude>
+                <exclude>**/.settings/**/*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>../../LICENSE.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>../../INSTALL.txt</source>
+            <outputDirectory>stratos-s2-agent-${pom.version}-src</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+    </files>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/bin/stratos.bat
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/bin/stratos.bat b/products/stratos_agent/modules/distribution/src/main/bin/stratos.bat
new file mode 100644
index 0000000..3274bc6
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/bin/stratos.bat
@@ -0,0 +1,170 @@
+@echo off
+
+REM ---------------------------------------------------------------------------
+REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
+REM
+REM  Licensed under the Apache License, Version 2.0 (the "License");
+REM  you may not use this file except in compliance with the License.
+REM  You may obtain a copy of the License at
+REM
+REM      http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM  Unless required by applicable law or agreed to in writing, software
+REM  distributed under the License is distributed on an "AS IS" BASIS,
+REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM  See the License for the specific language governing permissions and
+REM  limitations under the License.
+
+rem ---------------------------------------------------------------------------
+rem Main Script for WSO2 Carbon
+rem
+rem Environment Variable Prequisites
+rem
+rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
+rem                   to figure it out.
+rem
+rem   JAVA_HOME       Must point at your Java Development Kit installation.
+rem
+rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
+rem                   is executed.
+rem ---------------------------------------------------------------------------
+
+rem ----- if JAVA_HOME is not set we're not happy ------------------------------
+:checkJava
+
+if "%JAVA_HOME%" == "" goto noJavaHome
+if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
+goto checkServer
+
+:noJavaHome
+echo "You must set the JAVA_HOME variable before running CARBON."
+goto end
+
+rem ----- Only set CARBON_HOME if not already set ----------------------------
+:checkServer
+rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
+if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
+SET curDrive=%cd:~0,1%
+SET wsasDrive=%CARBON_HOME:~0,1%
+if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
+
+rem find CARBON_HOME if it does not exist due to either an invalid value passed
+rem by the user or the %0 problem on Windows 9x
+if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
+
+set AXIS2_HOME=%CARBON_HOME%
+goto updateClasspath
+
+:noServerHome
+echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
+goto end
+
+rem ----- update classpath -----------------------------------------------------
+:updateClasspath
+
+setlocal EnableDelayedExpansion
+cd %CARBON_HOME%
+set CARBON_CLASSPATH=
+FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
+
+set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
+
+FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
+
+rem ----- Process the input command -------------------------------------------
+
+rem Slurp the command line arguments. This loop allows for an unlimited number
+rem of arguments (up to the command line limit, anyway).
+
+
+:setupArgs
+if ""%1""=="""" goto doneStart
+
+if ""%1""==""-run""     goto commandLifecycle
+if ""%1""==""--run""    goto commandLifecycle
+if ""%1""==""run""      goto commandLifecycle
+
+if ""%1""==""-restart""  goto commandLifecycle
+if ""%1""==""--restart"" goto commandLifecycle
+if ""%1""==""restart""   goto commandLifecycle
+
+if ""%1""==""debug""    goto commandDebug
+if ""%1""==""-debug""   goto commandDebug
+if ""%1""==""--debug""  goto commandDebug
+
+if ""%1""==""version""   goto commandVersion
+if ""%1""==""-version""  goto commandVersion
+if ""%1""==""--version"" goto commandVersion
+
+shift
+goto setupArgs
+
+rem ----- commandVersion -------------------------------------------------------
+:commandVersion
+shift
+type "%CARBON_HOME%\bin\version.txt"
+type "%CARBON_HOME%\bin\wso2carbon-version.txt"
+goto end
+
+rem ----- commandDebug ---------------------------------------------------------
+:commandDebug
+shift
+set DEBUG_PORT=%1
+if "%DEBUG_PORT%"=="" goto noDebugPort
+if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
+set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
+echo Please start the remote debugging client to continue...
+goto findJdk
+
+:noDebugPort
+echo Please specify the debug port after the --debug option
+goto end
+
+
+:doneStart
+if "%OS%"=="Windows_NT" @setlocal
+if "%OS%"=="WINNT" @setlocal
+
+rem ---------- Handle the SSL Issue with proper JDK version --------------------
+rem find the version of the jdk
+:findJdk
+
+set CMD=RUN %*
+
+:checkJdk16
+"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
+IF ERRORLEVEL 1 goto unknownJdk
+goto jdk16
+
+:unknownJdk
+echo Starting WSO2 Carbon (in unsupported JDK)
+echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
+goto jdk16
+
+:jdk16
+goto runServer
+
+rem ----------------- Execute The Requested Command ----------------------------
+
+:runServer
+cd %CARBON_HOME%
+
+rem ---------- Add jars to classpath ----------------
+
+set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
+
+set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
+
+set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
+
+:runJava
+echo JAVA_HOME environment variable is set to %JAVA_HOME%
+echo CARBON_HOME environment variable is set to %CARBON_HOME%
+"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
+if "%ERRORLEVEL%"=="121" goto runJava
+:end
+goto endlocal
+
+:endlocal
+
+:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/main/bin/stratos.sh
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/main/bin/stratos.sh b/products/stratos_agent/modules/distribution/src/main/bin/stratos.sh
new file mode 100644
index 0000000..338b7d4
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/main/bin/stratos.sh
@@ -0,0 +1,299 @@
+#!/bin/sh
+# ----------------------------------------------------------------------------
+#  Copyright WSO2, Inc. http://www.wso2.org
+#
+#  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.
+
+# ----------------------------------------------------------------------------
+# Main Script for the WSO2 Carbon Server
+#
+# Environment Variable Prequisites
+#
+#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
+#                   to figure it out.
+#
+#   JAVA_HOME       Must point at your Java Development Kit installation.
+#
+#   JAVA_OPTS       (Optional) Java runtime options used when the commands
+#                   is executed.
+#
+# NOTE: Borrowed generously from Apache Tomcat startup scripts.
+# -----------------------------------------------------------------------------
+
+# OS specific support.  $var _must_ be set to either true or false.
+
+cygwin=false;
+darwin=false;
+os400=false;
+mingw=false;
+case "`uname`" in
+CYGWIN*) cygwin=true;;
+MINGW*) mingw=true;;
+OS400*) os400=true;;
+Darwin*) darwin=true
+        if [ -z "$JAVA_VERSION" ] ; then
+             JAVA_VERSION="CurrentJDK"
+           else
+             echo "Using Java version: $JAVA_VERSION"
+           fi
+           if [ -z "$JAVA_HOME" ] ; then
+             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
+           fi
+           ;;
+esac
+
+# resolve links - $0 may be a softlink
+PRG="$0"
+
+while [ -h "$PRG" ]; do
+  ls=`ls -ld "$PRG"`
+  link=`expr "$ls" : '.*-> \(.*\)$'`
+  if expr "$link" : '.*/.*' > /dev/null; then
+    PRG="$link"
+  else
+    PRG=`dirname "$PRG"`/"$link"
+  fi
+done
+
+# Get standard environment variables
+PRGDIR=`dirname "$PRG"`
+
+# Only set CARBON_HOME if not already set
+[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
+
+# Set AXIS2_HOME. Needed for One Click JAR Download
+AXIS2_HOME=$CARBON_HOME
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched
+if $cygwin; then
+  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
+fi
+
+# For OS400
+if $os400; then
+  # Set job priority to standard for interactive (interactive - 6) by using
+  # the interactive priority - 6, the helper threads that respond to requests
+  # will be running at the same priority as interactive jobs.
+  COMMAND='chgjob job('$JOBNAME') runpty(6)'
+  system $COMMAND
+
+  # Enable multi threading
+  QIBM_MULTI_THREADED=Y
+  export QIBM_MULTI_THREADED
+fi
+
+# For Migwn, ensure paths are in UNIX format before anything is touched
+if $mingw ; then
+  [ -n "$CARBON_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  [ -n "$JAVA_HOME" ] &&
+    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
+  [ -n "$AXIS2_HOME" ] &&
+    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
+  # TODO classpath?
+fi
+
+if [ -z "$JAVACMD" ] ; then
+  if [ -n "$JAVA_HOME"  ] ; then
+    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+      # IBM's JDK on AIX uses strange locations for the executables
+      JAVACMD="$JAVA_HOME/jre/sh/java"
+    else
+      JAVACMD="$JAVA_HOME/bin/java"
+    fi
+  else
+    JAVACMD=java
+  fi
+fi
+
+if [ ! -x "$JAVACMD" ] ; then
+  echo "Error: JAVA_HOME is not defined correctly."
+  echo " CARBON cannot execute $JAVACMD"
+  exit 1
+fi
+
+# if JAVA_HOME is not set we're not happy
+if [ -z "$JAVA_HOME" ]; then
+  echo "You must set the JAVA_HOME variable before running CARBON."
+  exit 1
+fi
+
+# ----- Process the input command ----------------------------------------------
+for c in $*
+do
+    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
+          CMD="--debug"
+          continue
+    elif [ "$CMD" = "--debug" ]; then
+          if [ -z "$PORT" ]; then
+                PORT=$c
+          fi
+    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
+          CMD="--n"
+          continue
+    elif [ "$CMD" = "--n" ]; then
+          if [ -z "$INSTANCES" ]; then
+                INSTANCES=$c
+          fi
+    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
+          CMD="stop"
+    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
+          CMD="start"
+    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
+          CMD="console"
+    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
+          CMD="version"
+    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
+          CMD="restart"
+    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
+          CMD="dump"
+    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
+          CMD="test"
+    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
+          CMD="status"
+    fi
+done
+
+if [ "$CMD" = "--debug" ]; then
+  if [ "$PORT" = "" ]; then
+    echo " Please specify the debug port after the --debug option"
+    exit 1
+  fi
+  if [ -n "$JAVA_OPTS" ]; then
+    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
+  fi
+  CMD="RUN"
+  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
+  echo "Please start the remote debugging client to continue..."
+elif [ "$CMD" = "--n" ]; then
+  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
+    echo " Please specify the number of instances to start after the --n option"
+    exit 1
+  fi
+elif [ "$CMD" = "start" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  nohup $CARBON_HOME/bin/stratos.sh &
+  exit 0
+elif [ "$CMD" = "stop" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
+  exit 0
+elif [ "$CMD" = "restart" ]; then
+  export CARBON_HOME=$CARBON_HOME
+  kill -term `cat $CARBON_HOME/wso2carbon.pid`
+  process_status=0
+  pid=`cat $CARBON_HOME/wso2carbon.pid`
+  while [ "$process_status" -eq "0" ]
+  do
+    sleep 1;
+    ps -p$pid 2>&1 > /dev/null
+    process_status=$?
+  done
+
+  # using nohup bash to avoid erros in solaris OS.TODO
+  nohup bash $CARBON_HOME/bin/stratos.sh > /dev/null 2>&1 &
+  exit 0
+elif [ "$CMD" = "test" ]; then
+    JAVACMD="exec "$JAVACMD""
+elif [ "$CMD" = "version" ]; then
+  cat $CARBON_HOME/bin/version.txt
+  cat $CARBON_HOME/bin/wso2carbon-version.txt
+  exit 0
+fi
+
+jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
+
+if [ "$jdk_16" = "" ]; then
+   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
+   exit 1
+fi
+
+CARBON_CLASSPATH=""
+if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
+   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
+        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
+   fi
+fi
+
+CARBON_XBOOTCLASSPATH=""
+for f in "$CARBON_HOME"/lib/xboot/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
+        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
+    fi
+done
+
+JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
+
+for f in "$CARBON_HOME"/bin/*.jar
+do
+    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
+        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
+    fi
+done
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin; then
+  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
+  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
+  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
+  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
+  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
+  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
+fi
+
+# ----- Execute The Requested Command -----------------------------------------
+
+echo JAVA_HOME environment variable is set to $JAVA_HOME
+echo CARBON_HOME environment variable is set to $CARBON_HOME
+
+cd "$CARBON_HOME"
+
+exec "$JAVACMD" \
+        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
+        -d64 \
+        -server \
+        -Xms1500m -Xmx3000m \
+        -XX:PermSize=256m -XX:MaxPermSize=512m \
+        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
+        -XX:+CMSClassUnloadingEnabled \
+        -XX:+OptimizeStringConcat \
+        -XX:+HeapDumpOnOutOfMemoryError \
+        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./stratos.sh &" \
+        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
+        -XX:ErrorFile=repository/logs/hs_err_pid.log \
+        -XX:OnError="nohup ./stratos.sh &" \
+        $JAVA_OPTS \
+        -Dcarbon.pid=$$ \
+        -Dcom.sun.management.jmxremote \
+        -Dwso2.loadbalancer=true \
+        -classpath "$CARBON_CLASSPATH" \
+        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
+        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
+        -Dwso2.server.standalone=true \
+        -Dcarbon.registry.root=/ \
+        -Dcarbon.home="$CARBON_HOME" \
+        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
+        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
+        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
+        -Dconf.location="$CARBON_HOME/repository/conf" \
+        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
+        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
+        -Dcom.atomikos.icatch.hide_init_file_path=true \
+        -Dorg.terracotta.quartz.skipUpdateCheck=true \
+        org.wso2.carbon.bootstrap.Bootstrap $*
+
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/p2-profile/pom.xml b/products/stratos_agent/modules/p2-profile/pom.xml
new file mode 100755
index 0000000..c7735e5
--- /dev/null
+++ b/products/stratos_agent/modules/p2-profile/pom.xml
@@ -0,0 +1,178 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <parent>
+        <groupId>org.apache.stratos</groupId>
+        <artifactId>stratos-agent-parent</artifactId>
+        <version>1.0.1</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>wso2agent-p2-profile-gen</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache Stratos - Agent - P2 Profile Generation</name>
+    <url>http://www.wso2.org</url>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>unpack-carbon-core</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.wso2.carbon</groupId>
+                                    <artifactId>wso2carbon-core</artifactId>
+                                    <version>${carbon.kernel.version}</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+		    <execution>
+                        <id>2-unpack-kernel-patch</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.wso2.carbon</groupId>
+                                    <artifactId>WSO2-CARBON-PATCH-4.1.0</artifactId>
+                                    <version>0002</version>
+                                    <type>zip</type>
+                                    <overWrite>true</overWrite>
+                                    <outputDirectory>target</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.wso2.maven</groupId>
+                <artifactId>carbon-p2-plugin</artifactId>
+                <version>${carbon.p2.plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>2-p2-repo-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-repo-gen</goal>
+                        </goals>
+                        <configuration>
+                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
+                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
+                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
+                            <publishArtifacts>true</publishArtifacts>
+                            <publishArtifactRepository>true</publishArtifactRepository>
+                            <featureArtifacts>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature:${stratos2.platform.patch.version}
+                                </featureArtifactDef>
+                                <featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:2.1.3
+                                </featureArtifactDef>
+				<featureArtifactDef>
+                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:4.1.3
+                                </featureArtifactDef>
+				<featureArtifactDef>
+                                    org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4
+                                </featureArtifactDef>
+			     </featureArtifacts>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>3-p2-profile-generation</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>p2-profile-gen</goal>
+                        </goals>
+                        <configuration>
+                            <profile>WSO2CarbonProfile</profile>
+                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
+                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
+                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
+                            <destination>
+                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
+                            </destination>
+                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
+                            <features>
+                                 <feature>
+                                    <id>org.wso2.carbon.cartridge.messages.feature.group</id>
+                                    <version>${stratos2.platform.patch.version}</version>
+                                </feature>
+				<feature>
+                                    <id>org.wso2.carbon.cartridge.agent.server.feature.group</id>
+                                    <version>2.1.3</version>
+                                </feature>
+				<feature>
+                                    <id>org.wso2.carbon.lb.common.feature.group</id>
+                                    <version>4.1.3</version>
+                                </feature>
+				<feature>
+                                    <id>org.apache.synapse.wso2.feature.group</id>
+                                    <version>2.1.1-wso2v4</version>
+                                </feature>
+			     </features>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+	    <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-antrun-plugin</artifactId>
+        <version>1.1</version>
+        <executions>
+            <execution>
+                <phase>package</phase>
+                <configuration>
+                    <tasks>
+                        <replace token="false" value="true"
+                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
+                            <include name="**/bundles.info"/>
+                        </replace>
+                    </tasks>
+                </configuration>
+                <goals>
+                    <goal>run</goal>
+                </goals>
+            </execution>
+        </executions>
+    </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/pom.xml b/products/stratos_agent/pom.xml
new file mode 100755
index 0000000..27bef27
--- /dev/null
+++ b/products/stratos_agent/pom.xml
@@ -0,0 +1,213 @@
+<?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.
+ -->
+<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-products-parent</artifactId>
+        <version>1.0.0</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.apache.stratos</groupId>
+    <artifactId>stratos-agent-parent</artifactId>
+    <packaging>pom</packaging>
+    <version>1.0.1</version>
+    <name>Apache Stratos - Agent - Aggregator Module</name>
+    <url>http://apache.org</url>
+    <description>Apache Stratos Agent (S2agent)</description>
+
+    <licenses>
+        <license>
+            <name>Apache License Version 2.0</name>
+            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+        </license>
+    </licenses>
+
+    <modules>
+        <module>modules/p2-profile</module>
+        <module>modules/distribution</module>
+        <!--<module>modules/integration</module>-->
+    </modules>
+
+    <scm>
+        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
+        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
+        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
+    </scm>
+
+    <repositories>
+        <repository>
+            <id>wso2-nexus</id>
+            <name>WSO2 internal Repository</name>
+            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
+            <releases>
+                <enabled>true</enabled>
+                <updatePolicy>daily</updatePolicy>
+                <checksumPolicy>ignore</checksumPolicy>
+            </releases>
+        </repository>
+        <!--moved to nexus
+
+        <repository>
+            <id>wso2-maven2-repository-snapshot</id>
+            <url>http://dist.wso2.org/snapshots/maven2</url>
+        </repository>
+        <repository>
+            <id>wso2-maven2-repository</id>
+            <url>http://dist.wso2.org/maven2</url>
+        </repository>
+
+        -->
+    </repositories>
+
+    <pluginRepositories>
+        <pluginRepository>
+            <id>wso2-maven2-repository</id>
+            <url>http://dist.wso2.org/maven2</url>
+        </pluginRepository>
+    </pluginRepositories>
+
+    <distributionManagement>
+        <repository>
+            <id>wso2-maven2-repository</id>
+            <name>WSO2 Maven2 Repository</name>
+            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
+        </repository>
+        <snapshotRepository>
+            <id>wso2-maven2-snapshot-repository</id>
+            <name>WSO2 Maven2 Snapshot Repository</name>
+            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
+    <profiles>
+        <profile>
+            <id>signed-build</id>
+            <activation>
+                <property>
+                    <name>sign</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-gpg-plugin</artifactId>
+                        <version>1.0-alpha-3</version>
+                        <executions>
+                            <execution>
+                                <id>sign-artifacts</id>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>sign</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
+
+    <organization>
+        <name>WSO2 Inc</name>
+        <url>http://wso2.com</url>
+    </organization>
+
+    <issueManagement>
+        <system>JIRA</system>
+        <url>http://wso2.org/jira/browse/LB</url>
+    </issueManagement>
+
+    <mailingLists>
+        <mailingList>
+            <name>WSO2 LB Users' list</name>
+            <post>mailto:lb-user@wso2.org</post>
+            <archive>http://wso2.org/mailarchive/lb-user/</archive>
+            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
+            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
+        </mailingList>
+        <mailingList>
+            <name>WSO2 LB/Carbon Developers' List</name>
+            <post>mailto:dev@wso2.org</post>
+            <archive>http://wso2.org/mailarchive/dev/</archive>
+            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
+            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
+        </mailingList>
+    </mailingLists>
+
+    <dependencyManagement>
+        <dependencies>
+            <!-- Dependencies for dashboard ui -->
+            <dependency>
+                <groupId>org.apache.axis2.wso2</groupId>
+                <artifactId>axis2</artifactId>
+                <version>${axis2.wso2.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>log4j</groupId>
+                <artifactId>log4j</artifactId>
+                <version>${log4j.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>${commons.logging.version}</version>
+            </dependency>
+            <!-- Dependencies for login ui -->
+            <dependency>
+                <groupId>javax.servlet</groupId>
+                <artifactId>servlet-api</artifactId>
+                <version>${servlet-api.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
+                <artifactId>axiom</artifactId>
+                <version>${axiom.wso2.version}</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+
+
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <log4j.version>1.2.13</log4j.version>
+        <commons.logging.version>1.1</commons.logging.version>
+        <opencsv.version>1.8</opencsv.version>
+        <poi.version>3.0-FINAL</poi.version>
+        <carbon.version>4.1.0</carbon.version>
+        <carbon.kernel.version>4.1.0</carbon.kernel.version>
+        <carbon.p2.plugin.version>1.5.2</carbon.p2.plugin.version>
+	<stratos2.platform.patch.version>2.1.1</stratos2.platform.patch.version>
+        <synapse.version>2.1.1-wso2v4</synapse.version>
+        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
+        <elb.version>2.0.3</elb.version>
+        <passthru.transport.version>1.0.2</passthru.transport.version>
+        <axis2.wso2.version>1.6.1.wso2v7</axis2.wso2.version>
+        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
+	<servlet-api.version>2.4</servlet-api.version>
+        <log4j.version>1.2.13</log4j.version>
+        <commons.logging.version>1.1</commons.logging.version>
+    </properties>
+</project>


[3/5] refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/docs/xdoc/release-notes.xml b/products/stratos_agent/1.0.1/docs/xdoc/release-notes.xml
deleted file mode 100644
index 524ef81..0000000
--- a/products/stratos_agent/1.0.1/docs/xdoc/release-notes.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
-      <title>WSO2 ELB v2.0.3 Release </title>
-  </head>
-  <body>
-  <div id="header">
-</div>
-
-<div id="main-content">
-<h1>The WSO2 Elastic Load Balancer (ELB) 2.0.3 Release - 28th January 2013!</h1>
-
-<p>
-    The WSO2 ELB team is pleased to announce the release of version 2.0.3 of
-    the Open Source Elastic Load Balancer (ELB).
-</p>
-
-<p>
-    WSO2 ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
-    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
-    Software License v2.0</a>. WSO2 ELB allows system administrators and developers to
-    easily configure fail over routing, load balancing, service aware load balancing, 
-    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
-    is designed to be completely asynchronous, non-blocking and streaming based on the 
-    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
-</p>
-
-<p>
-    WSO2 ELB 2.0.3 is developed on top of the revolutionary
-    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
-    an OSGi based framework that provides seamless modularity to your SOA via
-    componentization. This release also contains many new features and a range of optional
-    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
-    existing features of the ELB which are not required to your environment can be easily
-    removed using the underlying provisioning framework of Carbon. In brief, WSO2 ELB can
-    be fully customized and tailored to meet your exact SOA needs.
-</p>
-
-<p>
-    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
-    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
-
-<h2>How to Run </h2>
-<ol>
-  <li>Extract the downloaded zip</li>
-  <li>Go to the bin directory in the extracted folder</li>
-  <li>Run the wso2server.sh or wso2server.bat as appropriate</li>
-  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
-  <li>If you need to start the OSGi console with the server use the property
-    -DosgiConsole when starting the server. The INSTALL.txt file found on the
-    installation directory will give you a comprehensive set of options and
-    properties that can be passed into the startup script</li>
-</ol>
-
-<h2>Key Features of WSO2 ELB</h2>
-<ul>
-  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport.</li>
-  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support</li>
-  <li>Lightweight, XML and Web services centric messaging model</li>
-  <li><b>NEW! Automatically scaling the system according to the number of requests in-flight for 
-          a particular service cluster - "Scale up early, scale down slowly"</b> 
-  </li>
-  <li>Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-  </li>
-  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-</ul>
-
-<h2>Known Issues</h2>
-<p>
-    All the open issues pertaining to WSO2 ELB 2.0.3 are reported at following
-    locations:
-</p>
-
-<ul>
-    <li>
-        <a href="http://goo.gl/W8KYs">
-            Open ELB issues
-        </a>
-    </li>
-</ul>
-
-    <h2>Release 2.0.3</h2>
-    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
-    <ol>
-        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
-        <li>LB-31 - No response code in the access log.</li>
-        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
-        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
-        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
-        <li>LB-55 - Make autoscaling algorithm configurable.</li>
-        <li>LB-64 - Failover is broken in ELB.</li>
-        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
-        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
-    </ol>
-
-<h2>How You Can Contribute</h2>
-    <h3>
-      Mailing Lists
-    </h3>
-    <p>
-      Join our mailing list and correspond with the developers directly.
-    </p>
-    <ul>
-      <li>
-        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
-        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
-        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
-      </li>
-    </ul>
-    <h3>
-      Reporting Issues
-    </h3>
-    <p>
-      We encourage you to report issues, documentation faults and feature requests regarding
-      WSO2 ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
-      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
-      issues related to the Carbon base framework or associated Carbon components.
-    </p>
-
-    <h3>
-      Discussion Forums
-    </h3>
-    <p>
-      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
-    </p>
-
-<h2>Support</h2>
-<p>
-    We are committed to ensuring that your enterprise middleware deployment is
-    completely supported from evaluation to production. Our unique approach
-    ensures that all support leverages our open development methodology and is
-    provided by the very same engineers who build the technology.
-</p>
-<p>
-    For more details and to take advantage of this unique opportunity please
-    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
-</p>
-
-<p><i>-- The WSO2 ELB Team --</i> </p>
-</div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/pom.xml b/products/stratos_agent/1.0.1/modules/distribution/pom.xml
deleted file mode 100755
index 5db078e..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/pom.xml
+++ /dev/null
@@ -1,594 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-        
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.agent</groupId>
-        <artifactId>agent-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2s2agent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 stratos agent - Distribution</name>
-    <url>http://wso2.org/projects/load-balancer</url>
-    <description>WSO2 Stratos Agent Distribution</description>
-
-    <dependencies>
-
-        <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.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>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v9</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>
-        <!-- Eventing components -->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Eventsource component.-->
-	      <!-- Removed since this is not required by LB product.-->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.eventsource</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>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13.wso2v5</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.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>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>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
- 	    <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>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="false">
-                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
-                                    </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>
-                                <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/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="src/site"/>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>   
-
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>pre_dist</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/dist.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dist</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/bin.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/conf/log4j.properties b/products/stratos_agent/1.0.1/modules/distribution/src/conf/log4j.properties
deleted file mode 100644
index a6bc422..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/conf/log4j.properties
+++ /dev/null
@@ -1,165 +0,0 @@
-#
-# Copyright 2009 WSO2, Inc. (http://wso2.com)
-#
-# 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.
-#
-
-#
-# This is the log4j configuration file used by WSO2 Carbon
-#
-# IMPORTANT : Please do not remove or change the names of any
-# of the Appenders defined here. The layout pattern & log file
-# can be changed using the WSO2 Carbon Management Console, and those
-# settings will override the settings in this file.
-#
-
-log4j.rootLogger=INFO, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY, CARBON_SYS_LOG
-
-log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
-log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
-log4j.logger.org.apache=INFO, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.catalina=WARN
-log4j.logger.org.apache.tomcat=WARN
-log4j.logger.org.wso2.carbon.apacheds=WARN
-log4j.logger.org.apache.directory.server.ldap=WARN
-log4j.logger.org.apache.directory.server.core.event=WARN
-log4j.logger.com.atomikos=INFO,ATOMIKOS
-log4j.logger.org.quartz=WARN
-log4j.logger.org.apache.jackrabbit.webdav=WARN
-log4j.logger.org.apache.juddi=ERROR
-log4j.logger.org.apache.commons.digester.Digester=WARN
-log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
-log4j.logger.org.apache.qpid=WARN
-log4j.logger.org.apache.qpid.server.Main=INFO
-log4j.logger.qpid.message=WARN
-log4j.logger.qpid.message.broker.listening=INFO
-log4j.logger.org.apache.tiles=WARN
-log4j.logger.org.apache.commons.httpclient=ERROR
-log4j.logger.org.apache.coyote=WARN
-log4j.logger.org.apache.solr=ERROR
-log4j.logger.org.infinispan=WARN
-log4j.logger.org.jgroups=ERROR
-log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=ERROR
-log4j.logger.org.wso2=INFO
-log4j.logger.org.apache.axis2.enterprise=FATAL, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.opensaml.xml=WARN, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_LOGFILE, CARBON_MEMORY 
-#Following are to remove false error messages from startup (IS)
-log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-log4j.logger.org.apache.directory.server.core=ERROR, CARBON_LOGFILE, CARBON_MEMORY
-#Hive Related Log configurations
-log4j.logger.DataNucleus=ERROR
-log4j.logger.Datastore=ERROR
-log4j.logger.Datastore.Schema=ERROR
-log4j.logger.JPOX.Datastore=ERROR
-log4j.logger.JPOX.Plugin=ERROR
-log4j.logger.JPOX.MetaData=ERROR
-log4j.logger.JPOX.Query=ERROR
-log4j.logger.JPOX.General=ERROR
-log4j.logger.JPOX.Enhancer=ERROR
-log4j.logger.org.apache.hadoop.hive=WARN
-log4j.logger.hive=WARN
-log4j.logger.ExecMapper=WARN
-log4j.logger.ExecReducer=WARN
-log4j.logger.net.sf.ehcache.config.ConfigurationFactory=ERROR
-log4j.logger.org.apache.axis2.clustering.tribes.Axis2GroupChannel=FATAL
-
-log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
-
-log4j.additivity.org.apache.axis2.clustering=false
-log4j.additivity.com.atomikos=false
-
-# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
-log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-# ConversionPattern will be overridden by the configuration setting in the DB
-log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m%n
-log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
-log4j.appender.CARBON_CONSOLE.threshold=DEBUG
-
-# CARBON_MEMORY is set to be a MemoryAppender using a PatternLayout.
-log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.appenders.MemoryAppender
-log4j.appender.CARBON_MEMORY.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_MEMORY.bufferSize=200
-# ConversionPattern will be overridden by the configuration setting in the DB
-#log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p - %x %m {%c}%n
-log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p {%c} - %x %m%n
-log4j.appender.CARBON_MEMORY.threshold=DEBUG
-
-
-# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
-log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-# Log file will be overridden by the configuration setting in the DB
-# This path should be relative to WSO2 Carbon Home
-log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
-log4j.appender.CARBON_LOGFILE.Append=true
-log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-# ConversionPattern will be overridden by the configuration setting in the DB
-log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.CARBON_LOGFILE.threshold=DEBUG
-
-log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
-log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
-log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
-log4j.appender.CARBON_SYS_LOG.Facility=USER
-log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
-
-# LOGEVENT is set to be a LogEventAppender using a PatternLayout to send logs to LOGEVENT 
-log4j.appender.LOGEVENT=org.wso2.carbon.logging.appender.LogEventAppender
-log4j.appender.LOGEVENT.url=tcp://10.100.3.103:7611
-log4j.appender.LOGEVENT.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.LOGEVENT.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
-log4j.appender.LOGEVENT.userName=admin
-log4j.appender.LOGEVENT.password=admin
-
-# Appender config to CARBON_TRACE_LOGFILE
-log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
-log4j.appender.CARBON_TRACE_LOGFILE.Append=true
-log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m {%c}%n
-log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
-log4j.additivity.trace.messages=false
-
-# Appender config to AUDIT_LOGFILE
-log4j.appender.AUDIT_LOGFILE=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
-log4j.appender.AUDIT_LOGFILE.Append=true
-log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
-log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p - %x %m %n
-log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
-log4j.appender.AUDIT_LOGFILE.threshold=INFO
-log4j.additivity.AUDIT_LOG=false
-
-# Appender config to send Atomikos transaction logs to new log file tm.out.
-log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
-log4j.appender.ATOMIKOS.File = repository/logs/tm.out
-log4j.appender.ATOMIKOS.Append = true
-log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
-log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
-
-# This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
-
-# Specification of Handler used by Console Logger
-handlers=java.util.logging.ConsoleHandler
-
-# Replacing default INFO level with SEVERE
-java.util.logging.ConsoleHandler.level=SEVERE

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/bin.xml b/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100755
index 02e58ac..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,183 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.version}</directory>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/*.sh</exclude>
-                <exclude>**/native/*</exclude>
-                <exclude>**/services/sample01.aar</exclude>
-                <exclude>**/repository/services/version/**</exclude>
-                <exclude>**/version.txt</exclude>
-                <exclude>**/wso2server.bat</exclude>
-                <exclude>**/README.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/INSTALL.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/wsdl2java.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/tcpmon.*</exclude>
-                <exclude>**/build.xml</exclude>
-                <exclude>**/repository/components/plugins/*.ui*</exclude>
-		<exclude>**/log4j.properties</exclude>
-		<!--exclude>**/samples/*</exclude-->
-            </excludes>
-        </fileSet>
-
-	<!-- get axis2_1.6.1.wso2v9.jar from carbon kernel patch 0002 -->
-        <fileSet>
-           <directory>../p2-profile/target/WSO2-CARBON-PATCH-4.1.0-0002/</directory>
-           <outputDirectory>${pom.artifactId}-${pom.version}/repository/components/patches</outputDirectory>
-           <includes>
-              <include>**/patch0002/axis2_1.6.1.wso2v9.jar</include>
-           </includes>
-        </fileSet>
-    </fileSets>
-
-    <dependencySets>
-        <!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-        <!-- MB Client libs -->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/components/dropins</outputDirectory>
-            <includes>
-                <include>org.wso2.andes.wso2:andes-client:jar</include>
-                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
-                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
-                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>src/main/bin/wso2server.sh</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.sh</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/bin/wso2server.bat</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.bat</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/conf/log4j.properties</source>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/conf</outputDirectory>
-            <destName>log4j.properties</destName>
-            <filtered>true</filtered>
-        </file>
-
-                                                                
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../docs/xdoc/release-notes.xml</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <destName>release-notes.html</destName>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>target/wso2carbon-core-${carbon.version}/bin/version.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>
-                target/wso2carbon-core-${carbon.version}/repository/conf/carbon.xml
-            </source>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/conf/</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-	<file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.version}/repository/conf/agent.properties</source>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/conf</outputDirectory>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/dist.xml b/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/dist.xml
deleted file mode 100644
index 7c67b15..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/dist.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <!-- Copying p2 profile and osgi bundles-->
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/synapse-samples*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/docs.xml b/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/docs.xml
deleted file mode 100644
index 70e2826..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/docs.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>docs</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/filter.properties b/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index b031036..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-product.name=WSO2 Stratos Agent
-product.key=Agent
-product.version=1.0.0
-
-carbon.version=4.1.1
-lb.version=1.0.0
-default.server.role=ElasticLoadBalancer
-bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/src.xml b/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/src.xml
deleted file mode 100644
index a95d025..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/assembly/src.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>src</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/sources</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../..</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>modules/**/*</include>
-                <include>**/pom.xml</include>
-            </includes>
-            <excludes>
-                <exclude>**/target</exclude>
-                <exclude>**/target/**/*</exclude>
-                <exclude>**/build</exclude>
-                <exclude>**/build/**/*</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.classpath</exclude>
-                <exclude>**/.project</exclude>
-                <exclude>**/.wtpmodules</exclude>
-                <exclude>**/*.iml</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.settings/**/*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-    <files>
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.bat b/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.bat
deleted file mode 100644
index 3274bc6..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +0,0 @@
-@echo off
-
-REM ---------------------------------------------------------------------------
-REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
-REM
-REM  Licensed under the Apache License, Version 2.0 (the "License");
-REM  you may not use this file except in compliance with the License.
-REM  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-rem ---------------------------------------------------------------------------
-rem Main Script for WSO2 Carbon
-rem
-rem Environment Variable Prequisites
-rem
-rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
-rem                   to figure it out.
-rem
-rem   JAVA_HOME       Must point at your Java Development Kit installation.
-rem
-rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
-rem                   is executed.
-rem ---------------------------------------------------------------------------
-
-rem ----- if JAVA_HOME is not set we're not happy ------------------------------
-:checkJava
-
-if "%JAVA_HOME%" == "" goto noJavaHome
-if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
-goto checkServer
-
-:noJavaHome
-echo "You must set the JAVA_HOME variable before running CARBON."
-goto end
-
-rem ----- Only set CARBON_HOME if not already set ----------------------------
-:checkServer
-rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
-if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
-SET curDrive=%cd:~0,1%
-SET wsasDrive=%CARBON_HOME:~0,1%
-if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
-
-rem find CARBON_HOME if it does not exist due to either an invalid value passed
-rem by the user or the %0 problem on Windows 9x
-if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
-
-set AXIS2_HOME=%CARBON_HOME%
-goto updateClasspath
-
-:noServerHome
-echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
-goto end
-
-rem ----- update classpath -----------------------------------------------------
-:updateClasspath
-
-setlocal EnableDelayedExpansion
-cd %CARBON_HOME%
-set CARBON_CLASSPATH=
-FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
-
-set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
-
-FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
-
-rem ----- Process the input command -------------------------------------------
-
-rem Slurp the command line arguments. This loop allows for an unlimited number
-rem of arguments (up to the command line limit, anyway).
-
-
-:setupArgs
-if ""%1""=="""" goto doneStart
-
-if ""%1""==""-run""     goto commandLifecycle
-if ""%1""==""--run""    goto commandLifecycle
-if ""%1""==""run""      goto commandLifecycle
-
-if ""%1""==""-restart""  goto commandLifecycle
-if ""%1""==""--restart"" goto commandLifecycle
-if ""%1""==""restart""   goto commandLifecycle
-
-if ""%1""==""debug""    goto commandDebug
-if ""%1""==""-debug""   goto commandDebug
-if ""%1""==""--debug""  goto commandDebug
-
-if ""%1""==""version""   goto commandVersion
-if ""%1""==""-version""  goto commandVersion
-if ""%1""==""--version"" goto commandVersion
-
-shift
-goto setupArgs
-
-rem ----- commandVersion -------------------------------------------------------
-:commandVersion
-shift
-type "%CARBON_HOME%\bin\version.txt"
-type "%CARBON_HOME%\bin\wso2carbon-version.txt"
-goto end
-
-rem ----- commandDebug ---------------------------------------------------------
-:commandDebug
-shift
-set DEBUG_PORT=%1
-if "%DEBUG_PORT%"=="" goto noDebugPort
-if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
-set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
-echo Please start the remote debugging client to continue...
-goto findJdk
-
-:noDebugPort
-echo Please specify the debug port after the --debug option
-goto end
-
-
-:doneStart
-if "%OS%"=="Windows_NT" @setlocal
-if "%OS%"=="WINNT" @setlocal
-
-rem ---------- Handle the SSL Issue with proper JDK version --------------------
-rem find the version of the jdk
-:findJdk
-
-set CMD=RUN %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-rem ---------- Add jars to classpath ----------------
-
-set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
-
-set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
-
-set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
-
-:runJava
-echo JAVA_HOME environment variable is set to %JAVA_HOME%
-echo CARBON_HOME environment variable is set to %CARBON_HOME%
-"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
-if "%ERRORLEVEL%"=="121" goto runJava
-:end
-goto endlocal
-
-:endlocal
-
-:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.sh b/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.sh
deleted file mode 100644
index 253a33f..0000000
--- a/products/stratos_agent/1.0.1/modules/distribution/src/main/bin/wso2server.sh
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-#  Copyright WSO2, Inc. http://www.wso2.org
-#
-#  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.
-
-# ----------------------------------------------------------------------------
-# Main Script for the WSO2 Carbon Server
-#
-# Environment Variable Prequisites
-#
-#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
-#                   to figure it out.
-#
-#   JAVA_HOME       Must point at your Java Development Kit installation.
-#
-#   JAVA_OPTS       (Optional) Java runtime options used when the commands
-#                   is executed.
-#
-# NOTE: Borrowed generously from Apache Tomcat startup scripts.
-# -----------------------------------------------------------------------------
-
-# OS specific support.  $var _must_ be set to either true or false.
-
-cygwin=false;
-darwin=false;
-os400=false;
-mingw=false;
-case "`uname`" in
-CYGWIN*) cygwin=true;;
-MINGW*) mingw=true;;
-OS400*) os400=true;;
-Darwin*) darwin=true
-        if [ -z "$JAVA_VERSION" ] ; then
-             JAVA_VERSION="CurrentJDK"
-           else
-             echo "Using Java version: $JAVA_VERSION"
-           fi
-           if [ -z "$JAVA_HOME" ] ; then
-             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
-           fi
-           ;;
-esac
-
-# resolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
-  ls=`ls -ld "$PRG"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '.*/.*' > /dev/null; then
-    PRG="$link"
-  else
-    PRG=`dirname "$PRG"`/"$link"
-  fi
-done
-
-# Get standard environment variables
-PRGDIR=`dirname "$PRG"`
-
-# Only set CARBON_HOME if not already set
-[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
-
-# Set AXIS2_HOME. Needed for One Click JAR Download
-AXIS2_HOME=$CARBON_HOME
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin; then
-  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-fi
-
-# For OS400
-if $os400; then
-  # Set job priority to standard for interactive (interactive - 6) by using
-  # the interactive priority - 6, the helper threads that respond to requests
-  # will be running at the same priority as interactive jobs.
-  COMMAND='chgjob job('$JOBNAME') runpty(6)'
-  system $COMMAND
-
-  # Enable multi threading
-  QIBM_MULTI_THREADED=Y
-  export QIBM_MULTI_THREADED
-fi
-
-# For Migwn, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
-  [ -n "$CARBON_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-  [ -n "$AXIS2_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  # TODO classpath?
-fi
-
-if [ -z "$JAVACMD" ] ; then
-  if [ -n "$JAVA_HOME"  ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-      # IBM's JDK on AIX uses strange locations for the executables
-      JAVACMD="$JAVA_HOME/jre/sh/java"
-    else
-      JAVACMD="$JAVA_HOME/bin/java"
-    fi
-  else
-    JAVACMD=java
-  fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
-  echo "Error: JAVA_HOME is not defined correctly."
-  echo " CARBON cannot execute $JAVACMD"
-  exit 1
-fi
-
-# if JAVA_HOME is not set we're not happy
-if [ -z "$JAVA_HOME" ]; then
-  echo "You must set the JAVA_HOME variable before running CARBON."
-  exit 1
-fi
-
-# ----- Process the input command ----------------------------------------------
-for c in $*
-do
-    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
-          CMD="--debug"
-          continue
-    elif [ "$CMD" = "--debug" ]; then
-          if [ -z "$PORT" ]; then
-                PORT=$c
-          fi
-    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
-          CMD="--n"
-          continue
-    elif [ "$CMD" = "--n" ]; then
-          if [ -z "$INSTANCES" ]; then
-                INSTANCES=$c
-          fi
-    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
-          CMD="stop"
-    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
-          CMD="start"
-    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
-          CMD="console"
-    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
-          CMD="version"
-    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
-          CMD="restart"
-    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
-          CMD="dump"
-    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
-          CMD="test"
-    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
-          CMD="status"
-    fi
-done
-
-if [ "$CMD" = "--debug" ]; then
-  if [ "$PORT" = "" ]; then
-    echo " Please specify the debug port after the --debug option"
-    exit 1
-  fi
-  if [ -n "$JAVA_OPTS" ]; then
-    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
-  fi
-  CMD="RUN"
-  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
-  echo "Please start the remote debugging client to continue..."
-elif [ "$CMD" = "--n" ]; then
-  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
-    echo " Please specify the number of instances to start after the --n option"
-    exit 1
-  fi
-elif [ "$CMD" = "start" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  nohup $CARBON_HOME/bin/wso2server.sh &
-  exit 0
-elif [ "$CMD" = "stop" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
-  exit 0
-elif [ "$CMD" = "restart" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -term `cat $CARBON_HOME/wso2carbon.pid`
-  process_status=0
-  pid=`cat $CARBON_HOME/wso2carbon.pid`
-  while [ "$process_status" -eq "0" ]
-  do
-    sleep 1;
-    ps -p$pid 2>&1 > /dev/null
-    process_status=$?
-  done
-
-  # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /dev/null 2>&1 &
-  exit 0
-elif [ "$CMD" = "test" ]; then
-    JAVACMD="exec "$JAVACMD""
-elif [ "$CMD" = "version" ]; then
-  cat $CARBON_HOME/bin/version.txt
-  cat $CARBON_HOME/bin/wso2carbon-version.txt
-  exit 0
-fi
-
-jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-
-if [ "$jdk_16" = "" ]; then
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-   exit 1
-fi
-
-CARBON_CLASSPATH=""
-if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
-   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
-        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
-   fi
-fi
-
-CARBON_XBOOTCLASSPATH=""
-for f in "$CARBON_HOME"/lib/xboot/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
-        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
-    fi
-done
-
-JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
-
-for f in "$CARBON_HOME"/bin/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
-        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
-    fi
-done
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
-  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
-  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
-  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
-  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
-fi
-
-# ----- Execute The Requested Command -----------------------------------------
-
-echo JAVA_HOME environment variable is set to $JAVA_HOME
-echo CARBON_HOME environment variable is set to $CARBON_HOME
-
-cd "$CARBON_HOME"
-
-exec "$JAVACMD" \
-        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-        -d64 \
-        -server \
-        -Xms1500m -Xmx3000m \
-        -XX:PermSize=256m -XX:MaxPermSize=512m \
-        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
-        -XX:+CMSClassUnloadingEnabled \
-        -XX:+OptimizeStringConcat \
-        -XX:+HeapDumpOnOutOfMemoryError \
-        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
-        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
-        -XX:ErrorFile=repository/logs/hs_err_pid.log \
-        -XX:OnError="nohup ./wso2server.sh &" \
-        $JAVA_OPTS \
-        -Dcarbon.pid=$$ \
-        -Dcom.sun.management.jmxremote \
-        -Dwso2.loadbalancer=true \
-        -classpath "$CARBON_CLASSPATH" \
-        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
-        -Dwso2.server.standalone=true \
-        -Dcarbon.registry.root=/ \
-        -Dcarbon.home="$CARBON_HOME" \
-        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
-        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-        -Dconf.location="$CARBON_HOME/repository/conf" \
-        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-        -Dcom.atomikos.icatch.hide_init_file_path=true \
-        -Dorg.terracotta.quartz.skipUpdateCheck=true \
-        org.wso2.carbon.bootstrap.Bootstrap $*
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/modules/p2-profile/pom.xml b/products/stratos_agent/1.0.1/modules/p2-profile/pom.xml
deleted file mode 100755
index 53eed42..0000000
--- a/products/stratos_agent/1.0.1/modules/p2-profile/pom.xml
+++ /dev/null
@@ -1,176 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) WSO2 Inc. (http://wso2.com) 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.agent</groupId>
-        <artifactId>agent-parent</artifactId>
-        <version>1.0.1</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2agent-p2-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos Agent - P2 Profile Generation</name>
-    <url>http://www.wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-carbon-core</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-		    <execution>
-                        <id>2-unpack-kernel-patch</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>WSO2-CARBON-PATCH-4.1.0</artifactId>
-                                    <version>0002</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>2-p2-repo-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-repo-gen</goal>
-                        </goals>
-                        <configuration>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature:${stratos2.platform.patch.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:2.1.3
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:4.1.3
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4
-                                </featureArtifactDef>
-			     </featureArtifacts>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>3-p2-profile-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-profile-gen</goal>
-                        </goals>
-                        <configuration>
-                            <profile>WSO2CarbonProfile</profile>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <destination>
-                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
-                            </destination>
-                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
-                            <features>
-                                 <feature>
-                                    <id>org.wso2.carbon.cartridge.messages.feature.group</id>
-                                    <version>${stratos2.platform.patch.version}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.cartridge.agent.server.feature.group</id>
-                                    <version>2.1.3</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.lb.common.feature.group</id>
-                                    <version>4.1.3</version>
-                                </feature>
-				<feature>
-                                    <id>org.apache.synapse.wso2.feature.group</id>
-                                    <version>2.1.1-wso2v4</version>
-                                </feature>
-			     </features>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-	    <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-            <execution>
-                <phase>package</phase>
-                <configuration>
-                    <tasks>
-                        <replace token="false" value="true"
-                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
-                            <include name="**/bundles.info"/>
-                        </replace>
-                    </tasks>
-                </configuration>
-                <goals>
-                    <goal>run</goal>
-                </goals>
-            </execution>
-        </executions>
-    </plugin>
-        </plugins>
-    </build>
-</project>


[2/5] refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/pom.xml b/products/stratos_agent/1.0.1/pom.xml
deleted file mode 100755
index d9bc87b..0000000
--- a/products/stratos_agent/1.0.1/pom.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.0.0</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.agent</groupId>
-    <artifactId>agent-parent</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0.1</version>
-    <name>WSO2 stratos Agent - Aggregator Module</name>
-    <url>http://wso2.com/products/stratos-agent</url>
-    <description>WSO2 Stratos Agent (S2agent)</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/p2-profile</module>
-        <module>modules/distribution</module>
-        <!--<module>modules/integration</module>-->
-    </modules>
-
-    <scm>
-        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
-        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-
-        -->
-    </repositories>
-
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <id>signed-build</id>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <issueManagement>
-        <system>JIRA</system>
-        <url>http://wso2.org/jira/browse/LB</url>
-    </issueManagement>
-
-    <mailingLists>
-        <mailingList>
-            <name>WSO2 LB Users' list</name>
-            <post>mailto:lb-user@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/lb-user/</archive>
-            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-        <mailingList>
-            <name>WSO2 LB/Carbon Developers' List</name>
-            <post>mailto:dev@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/dev/</archive>
-            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-    </mailingLists>
-
-    <dependencyManagement>
-        <dependencies>
-            <!-- Dependencies for dashboard ui -->
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>${axis2.wso2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>${log4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>${commons.logging.version}</version>
-            </dependency>
-            <!-- Dependencies for login ui -->
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>${axiom.wso2.version}</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <carbon.version>4.1.0</carbon.version>
-        <carbon.kernel.version>4.1.0</carbon.kernel.version>
-	<stratos2.platform.patch.version>2.1.1</stratos2.platform.patch.version>
-        <synapse.version>2.1.1-wso2v4</synapse.version>
-        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
-        <elb.version>2.0.3</elb.version>
-        <passthru.transport.version>1.0.2</passthru.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v7</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/INSTALL.txt b/products/stratos_agent/INSTALL.txt
new file mode 100644
index 0000000..9d41b13
--- /dev/null
+++ b/products/stratos_agent/INSTALL.txt
@@ -0,0 +1,52 @@
+Installing Apache Stratos Stratos Agent 1.0.1
+==================================================
+
+Standalone Mode
+===============
+1. The directory containing this INSTALL.txt file will be the root and it will be
+   treated as Carbon home directory and let it be CARBON_HOME.
+
+2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
+
+3. To start Stratos Agent one can use either stratos.sh in all Unix
+   systems & stratos.bat file on Windows operating systems.
+
+4. Either of the following commands can be used to start Stratos Agent
+      i)  ./stratos.sh {console|start|stop|restart|version}
+     ii)  stratos.bat {start|stop|version}
+
+        Usage: stratos.sh [command] [options] [system-properties]
+
+            command:
+                --start		    Start Stratos Agent as a Unix daemon in the background
+                --console	    Start Stratos Agent as a Unix daemon in the foreground
+                --stop		    Stop the Stratos Agent Unix daemon
+                --restart	    Restart the Stratos Agent Unix daemon
+                --version	    What version of the Stratos Agent server are you running
+            options:
+                --debug <port> 	Start the server in remote debugging mode.
+                                port: The remote debugging port.
+
+            system-properties:
+                -DhttpPort		Overrides the HTTP port defined in the
+                                catalina-server.xml file
+                -DhttpsPort		Overrides the HTTPS port defined in the
+                                catalina-server.xml file
+                -DosgiConsole=[port]
+                                Start Carbon with Equinox OSGi console.
+                                If the optional 'port' parameter is provided, a
+                                telnet port will be opened
+                -DosgiDebugOptions=[options-file]
+                                Start Carbon with OSGi debugging enabled.
+                                If the optional 'options-file is provided, the
+                                OSGi debug options will be loaded from it.
+                -Dsetup			Clean the Registry database & other
+                                configuration, recreate DB, re-populate the
+                                configuration, and start Carbon
+
+System Requirements
+=======================
+1. Minimum memory - 1.5GB
+2. Processor      - Pentium 800MHz or equivalent at minimum
+3. Java SE Development Kit 1.6.0_24 or higher
+

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/LICENSE.txt b/products/stratos_agent/LICENSE.txt
new file mode 100644
index 0000000..e9542e3
--- /dev/null
+++ b/products/stratos_agent/LICENSE.txt
@@ -0,0 +1,250 @@
+
+This product is licensed by Apache under Apache License 2.0. The license
+can be downloaded from the following locations:
+	http://www.apache.org/licenses/LICENSE-2.0.html
+	http://www.apache.org/licenses/LICENSE-2.0.txt
+
+This product also contains software under different licenses. This table below
+all the contained libraries (jar files) and the license under which they are 
+provided to you.
+
+At the bottom of this file is a table that shows what each license indicated
+below is and where the actual text of the license can be found.
+
+Name                                                                            Type           License   
+---------------------------------------------------------------------------------------------------------
+abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
+addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
+ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
+andes-client-0.13.wso2v5.jar                                                    bundle         apache2   
+annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
+antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
+ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
+authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
+axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
+axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
+axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
+axis2_1.6.1.wso2v8.jar                                                          bundle         apache2   
+axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
+backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
+bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
+bcprov-jdk15.jar                                                                jar            mit       
+com.google.gson_2.1.0.jar                                                       bundle         apache2   
+commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
+commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
+commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
+commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
+commons-digester-1.8.jar                                                        jarinbundle    apache2   
+commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
+commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
+commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
+commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
+commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
+compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
+ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
+el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
+geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
+geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
+geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
+h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
+h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
+httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
+infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
+javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
+javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
+javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
+javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
+jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
+jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
+jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
+jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
+jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
+jericho-html-2.4.jar                                                            jarinbundle    epl1      
+jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
+jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
+jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
+jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
+marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
+neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
+opencsv-1.8.jar                                                                 jarinbundle    apache2   
+opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
+opensaml-1.1.406.jar                                                            jarinbundle    apache2   
+opensaml-2.4.1.jar                                                              jarinbundle    apache2   
+opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
+openws-1.4.1.jar                                                                jarinbundle    apache2   
+org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
+org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
+org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
+org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
+org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
+org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
+org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
+org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
+org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
+org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
+org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
+org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
+org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
+org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
+org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
+org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
+org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
+org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
+org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
+org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
+org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
+org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
+org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
+org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
+org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
+org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
+org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
+org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
+org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
+org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
+org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
+org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
+org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
+org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
+org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
+org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
+org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
+org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
+org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
+org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
+org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
+org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
+org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
+org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
+org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
+org.eclipse.osgi.services_3.3.0.v20110513.jar                                   bundle         epl1      
+org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
+org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
+org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
+org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
+org.wso2.carbon.adc.instanceinfo.mgt.stub_4.1.1.jar                             bundle         apache2   
+org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
+org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.bridge-4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.cartridge.agent_2.1.3.jar                                       bundle         apache2   
+org.wso2.carbon.cartridge.messages_2.1.1.jar                                    bundle         apache2   
+org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
+org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.http.bridge-4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
+org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
+org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
+org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
+org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
+org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
+org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
+org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
+org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
+org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.servletbridge-4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
+org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
+org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
+org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
+org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
+org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
+org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
+org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
+org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
+org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
+org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
+pdepublishing-ant.jar                                                           jar            epl1      
+pdepublishing.jar                                                               jar            epl1      
+poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
+poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
+poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
+quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
+rampart-1.6.1-wso2v9.mar                                                        bundle         apache2   
+rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
+rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
+rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
+saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
+slf4j.api_1.6.4.jar                                                             bundle         mit       
+slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
+synapse-commons_2.1.1.wso2v4.jar                                                bundle         apache2   
+synapse-core_2.1.1.wso2v4.jar                                                   bundle         apache2   
+synapse-extensions_2.1.1.wso2v4.jar                                             bundle         apache2   
+synapse-tasks_2.1.1.wso2v4.jar                                                  bundle         apache2   
+tcpmon-1.0.jar                                                                  jar            apache2   
+tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
+tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
+tomcat-juli-7.0.34.jar                                                          jar            apache2   
+tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
+tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
+woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
+wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
+wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
+xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
+xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
+xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
+xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
+xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
+XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
+xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
+
+
+
+The license types used by the above libraries and their information is given below:
+
+cddl+gpl       CDDL + GPLv2
+               https://glassfish.dev.java.net/public/CDDL+GPL.html
+cpl1           Common Public License 1.0
+               http://www.eclipse.org/legal/cpl-v10.html
+epl1           Eclipse Public License
+               http://www.eclipse.org/legal/epl-v10.html
+jsmon          ThoughtWorks Javasysmon License
+               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
+lgpl2          Lesser GPL v2.1
+               http://www.opensource.org/licenses/lgpl-2.1.php
+apache2        Apache License Version 2.0
+               http://www.apache.org/licenses/LICENSE-2.0.html
+mpl10          Mozilla Public License 1.0
+               http://www.mozilla.org/MPL/
+mit            MIT License
+               http://www.opensource.org/licenses/mit-license.php
+bsd            Berkeley License
+               http://www.opensource.org/licenses/bsd-license.php
+cddl1          Common Development and Distribution License
+               http://www.opensource.org/licenses/cddl1.php
+bouncy         Bouncy Castle License
+               http://www.bouncycastle.org/licence.html
+public         Public Domain
+               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/README.txt b/products/stratos_agent/README.txt
new file mode 100755
index 0000000..083417e
--- /dev/null
+++ b/products/stratos_agent/README.txt
@@ -0,0 +1,108 @@
+================================================================================
+                        Apache Stratos Agent 1.0.1
+================================================================================
+
+Welcome to the Apache Stratos Agent 1.0.1 release
+
+Apache Stratos Agent provides services to Non-Carbon Cartridges and it helps
+to communicate the status of Cartridge Instances with Apache Stratos Controller.
+
+System Requirements
+==================================
+
+1. Minimum memory - 1GB
+2. Processor      - Pentium 800MHz or equivalent at minimum
+3. Java SE Development Kit 1.6.0_24 or higher
+
+
+Apache Stratos Agent 1.0.1 distribution directory structure
+=========================================================
+
+    CARBON_HOME
+	|- bin <folder>
+	|- lib <folder>
+	|- repository <folder>
+	|- tmp <folder>
+	|- LICENSE.txt <file>
+	|- README.txt <file>
+	|- INSTALL.txt <file>		
+	|- release-notes.html <file>
+
+    - bin
+	  Contains various scripts, .sh & .bat files
+
+    - dbscripts
+    Contains all the database scripts
+
+    - lib
+	  Contains the basic set of libraries required to startup Stratos Agent
+	  in standalone mode
+
+    - repository
+	  The repository where services and modules deployed in Apache Stratos Agent
+	  are stored. In addition to this, the components directory inside the
+	  repository directory contains the carbon runtime and the user added
+	  jar files including mediators, third party libraries etc. All
+	  global and LB specific configuration files, generated log files
+	  and other deployed artifacts are also housed under this directory.
+
+    - tmp
+	  Used for storing temporary files, and is pointed to by the
+	  java.io.tmpdir System property
+
+    - LICENSE.txt
+	  Apache License 2.0 and the relevant other licenses under which
+	  Apache Stratos Agent is distributed.
+
+    - README.txt
+	  This document.
+
+    - INSTALL.txt
+      This document will contain information on installing Apache Stratos Agent
+
+Support
+==================================
+
+Apache offers a variety of development and production support
+programs, ranging from Web-based support up through normal business
+hours, to premium 24x7 phone support.
+
+For additional support information please refer to http://wso2.com/support/
+
+For more information on Apache Stratos Agent, visit the Apache (http://apache.org)
+
+Issue Tracker
+==================================
+
+Crypto Notice
+==================================
+
+   This distribution includes cryptographic software.  The country in
+   which you currently reside may have restrictions on the import,
+   possession, use, and/or re-export to another country, of
+   encryption software.  BEFORE using any encryption software, please
+   check your country's laws, regulations and policies concerning the
+   import, possession, or use, and re-export of encryption software, to
+   see if this is permitted.  See <http://www.wassenaar.org/> for more
+   information.
+
+   The U.S. Government Department of Commerce, Bureau of Industry and
+   Security (BIS), has classified this software as Export Commodity
+   Control Number (ECCN) 5D002.C.1, which includes information security
+   software using or performing cryptographic functions with asymmetric
+   algorithms.  The form and manner of this Apache Software Foundation
+   distribution makes it eligible for export under the License Exception
+   ENC Technology Software Unrestricted (TSU) exception (see the BIS
+   Export Administration Regulations, Section 740.13) for both object
+   code and source code.
+
+   The following provides more details on the included cryptographic
+   software:
+
+   Apache Rampart   : http://ws.apache.org/rampart/
+   Apache WSS4J     : http://ws.apache.org/wss4j/
+   Apache Santuario : http://santuario.apache.org/
+   Bouncycastle     : http://www.bouncycastle.org/
+
+--------------------------------------------------------------------------------
+(c) Copyright 2013 Apache.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/docs/xdoc/release-notes.xml b/products/stratos_agent/docs/xdoc/release-notes.xml
new file mode 100644
index 0000000..23c201f
--- /dev/null
+++ b/products/stratos_agent/docs/xdoc/release-notes.xml
@@ -0,0 +1,169 @@
+<?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.
+ -->
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
+      <title>Apache Stratos ELB v2.0.3 Release </title>
+  </head>
+  <body>
+  <div id="header">
+</div>
+
+<div id="main-content">
+<h1>The Apache Stratos Elastic Load Balancer (ELB) 2.0.3 Release - 28th January 2013!</h1>
+
+<p>
+    The Apache Stratos ELB team is pleased to announce the release of version 2.0.3 of
+    the Open Source Elastic Load Balancer (ELB).
+</p>
+
+<p>
+    Apache Stratos ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
+    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
+    Software License v2.0</a>. Apache Stratos ELB allows system administrators and developers to
+    easily configure fail over routing, load balancing, service aware load balancing, 
+    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
+    is designed to be completely asynchronous, non-blocking and streaming based on the 
+    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
+</p>
+
+<p>
+    Apache Stratos ELB 2.0.3 is developed on top of the revolutionary
+    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
+    an OSGi based framework that provides seamless modularity to your SOA via
+    componentization. This release also contains many new features and a range of optional
+    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
+    existing features of the ELB which are not required to your environment can be easily
+    removed using the underlying provisioning framework of Carbon. In brief, Apache Stratos ELB can
+    be fully customized and tailored to meet your exact SOA needs.
+</p>
+
+<p>
+    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
+    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
+
+<h2>How to Run </h2>
+<ol>
+  <li>Extract the downloaded zip</li>
+  <li>Go to the bin directory in the extracted folder</li>
+  <li>Run the stratos.sh or stratos.bat as appropriate</li>
+  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
+  <li>If you need to start the OSGi console with the server use the property
+    -DosgiConsole when starting the server. The INSTALL.txt file found on the
+    installation directory will give you a comprehensive set of options and
+    properties that can be passed into the startup script</li>
+</ol>
+
+<h2>Key Features of Apache Stratos ELB</h2>
+<ul>
+  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
+   execution and support for thousands of connections at high concurrency with
+   constant memory usage. Integrated high performing, Passthrough Transport.</li>
+  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
+   Throttling and Caching support</li>
+  <li>Lightweight, XML and Web services centric messaging model</li>
+  <li><b>NEW! Automatically scaling the system according to the number of requests in-flight for 
+          a particular service cluster - "Scale up early, scale down slowly"</b> 
+  </li>
+  <li>Service aware dynamic load balancing - A single load balancer
+   can centrally manage the load across the nodes of different service clusters.
+  </li>
+  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
+   Tenants can be partitioned to different service clusters.
+</ul>
+
+<h2>Known Issues</h2>
+<p>
+    All the open issues pertaining to Apache Stratos ELB 2.0.3 are reported at following
+    locations:
+</p>
+
+<ul>
+    <li>
+        <a href="http://goo.gl/W8KYs">
+            Open ELB issues
+        </a>
+    </li>
+</ul>
+
+    <h2>Release 2.0.3</h2>
+    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
+    <ol>
+        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
+        <li>LB-31 - No response code in the access log.</li>
+        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
+        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
+        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
+        <li>LB-55 - Make autoscaling algorithm configurable.</li>
+        <li>LB-64 - Failover is broken in ELB.</li>
+        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
+        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
+    </ol>
+
+<h2>How You Can Contribute</h2>
+    <h3>
+      Mailing Lists
+    </h3>
+    <p>
+      Join our mailing list and correspond with the developers directly.
+    </p>
+    <ul>
+      <li>
+        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
+        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
+        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
+      </li>
+    </ul>
+    <h3>
+      Reporting Issues
+    </h3>
+    <p>
+      We encourage you to report issues, documentation faults and feature requests regarding
+      Apache Stratos ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
+      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
+      issues related to the Carbon base framework or associated Carbon components.
+    </p>
+
+    <h3>
+      Discussion Forums
+    </h3>
+    <p>
+      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
+    </p>
+
+<h2>Support</h2>
+<p>
+    We are committed to ensuring that your enterprise middleware deployment is
+    completely supported from evaluation to production. Our unique approach
+    ensures that all support leverages our open development methodology and is
+    provided by the very same engineers who build the technology.
+</p>
+<p>
+    For more details and to take advantage of this unique opportunity please
+    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
+</p>
+
+<p><i>-- The Apache Stratos ELB Team --</i> </p>
+</div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/pom.xml b/products/stratos_agent/modules/distribution/pom.xml
new file mode 100755
index 0000000..1d9d114
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/pom.xml
@@ -0,0 +1,594 @@
+<?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.
+ -->
+<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-agent-parent</artifactId>
+        <version>1.0.1</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>stratos-s2-agent</artifactId>
+    <packaging>pom</packaging>
+    <name>Apache Stratos - Agent - Distribution</name>
+    <url>http://apache.org</url>
+    <description>WSO2 Stratos Agent Distribution</description>
+
+    <dependencies>
+
+        <!-- Carbon core distribution -->
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>wso2carbon-core</artifactId>
+            <version>${carbon.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>
+
+        <dependency>
+            <groupId>org.apache.rampart</groupId>
+            <artifactId>rampart</artifactId>
+            <type>mar</type>
+            <version>1.6.1-wso2v9</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>
+        <!-- Eventing components -->
+        <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.core</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
+            <version>${carbon.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
+            <version>${carbon.version}</version>
+        </dependency-->
+        <!-- Eventsource component.-->
+	      <!-- Removed since this is not required by LB product.-->
+        <!--dependency>
+            <groupId>org.wso2.carbon</groupId>
+            <artifactId>org.wso2.carbon.eventing.eventsource</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>org.wso2.andes.wso2</groupId>
+            <artifactId>andes-client</artifactId>
+            <version>0.13.wso2v5</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.apache.maven.plugins</groupId>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <version>2.0-alpha-4</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>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>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+ 	    <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>1.1</version>
+                <executions>
+                    <execution>
+                        <id>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="false">
+                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
+                                    </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>
+                                <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/sources"/>
+                                <delete dir="target/site"/>
+                                <delete dir="src/site"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>   
+
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>pre_dist</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <filters>
+                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
+                            </filters>
+                            <descriptors>
+                                <descriptor>src/main/assembly/dist.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>dist</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                        <configuration>
+                            <filters>
+                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
+                            </filters>
+                            <descriptors>
+                                <descriptor>src/main/assembly/bin.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/modules/distribution/src/conf/log4j.properties
----------------------------------------------------------------------
diff --git a/products/stratos_agent/modules/distribution/src/conf/log4j.properties b/products/stratos_agent/modules/distribution/src/conf/log4j.properties
new file mode 100644
index 0000000..674011c
--- /dev/null
+++ b/products/stratos_agent/modules/distribution/src/conf/log4j.properties
@@ -0,0 +1,168 @@
+#
+# 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.
+#
+
+#
+# This is the log4j configuration file used by WSO2 Carbon
+#
+# IMPORTANT : Please do not remove or change the names of any
+# of the Appenders defined here. The layout pattern & log file
+# can be changed using the WSO2 Carbon Management Console, and those
+# settings will override the settings in this file.
+#
+
+log4j.rootLogger=INFO, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY, CARBON_SYS_LOG
+
+log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE
+log4j.logger.org.apache.axis2.wsdl.codegen.writer.PrettyPrinter=ERROR, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.axis2.clustering=INFO, CARBON_CONSOLE, CARBON_LOGFILE
+log4j.logger.org.apache=INFO, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.catalina=WARN
+log4j.logger.org.apache.tomcat=WARN
+log4j.logger.org.wso2.carbon.apacheds=WARN
+log4j.logger.org.apache.directory.server.ldap=WARN
+log4j.logger.org.apache.directory.server.core.event=WARN
+log4j.logger.com.atomikos=INFO,ATOMIKOS
+log4j.logger.org.quartz=WARN
+log4j.logger.org.apache.jackrabbit.webdav=WARN
+log4j.logger.org.apache.juddi=ERROR
+log4j.logger.org.apache.commons.digester.Digester=WARN
+log4j.logger.org.apache.jasper.compiler.TldLocationsCache=WARN
+log4j.logger.org.apache.qpid=WARN
+log4j.logger.org.apache.qpid.server.Main=INFO
+log4j.logger.qpid.message=WARN
+log4j.logger.qpid.message.broker.listening=INFO
+log4j.logger.org.apache.tiles=WARN
+log4j.logger.org.apache.commons.httpclient=ERROR
+log4j.logger.org.apache.coyote=WARN
+log4j.logger.org.apache.solr=ERROR
+log4j.logger.org.infinispan=WARN
+log4j.logger.org.jgroups=ERROR
+log4j.logger.me.prettyprint.cassandra.hector.TimingLogger=ERROR
+log4j.logger.org.wso2=INFO
+log4j.logger.org.apache.axis2.enterprise=FATAL, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.opensaml.xml=WARN, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.shared.ldap=WARN, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.server.ldap.handlers=WARN, CARBON_LOGFILE, CARBON_MEMORY 
+#Following are to remove false error messages from startup (IS)
+log4j.logger.org.apache.directory.shared.ldap.entry.DefaultServerAttribute=FATAL, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.server.core.DefaultDirectoryService=ERROR, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.shared.ldap.ldif.LdifReader=ERROR, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.server.ldap.LdapProtocolHandler=ERROR, CARBON_LOGFILE, CARBON_MEMORY
+log4j.logger.org.apache.directory.server.core=ERROR, CARBON_LOGFILE, CARBON_MEMORY
+#Hive Related Log configurations
+log4j.logger.DataNucleus=ERROR
+log4j.logger.Datastore=ERROR
+log4j.logger.Datastore.Schema=ERROR
+log4j.logger.JPOX.Datastore=ERROR
+log4j.logger.JPOX.Plugin=ERROR
+log4j.logger.JPOX.MetaData=ERROR
+log4j.logger.JPOX.Query=ERROR
+log4j.logger.JPOX.General=ERROR
+log4j.logger.JPOX.Enhancer=ERROR
+log4j.logger.org.apache.hadoop.hive=WARN
+log4j.logger.hive=WARN
+log4j.logger.ExecMapper=WARN
+log4j.logger.ExecReducer=WARN
+log4j.logger.net.sf.ehcache.config.ConfigurationFactory=ERROR
+log4j.logger.org.apache.axis2.clustering.tribes.Axis2GroupChannel=FATAL
+
+log4j.logger.trace.messages=TRACE,CARBON_TRACE_LOGFILE
+
+log4j.additivity.org.apache.axis2.clustering=false
+log4j.additivity.com.atomikos=false
+
+# CARBON_CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CARBON_CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CARBON_CONSOLE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+# ConversionPattern will be overridden by the configuration setting in the DB
+log4j.appender.CARBON_CONSOLE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m%n
+log4j.appender.CARBON_CONSOLE.layout.TenantPattern=%U%@%D[%T]
+log4j.appender.CARBON_CONSOLE.threshold=DEBUG
+
+# CARBON_MEMORY is set to be a MemoryAppender using a PatternLayout.
+log4j.appender.CARBON_MEMORY=org.wso2.carbon.logging.appenders.MemoryAppender
+log4j.appender.CARBON_MEMORY.layout=org.apache.log4j.PatternLayout
+log4j.appender.CARBON_MEMORY.bufferSize=200
+# ConversionPattern will be overridden by the configuration setting in the DB
+#log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p - %x %m {%c}%n
+log4j.appender.CARBON_MEMORY.layout.ConversionPattern=[%d] %5p {%c} - %x %m%n
+log4j.appender.CARBON_MEMORY.threshold=DEBUG
+
+
+# CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
+log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
+# Log file will be overridden by the configuration setting in the DB
+# This path should be relative to WSO2 Carbon Home
+log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log
+log4j.appender.CARBON_LOGFILE.Append=true
+log4j.appender.CARBON_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+# ConversionPattern will be overridden by the configuration setting in the DB
+log4j.appender.CARBON_LOGFILE.layout.ConversionPattern=TID: [%T] [%S] [%d] %P%5p {%c} - %x %m {%c}%n
+log4j.appender.CARBON_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
+log4j.appender.CARBON_LOGFILE.threshold=DEBUG
+
+log4j.appender.CARBON_SYS_LOG = org.apache.log4j.net.SyslogAppender
+log4j.appender.CARBON_SYS_LOG.layout=org.apache.log4j.PatternLayout
+log4j.appender.CARBON_SYS_LOG.layout.ConversionPattern=[%d] %5p {%c} - %x %m {%c}%n
+log4j.appender.CARBON_SYS_LOG.SyslogHost=localhost
+log4j.appender.CARBON_SYS_LOG.Facility=USER
+log4j.appender.CARBON_SYS_LOG.threshold=DEBUG
+
+# LOGEVENT is set to be a LogEventAppender using a PatternLayout to send logs to LOGEVENT 
+log4j.appender.LOGEVENT=org.wso2.carbon.logging.appender.LogEventAppender
+log4j.appender.LOGEVENT.url=tcp://10.100.3.103:7611
+log4j.appender.LOGEVENT.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+log4j.appender.LOGEVENT.columnList=%T,%S,%A,%d,%c,%p,%m,%H,%I,%Stacktrace
+log4j.appender.LOGEVENT.userName=admin
+log4j.appender.LOGEVENT.password=admin
+
+# Appender config to CARBON_TRACE_LOGFILE
+log4j.appender.CARBON_TRACE_LOGFILE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.CARBON_TRACE_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon-trace-messages${instance.log}.log
+log4j.appender.CARBON_TRACE_LOGFILE.Append=true
+log4j.appender.CARBON_TRACE_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+log4j.appender.CARBON_TRACE_LOGFILE.layout.ConversionPattern=[%d] %P%5p {%c} - %x %m {%c}%n
+log4j.appender.CARBON_TRACE_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
+log4j.appender.CARBON_TRACE_LOGFILE.threshold=TRACE
+log4j.additivity.trace.messages=false
+
+# Appender config to AUDIT_LOGFILE
+log4j.appender.AUDIT_LOGFILE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.AUDIT_LOGFILE.File=${carbon.home}/repository/logs/audit.log
+log4j.appender.AUDIT_LOGFILE.Append=true
+log4j.appender.AUDIT_LOGFILE.layout=org.wso2.carbon.utils.logging.TenantAwarePatternLayout
+log4j.appender.AUDIT_LOGFILE.layout.ConversionPattern=[%d] %P%5p - %x %m %n
+log4j.appender.AUDIT_LOGFILE.layout.TenantPattern=%U%@%D [%T] [%S]
+log4j.appender.AUDIT_LOGFILE.threshold=INFO
+log4j.additivity.AUDIT_LOG=false
+
+# Appender config to send Atomikos transaction logs to new log file tm.out.
+log4j.appender.ATOMIKOS = org.apache.log4j.RollingFileAppender
+log4j.appender.ATOMIKOS.File = repository/logs/tm.out
+log4j.appender.ATOMIKOS.Append = true
+log4j.appender.ATOMIKOS.layout = org.apache.log4j.PatternLayout
+log4j.appender.ATOMIKOS.layout.ConversionPattern=%p %t %c - %m%n
+
+# This file is used to override the default logger settings, and is used to remove unwanted logs from Shindig appearing on the console.
+
+# Specification of Handler used by Console Logger
+handlers=java.util.logging.ConsoleHandler
+
+# Replacing default INFO level with SEVERE
+java.util.logging.ConsoleHandler.level=SEVERE


[5/5] git commit: refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Posted by la...@apache.org.
refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Signed-off-by: Lakmal Warusawithana <la...@wso2.com>


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

Branch: refs/heads/master
Commit: a177ebeef2bdb1130f314dc62ae20bf1b39468ee
Parents: 750de33
Author: Imesh Gunaratne <im...@wso2.com>
Authored: Fri Jul 19 23:50:37 2013 +0530
Committer: Lakmal Warusawithana <la...@wso2.com>
Committed: Sun Jul 21 09:44:59 2013 +0530

----------------------------------------------------------------------
 products/stratos_agent/1.0.0/INSTALL.txt        |  55 --
 products/stratos_agent/1.0.0/LICENSE.txt        | 371 ------------
 products/stratos_agent/1.0.0/README.txt         | 147 -----
 .../1.0.0/docs/xdoc/release-notes.xml           | 169 ------
 .../1.0.0/modules/distribution/pom.xml          | 594 -------------------
 .../distribution/src/main/assembly/bin.xml      | 167 ------
 .../distribution/src/main/assembly/dist.xml     |  37 --
 .../distribution/src/main/assembly/docs.xml     |  32 -
 .../src/main/assembly/filter.properties         |   8 -
 .../distribution/src/main/assembly/src.xml      |  72 ---
 .../distribution/src/main/bin/wso2server.bat    | 170 ------
 .../distribution/src/main/bin/wso2server.sh     | 299 ----------
 .../1.0.0/modules/p2-profile/pom.xml            | 157 -----
 products/stratos_agent/1.0.0/pom.xml            | 212 -------
 products/stratos_agent/1.0.1/INSTALL.txt        |  52 --
 products/stratos_agent/1.0.1/LICENSE.txt        | 250 --------
 products/stratos_agent/1.0.1/README.txt         | 111 ----
 .../1.0.1/docs/xdoc/release-notes.xml           | 169 ------
 .../1.0.1/modules/distribution/pom.xml          | 594 -------------------
 .../distribution/src/conf/log4j.properties      | 165 ------
 .../distribution/src/main/assembly/bin.xml      | 183 ------
 .../distribution/src/main/assembly/dist.xml     |  37 --
 .../distribution/src/main/assembly/docs.xml     |  32 -
 .../src/main/assembly/filter.properties         |   8 -
 .../distribution/src/main/assembly/src.xml      |  72 ---
 .../distribution/src/main/bin/wso2server.bat    | 170 ------
 .../distribution/src/main/bin/wso2server.sh     | 299 ----------
 .../1.0.1/modules/p2-profile/pom.xml            | 176 ------
 products/stratos_agent/1.0.1/pom.xml            | 212 -------
 products/stratos_agent/INSTALL.txt              |  52 ++
 products/stratos_agent/LICENSE.txt              | 250 ++++++++
 products/stratos_agent/README.txt               | 108 ++++
 .../stratos_agent/docs/xdoc/release-notes.xml   | 169 ++++++
 .../stratos_agent/modules/distribution/pom.xml  | 594 +++++++++++++++++++
 .../distribution/src/conf/log4j.properties      | 168 ++++++
 .../distribution/src/main/assembly/bin.xml      | 184 ++++++
 .../distribution/src/main/assembly/dist.xml     |  39 ++
 .../distribution/src/main/assembly/docs.xml     |  33 ++
 .../src/main/assembly/filter.properties         |   8 +
 .../distribution/src/main/assembly/src.xml      |  74 +++
 .../distribution/src/main/bin/stratos.bat       | 170 ++++++
 .../distribution/src/main/bin/stratos.sh        | 299 ++++++++++
 .../stratos_agent/modules/p2-profile/pom.xml    | 178 ++++++
 products/stratos_agent/pom.xml                  | 213 +++++++
 44 files changed, 2539 insertions(+), 5020 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/INSTALL.txt b/products/stratos_agent/1.0.0/INSTALL.txt
deleted file mode 100644
index 4463c8b..0000000
--- a/products/stratos_agent/1.0.0/INSTALL.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-Installing  WSO2 Elastic Load Balancer (ELB) 2.0.3
-==================================================
-
-WSO2 ELB 2.0.3 can be run as a light-weight software load balancer in 
-stand-alone mode, that can be configured to balance the load across the services nodes.
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL.txt file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
-
-3. To start ELB one can use either wso2server.sh in all Unix
-   systems & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start ELB
-      i)  ./wso2server.sh {console|start|stop|restart|version}
-     ii)  wso2server.bat {start|stop|version}
-
-        Usage: wso2server.sh [command] [options] [system-properties]
-
-            command:
-                --start		    Start ELB as a Unix daemon in the background
-                --console	    Start ELB as a Unix daemon in the foreground
-                --stop		    Stop the ELB Unix daemon
-                --restart	    Restart the ELB Unix daemon
-                --version	    What version of the ELB server are you running
-            options:
-                --debug <port> 	Start the server in remote debugging mode.
-                                port: The remote debugging port.
-
-            system-properties:
-                -DhttpPort		Overrides the HTTP port defined in the
-                                catalina-server.xml file
-                -DhttpsPort		Overrides the HTTPS port defined in the
-                                catalina-server.xml file
-                -DosgiConsole=[port]
-                                Start Carbon with Equinox OSGi console.
-                                If the optional 'port' parameter is provided, a
-                                telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                Start Carbon with OSGi debugging enabled.
-                                If the optional 'options-file is provided, the
-                                OSGi debug options will be loaded from it.
-                -Dsetup			Clean the Registry database & other
-                                configuration, recreate DB, re-populate the
-                                configuration, and start Carbon
-
-System Requirements
-=======================
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/LICENSE.txt b/products/stratos_agent/1.0.0/LICENSE.txt
deleted file mode 100644
index 4a3ca04..0000000
--- a/products/stratos_agent/1.0.0/LICENSE.txt
+++ /dev/null
@@ -1,371 +0,0 @@
-
-This product is licensed by WSO2 Inc. under Apache License 2.0. The license
-can be downloaded from the following locations:
-	http://www.apache.org/licenses/LICENSE-2.0.html
-	http://www.apache.org/licenses/LICENSE-2.0.txt
-
-This product also contains software under different licenses. This table below
-all the contained libraries (jar files) and the license under which they are 
-provided to you.
-
-At the bottom of this file is a table that shows what each license indicated
-below is and where the actual text of the license can be found.
-
-Name                                                                            Type           License   
----------------------------------------------------------------------------------------------------------
-abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
-addressing-1.6.1-wso2v5.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-andes-client-0.13.wso2v5.jar                                                    bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-apache-zookeeper_3.3.5.wso2v1.jar                                               bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-aws-common_1.5.0.beta_5.jar                                                     bundle         apache2   
-aws-ec2_1.5.0.beta_5.jar                                                        bundle         apache2   
-axiom_1.2.11.wso2v3.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v7.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis22695953105565451648rampart-1.6.1-wso2v1.mar                                bundle         apache2   
-axis29161053230966849953addressing-1.6.1-wso2v5.mar                             bundle         apache2   
-axis2_1.6.1.wso2v7.jar                                                          bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-bcprov-jdk15.jar                                                                jar            mit       
-bcprov-jdk16_1.45.0.wso2v1.jar                                                  bundle         apache2   
-bsf-all_3.0.0.wso2v2.jar                                                        bundle         apache2   
-caja-r3950.jar                                                                  jarinbundle    apache2   
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-com.google.gson_2.2.0.jar                                                       bundle         apache2   
-com.sun.jersey.jersey-core_1.12.0.jar                                           bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-betwixt-0.8.jar                                                         jarinbundle    apache2   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-discovery-0.2.jar                                                       jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v1.jar                                                     bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-ec2_1.5.0.beta_5.jar                                                            bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-ezmorph-1.0.4.jar                                                               jarinbundle    apache2   
-geronimo-jaxws_2.2_spec-1.0.jar                                                 bundle         apache2   
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec_1.0.1.wso2v2.jar                                     bundle         apache2   
-google-collect_1.0.0.wso2v2.jar                                                 bundle         apache2   
-guava_12.0.0.wso2v1.jar                                                         bundle         apache2   
-guice-assistedinject_3.0.0.wso2v1.jar                                           bundle         apache2   
-guice_3.0.0.wso2v1.jar                                                          bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-htmlunit-2.5.jar                                                                jarinbundle    apache2   
-httpclient-4.0.1.jar                                                            jarinbundle    apache2   
-httpclient_4.1.1.wso2v1.jar                                                     bundle         apache2   
-httpcore-nio_4.1.3.wso2v3.jar                                                   bundle         apache2   
-httpcore_4.1.0.wso2v1.jar                                                       bundle         apache2   
-httpcore_4.1.3.wso2v3.jar                                                       bundle         apache2   
-icu4j-3.8.jar                                                                   jarinbundle    ICU       
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.servlet_3.0.0.wso2v1.jar                                                  bundle         apache2   
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jclouds-bouncycastle_1.5.0.beta_5.jar                                           bundle         apache2   
-jclouds-compute_1.5.0.beta_5.jar                                                bundle         apache2   
-jclouds-core_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-enterprise_1.5.0.beta_5.jar                                             bundle         apache2   
-jclouds-joda_1.5.0.beta_5.jar                                                   bundle         apache2   
-jclouds-log4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-netty_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-scriptbuilder_1.5.0.beta_5.jar                                          bundle         apache2   
-jclouds-slf4j_1.5.0.beta_5.jar                                                  bundle         apache2   
-jclouds-sshj_1.5.0.beta_5.jar                                                   bundle         apache2   
-jdbc-pool_7.0.28.wso2v1.jar                                                     bundle         apache2   
-jdom_1.0.0.wso2v1.jar                                                           bundle         jdom      
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jetty-6.1.15.jar                                                                jarinbundle    apache2   
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-js-1.6R7.jar                                                                    jarinbundle    mpl11     
-js-1.6R7.jar                                                                    jar            mpl11     
-jsecurity-0.9.0.jar                                                             jarinbundle    apache2   
-json-simple-1.1.jar                                                             jarinbundle    apache2   
-json_1.0.0.wso2v1.jar                                                           bundle         json      
-json_2.0.0.wso2v1.jar                                                           bundle         json      
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jstl-1.2.jar                                                                    jarinbundle    cddl1   
-juel-api-2.1.2.jar                                                              jarinbundle    apache2   
-juel-impl-2.1.2.jar                                                             jarinbundle    apache2   
-jzlib_1.0.7.wso2v1.jar                                                          bundle         apache2   
-libthrift_0.7.0.wso2v2.jar                                                      bundle         apache2   
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-nekohtml-1.9.13.jar                                                             jarinbundle    apache2   
-net.schmizz.sshj_0.8.0.jar                                                      bundle         apache2   
-oauth-20090531.jar                                                              jarinbundle    apache2   
-oauth-provider-20090531.jar                                                     jarinbundle    apache2   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openstack-common_1.5.0.beta_5.jar                                               bundle         apache2   
-openstack-keystone_1.5.0.beta_5.jar                                             bundle         apache2   
-openstack-nova_1.5.0.beta_5.jar                                                 bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-org.eclipse.core.contenttype_3.4.100.v20110423-0524.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.300.v20110228.jar                              bundle         epl1      
-org.eclipse.core.jobs_3.5.100.v20110404.jar                                     bundle         epl1      
-org.eclipse.core.runtime_3.7.0.v20110110.jar                                    bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20110321.jar                                   bundle         epl1      
-org.eclipse.equinox.common_3.6.0.v20110523.jar                                  bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.200.v20110502.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.3.0.v20110502.jar                                      bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.300.v20110506.jar                bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.0.v20110502-1955.jar                     bundle         epl1      
-org.eclipse.equinox.http.servlet_1.0.200.v20090520-1800-wso2v1.jar              bundle         epl1      
-org.eclipse.equinox.launcher_1.2.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.4.0.v20110502.jar                             bundle         epl1      
-org.eclipse.equinox.registry_3.5.100.v20110502.jar                              bundle         epl1      
-org.eclipse.equinox.security_1.1.0.v20110502.jar                                bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110502-1955.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar               bundle         epl1      
-org.eclipse.equinox.util_1.0.300.v20110502.jar                                  bundle         epl1      
-org.eclipse.osgi.services_3.3.0.v20110513.jar                                   bundle         epl1      
-org.eclipse.osgi_3.7.0.v20110613.jar                                            bundle         epl1      
-org.jboss.netty_3.3.0.Final.jar                                                 bundle         apache2   
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.addressing_4.0.0.jar                                            bundle         apache2   
-org.wso2.carbon.application.deployer_4.0.2.jar                                  bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.bootstrap-4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.caching.core_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.caching_4.0.2.jar                                               bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.coordination.common_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.common_4.0.1.jar                                   bundle         apache2   
-org.wso2.carbon.coordination.core_4.0.2.jar                                     bundle         apache2   
-org.wso2.carbon.coordination.server_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.databridge.agent.thrift_4.0.5.jar                               bundle         apache2   
-org.wso2.carbon.databridge.commons.thrift_4.0.5.jar                             bundle         apache2   
-org.wso2.carbon.databridge.commons_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.datasource_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ec2-client_4.0.0.jar                                            bundle         apache2   
-org.wso2.carbon.endpoint_4.0.0.jar                                              bundle         apache2   
-org.wso2.carbon.event.admin_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.event.client.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.event.client_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.common_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.event.core_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.event.ws_4.0.2.jar                                              bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.0.4.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.0.4.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.i18n_4.0.5.jar                                                  bundle         apache2   
-org.wso2.carbon.lb.common_4.0.6.jar                                             bundle         apache2   
-org.wso2.carbon.lb.endpoint_4.0.3.jar                                           bundle         apache2   
-org.wso2.carbon.load.balance.cartridge.autoscaler.service.stub_1.0.0.jar        bundle         apache2   
-org.wso2.carbon.logging-4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging.propfile_1.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.logging_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediation.dependency.mgt_4.0.2.jar                              bundle         apache2   
-org.wso2.carbon.mediation.initializer_4.0.2.jar                                 bundle         apache2   
-org.wso2.carbon.mediation.registry_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.autoscale_4.0.6.jar                                    bundle         apache2   
-org.wso2.carbon.mediator.bridge-4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.mediator.clazz.services_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.mediator.command.services_4.0.0.jar                             bundle         apache2   
-org.wso2.carbon.mediator.event_4.0.2.jar                                        bundle         apache2   
-org.wso2.carbon.mediator.router.impl_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.module.mgt_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.0.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.0.5.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.ntask.common_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.ntask.core_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.ntask.solutions_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.operation.mgt_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.osgi.security_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.qpid.stub_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.queuing_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.registry.admin.api_4.0.1.jar                                    bundle         apache2   
-org.wso2.carbon.registry.api_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.common_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.core_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.registry.resource.stub_4.0.0.jar                                bundle         apache2   
-org.wso2.carbon.registry.resource_4.0.1.jar                                     bundle         apache2   
-org.wso2.carbon.registry.search.stub_4.0.0.jar                                  bundle         apache2   
-org.wso2.carbon.registry.search_4.0.1.jar                                       bundle         apache2   
-org.wso2.carbon.registry.server_4.0.2.jar                                       bundle         apache2   
-org.wso2.carbon.registry.servlet_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.relay.mediators.builder_4.0.0.jar                               bundle         apache2   
-org.wso2.carbon.relay.module_4.0.0.jar                                          bundle         apache2   
-org.wso2.carbon.relay_4.0.1.jar                                                 bundle         apache2   
-org.wso2.carbon.rm_4.0.0.jar                                                    bundle         apache2   
-org.wso2.carbon.roles.mgt.stub_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.securevault_4.0.0.jar                                           bundle         apache2   
-org.wso2.carbon.security.mgt_4.0.5.jar                                          bundle         apache2   
-org.wso2.carbon.sequences.common_4.0.0.jar                                      bundle         apache2   
-org.wso2.carbon.sequences_4.0.0.jar                                             bundle         apache2   
-org.wso2.carbon.server-4.0.2.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.0.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.0.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin_4.0.2.jar                                          bundle         apache2   
-org.wso2.carbon.service.mgt_4.0.5.jar                                           bundle         apache2   
-org.wso2.carbon.startup_4.0.0.jar                                               bundle         apache2   
-org.wso2.carbon.stratos.cloud.controller_1.0.0.jar                              bundle         apache2   
-org.wso2.carbon.task.services_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.task_4.0.0.jar                                                  bundle         apache2   
-org.wso2.carbon.throttle_4.0.2.jar                                              bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.0.2.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.0.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.0.1.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.0.5.jar                                                bundle         apache2   
-org.wso2.carbon.transport.https_4.0.0.jar                                       bundle         apache2   
-org.wso2.carbon.transport.http_4.0.0.jar                                        bundle         apache2   
-org.wso2.carbon.transport.mgt_4.0.0.jar                                         bundle         apache2   
-org.wso2.carbon.transport.nhttp_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.transports.passthru_1.0.2.jar                                   bundle         apache2   
-org.wso2.carbon.user.api_4.0.3.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.0.5.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.0.5.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.0.5.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt_4.0.5.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.0.5.jar                                                 bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v1.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v6.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v6.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v7.jar                                                  bundle         apache2   
-rocoto_6.1.0.wso2v1.jar                                                         bundle         apache2   
-rome-1.0.jar                                                                    jarinbundle    apache2   
-sanselan-0.97-incubator.jar                                                     jarinbundle    apache2   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-shindig-common-r910768-wso2v5.jar                                               jarinbundle    apache2   
-shindig-features-r910768-wso2v5.jar                                             jarinbundle    apache2   
-shindig-gadgets-r910768-wso2v5.jar                                              jarinbundle    apache2   
-shindig-social-api-r910768-wso2v5.jar                                           jarinbundle    apache2   
-shindig_1.1.0.wso2v6.jar                                                        bundle         apache2   
-slf4j.api_1.6.4.jar                                                             bundle         mit       
-slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
-synapse-commons_2.1.1.wso2v2.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v2.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v2.jar                                             bundle         apache2   
-synapse-nhttp-transport_2.1.1.wso2v2.jar                                        bundle         apache2   
-synapse-tasks_2.1.1.wso2v2.jar                                                  bundle         apache2   
-taglibs.standard_1.1.2.wso2v1.jar                                               bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.28.wso2v1.jar                                                     bundle         apache2   
-tomcat_7.0.28.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-wstx-1.0.7.jar                                                                  jarinbundle    apache2   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xercesImpl-2.9.1.jar                                                            jarinbundle    apache2   
-xkms_2.4.0.wso2v1.jar                                                           bundle         apache2   
-xml-apis-1.3.04.jar                                                             jarinbundle    apache2   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans-2.3.0.jar                                                              jar            apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-xmlParserAPIs-2.6.2.jar                                                         jarinbundle    apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-xpp3_min-1.1.4c.jar                                                             jarinbundle    public   
-xstream-1.3.1.jar                                                               jarinbundle    bsd   
-wso2-uri-templates_1.6.2.jar                                                    bundle         apache2
-org.apache.commons.el_1.0.0.v200806031608.jar                                   bundle         apache2
-org.apache.jasper_5.5.17.v200806031609.jar                                      bundle         apache2
-slf4j.log4j12_1.6.1.jar                                                         jarinbundle    mit
-slf4j.api_1.6.1.jar                                                             jarinbundle    mit
-
-
-
-The license types used by the above libraries and their information is given below:
-
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-mpl11          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/MPL-1.1.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.php
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-json           JSON.org License
-               null
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-jdom           JDOM License - Apache Styled
-               null
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-icu            ICU License
-               http://source.icu-project.org/repos/icu/icu/trunk/license.html
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/README.txt b/products/stratos_agent/1.0.0/README.txt
deleted file mode 100755
index 570dd49..0000000
--- a/products/stratos_agent/1.0.0/README.txt
+++ /dev/null
@@ -1,147 +0,0 @@
-================================================================================
-                        WSO2 Elastic Load Balancer 2.0.3
-================================================================================
-
-Welcome to the WSO2 Elastic Load Balancer 2.0.3 release
-
-WSO2 ELB is a lightweight and easy-to-use Open Source Elastic Load Balancer
-(ELB) available under the Apache Software License v2.0. WSO2 ELB allows
-administrators to simply configure message load balancing, failover routing,
-and auto scaling. The runtime has been designed to be completely
-asynchronous, non-blocking and streaming based on the Apache Synapse core.
-
-This is based on the revolutionary WSO2 Carbon [Middleware a' la carte]
-framework. All the major features have been developed as pluggable Carbon
-components. WSO2 Elastic Load Balancer is a compact version doing the load balancing
-features of WSO2 Enterprise Service Bus.
-
-
-Key Features of WSO2 ELB
-========================
-
-1. Non-blocking HTTP/S transports based on Apache HttpCore for ultra fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport. 
-2. Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support.
-3. Automatically scaling the system according to the number of requests in-flight for
-   a particular service cluster - "Scale up early, scale down slowly".
-4. Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-5. Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-6. Lightweight, XML and Web services centric messaging model.
-7. Administrator friendly - Configurations are simple and easy.
-
-System Requirements
-==================================
-
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-
-Installation & Running
-==================================
-
-1. Extract the wso2elb-2.0.3.zip and go to the extracted directory
-2. Run the wso2server.sh or wso2server.bat as appropriate
-3. Configure the load balancer to manage the load across the instants to be balanced.
-
-WSO2 ELB 2.0.3 distribution directory structure
-===============================================
-
-    CARBON_HOME
-	|- bin <folder>
-    |- dbscripts <folder>
-	|- lib <folder>
-	|- repository <folder>
-	|- tmp <folder>
-	|- LICENSE.txt <file>
-	|- README.txt <file>
-	|- INSTALL.txt <file>		
-	|- release-notes.html <file>
-
-    - bin
-	  Contains various scripts, .sh & .bat files
-
-    - dbscripts
-    Contains all the database scripts
-
-    - lib
-	  Contains the basic set of libraries required to startup ELB
-	  in standalone mode
-
-    - repository
-	  The repository where services and modules deployed in WSO2 ELB
-	  are stored. In addition to this, the components directory inside the
-	  repository directory contains the carbon runtime and the user added
-	  jar files including mediators, third party libraries etc. All
-	  global and LB specific configuration files, generated log files
-	  and other deployed artifacts are also housed under this directory.
-
-    - tmp
-	  Used for storing temporary files, and is pointed to by the
-	  java.io.tmpdir System property
-
-    - LICENSE.txt
-	  Apache License 2.0 and the relevant other licenses under which
-	  WSO2 ELB is distributed.
-
-    - README.txt
-	  This document.
-
-    - INSTALL.txt
-      This document will contain information on installing WSO2 ELB
-
-    - release-notes.html
-	  Release information for WSO2 ELB 2.0.3
-
-Support
-==================================
-
-WSO2 Inc. offers a variety of development and production support
-programs, ranging from Web-based support up through normal business
-hours, to premium 24x7 phone support.
-
-For additional support information please refer to http://wso2.com/support/
-
-For more information on WSO2 ELB, visit the WSO2 Oxygen Tank (http://wso2.org)
-
-Issue Tracker
-==================================
-
-  https://wso2.org/jira/browse/CARBON
-  https://wso2.org/jira/browse/LB
-
-Crypto Notice
-==================================
-
-   This distribution includes cryptographic software.  The country in
-   which you currently reside may have restrictions on the import,
-   possession, use, and/or re-export to another country, of
-   encryption software.  BEFORE using any encryption software, please
-   check your country's laws, regulations and policies concerning the
-   import, possession, or use, and re-export of encryption software, to
-   see if this is permitted.  See <http://www.wassenaar.org/> for more
-   information.
-
-   The U.S. Government Department of Commerce, Bureau of Industry and
-   Security (BIS), has classified this software as Export Commodity
-   Control Number (ECCN) 5D002.C.1, which includes information security
-   software using or performing cryptographic functions with asymmetric
-   algorithms.  The form and manner of this Apache Software Foundation
-   distribution makes it eligible for export under the License Exception
-   ENC Technology Software Unrestricted (TSU) exception (see the BIS
-   Export Administration Regulations, Section 740.13) for both object
-   code and source code.
-
-   The following provides more details on the included cryptographic
-   software:
-
-   Apache Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
---------------------------------------------------------------------------------
-(c) Copyright 2013 WSO2 Inc.

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/docs/xdoc/release-notes.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/docs/xdoc/release-notes.xml b/products/stratos_agent/1.0.0/docs/xdoc/release-notes.xml
deleted file mode 100644
index 524ef81..0000000
--- a/products/stratos_agent/1.0.0/docs/xdoc/release-notes.xml
+++ /dev/null
@@ -1,169 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2011, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-  <head>
-      <meta content="text/html; charset=iso-8859-1" http-equiv="content-type"/>
-      <title>WSO2 ELB v2.0.3 Release </title>
-  </head>
-  <body>
-  <div id="header">
-</div>
-
-<div id="main-content">
-<h1>The WSO2 Elastic Load Balancer (ELB) 2.0.3 Release - 28th January 2013!</h1>
-
-<p>
-    The WSO2 ELB team is pleased to announce the release of version 2.0.3 of
-    the Open Source Elastic Load Balancer (ELB).
-</p>
-
-<p>
-    WSO2 ELB is a fast, lightweight and user friendly open source Elastic Load Balancer (ELB)
-    distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache
-    Software License v2.0</a>. WSO2 ELB allows system administrators and developers to
-    easily configure fail over routing, load balancing, service aware load balancing, 
-    tenant aware load balancing and dynamic load balancing with auto scaling.The ELB runtime 
-    is designed to be completely asynchronous, non-blocking and streaming based on the 
-    <a href="http://synapse.apache.org">Apache Synapse</a> mediation engine.
-</p>
-
-<p>
-    WSO2 ELB 2.0.3 is developed on top of the revolutionary
-    <a href="http://wso2.org/projects/carbon">WSO2 Carbon platform</a> (Middleware a' la carte),
-    an OSGi based framework that provides seamless modularity to your SOA via
-    componentization. This release also contains many new features and a range of optional
-    components (add-ons) that can be installed to customize the behavior of the ELB. Further, any
-    existing features of the ELB which are not required to your environment can be easily
-    removed using the underlying provisioning framework of Carbon. In brief, WSO2 ELB can
-    be fully customized and tailored to meet your exact SOA needs.
-</p>
-
-<p>
-    You can download this distribution from <a href="http://wso2.com/products/elastic-load-balancer/">
-    http://wso2.com/products/elastic-load-balancer/</a> our product page and give it a try.</p>
-
-<h2>How to Run </h2>
-<ol>
-  <li>Extract the downloaded zip</li>
-  <li>Go to the bin directory in the extracted folder</li>
-  <li>Run the wso2server.sh or wso2server.bat as appropriate</li>
-  <li>Configure the load balancer to manage the load across the instances to be balanced.</li>
-  <li>If you need to start the OSGi console with the server use the property
-    -DosgiConsole when starting the server. The INSTALL.txt file found on the
-    installation directory will give you a comprehensive set of options and
-    properties that can be passed into the startup script</li>
-</ol>
-
-<h2>Key Features of WSO2 ELB</h2>
-<ul>
-  <li>Non-blocking HTTP/S transports based on Apache HttpCore-NIO for ultra-fast
-   execution and support for thousands of connections at high concurrency with
-   constant memory usage. Integrated high performing, Passthrough Transport.</li>
-  <li>Load-balancing (with or without sticky sessions)/Fail-over, and clustered
-   Throttling and Caching support</li>
-  <li>Lightweight, XML and Web services centric messaging model</li>
-  <li><b>NEW! Automatically scaling the system according to the number of requests in-flight for 
-          a particular service cluster - "Scale up early, scale down slowly"</b> 
-  </li>
-  <li>Service aware dynamic load balancing - A single load balancer
-   can centrally manage the load across the nodes of different service clusters.
-  </li>
-  <li>Tenant aware load balancing - Tenants can be loaded and unloaded dynamically.
-   Tenants can be partitioned to different service clusters.
-</ul>
-
-<h2>Known Issues</h2>
-<p>
-    All the open issues pertaining to WSO2 ELB 2.0.3 are reported at following
-    locations:
-</p>
-
-<ul>
-    <li>
-        <a href="http://goo.gl/W8KYs">
-            Open ELB issues
-        </a>
-    </li>
-</ul>
-
-    <h2>Release 2.0.3</h2>
-    <p>Change Log: This release brings out the autoscaling support for ELB and also contains fixes for some critical issues.</p>
-    <ol>
-        <li>LB-17 - SSO Enables deployment does not work with load balancer.</li>
-        <li>LB-31 - No response code in the access log.</li>
-        <li>LB-37 - Browser tries to save the page sent via LB time to time rather than display it.</li>
-        <li>LB-51 - Disable management console in LB and do not print mgmt console URL at startup.</li>
-        <li>LB-52 - When member leaves the cluster, session continued to bind to that cluster member.</li>
-        <li>LB-55 - Make autoscaling algorithm configurable.</li>
-        <li>LB-64 - Failover is broken in ELB.</li>
-        <li>LB-65 - If one member of a cluster is going off and during that time, the requests redirected to that member by the load balancer, will be failed with a timeout, until the load balancer gets updated that this member has left cluster.</li>
-        <li>LB-66 - Embed Cloud Controller Service aka Autoscaler Service into ELB.</li>
-    </ol>
-
-<h2>How You Can Contribute</h2>
-    <h3>
-      Mailing Lists
-    </h3>
-    <p>
-      Join our mailing list and correspond with the developers directly.
-    </p>
-    <ul>
-      <li>
-        Developer List : <a href="mailto:dev@wso2.org">dev@wso2.org</a>
-        | <a href="mailto:dev-request@wso2.org?subject=subscribe">Subscribe</a>
-        | <a href="http://wso2.org/mailarchive/carbon-dev/">Mail Archive</a>
-      </li>
-    </ul>
-    <h3>
-      Reporting Issues
-    </h3>
-    <p>
-      We encourage you to report issues, documentation faults and feature requests regarding
-      WSO2 ELB through the public <a href="https://wso2.org/jira/browse/LB">ELB JIRA</a>. You
-      can use the <a href="https://wso2.org/jira/browse/CARBON">Carbon JIRA</a> to report any
-      issues related to the Carbon base framework or associated Carbon components.
-    </p>
-
-    <h3>
-      Discussion Forums
-    </h3>
-    <p>
-      Alternatively, questions could be raised using <a href="http://stackoverflow.com/questions/tagged/wso2">StackOverflow</a> website.
-    </p>
-
-<h2>Support</h2>
-<p>
-    We are committed to ensuring that your enterprise middleware deployment is
-    completely supported from evaluation to production. Our unique approach
-    ensures that all support leverages our open development methodology and is
-    provided by the very same engineers who build the technology.
-</p>
-<p>
-    For more details and to take advantage of this unique opportunity please
-    visit <a href="http://wso2.com/support">http://wso2.com/support</a>.
-</p>
-
-<p><i>-- The WSO2 ELB Team --</i> </p>
-</div>
-  </body>
-</html>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/pom.xml b/products/stratos_agent/1.0.0/modules/distribution/pom.xml
deleted file mode 100755
index 44e7e82..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/pom.xml
+++ /dev/null
@@ -1,594 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-        
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.agent</groupId>
-        <artifactId>agent-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2s2agent</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 stratos agent - Distribution</name>
-    <url>http://wso2.org/projects/load-balancer</url>
-    <description>WSO2 Stratos Agent Distribution</description>
-
-    <dependencies>
-
-        <!-- Carbon core distribution -->
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>wso2carbon-core</artifactId>
-            <version>${carbon.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>
-
-        <dependency>
-            <groupId>org.apache.rampart</groupId>
-            <artifactId>rampart</artifactId>
-            <type>mar</type>
-            <version>1.6.1-wso2v9</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>
-        <!-- Eventing components -->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.core</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.impl</artifactId>
-            <version>${carbon.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.broker</artifactId>
-            <version>${carbon.version}</version>
-        </dependency-->
-        <!-- Eventsource component.-->
-	      <!-- Removed since this is not required by LB product.-->
-        <!--dependency>
-            <groupId>org.wso2.carbon</groupId>
-            <artifactId>org.wso2.carbon.eventing.eventsource</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>org.wso2.andes.wso2</groupId>
-            <artifactId>andes-client</artifactId>
-            <version>0.13.wso2v5</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.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>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>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
- 	    <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <version>1.1</version>
-                <executions>
-                    <execution>
-                        <id>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="false">
-                                    <fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components/">
-                                    </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>
-                                <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/sources"/>
-                                <delete dir="target/site"/>
-                                <delete dir="src/site"/>
-                            </tasks>
-                        </configuration>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>   
-
-
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>pre_dist</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/dist.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>dist</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>attached</goal>
-                        </goals>
-                        <configuration>
-                            <filters>
-                                <filter>${basedir}/src/main/assembly/filter.properties</filter>
-                            </filters>
-                            <descriptors>
-                                <descriptor>src/main/assembly/bin.xml</descriptor>
-                            </descriptors>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-    
-</project>


[4/5] refactor - stratos agent group id, artifact id, name, parents, dependencies, doc and licenses

Posted by la...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/bin.xml b/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/bin.xml
deleted file mode 100755
index 8a8aead..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/bin.xml
+++ /dev/null
@@ -1,167 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/wso2carbon-core-${carbon.version}</directory>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <excludes>
-                <exclude>**/*.sh</exclude>
-                <exclude>**/native/*</exclude>
-                <exclude>**/services/sample01.aar</exclude>
-                <exclude>**/repository/services/version/**</exclude>
-                <exclude>**/version.txt</exclude>
-                <exclude>**/wso2server.bat</exclude>
-                <exclude>**/README.txt</exclude>
-                <exclude>**/LICENSE.txt</exclude>
-                <exclude>**/INSTALL.txt</exclude>
-                <exclude>**/release-notes.html</exclude>
-                <exclude>**/carbon.xml</exclude>
-                <exclude>**/wsdl2java.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/java2wsdl.*</exclude>
-                <exclude>**/tcpmon.*</exclude>
-                <exclude>**/build.xml</exclude>
-                <exclude>**/repository/components/plugins/*.ui*</exclude>
-                <!--exclude>**/samples/*</exclude-->
-            </excludes>
-        </fileSet>
-    </fileSets>
-
-    <dependencySets>
-        <!-- use the new tool to create a bundles -->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/lib/core/WEB-INF/lib</outputDirectory>
-            <includes>
-                <include>org.wso2.carbon:org.wso2.carbon.mediator.bridge:jar</include>
-            </includes>
-        </dependencySet>
-        <!--dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/samples/axis2Client/client_repo/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/samples/axis2Server/repository/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.axis2:addressing:mar</include>
-                <include>org.apache.rampart:rampart:mar</include>
-                <include>org.apache.sandesha2:sandesha2:mar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet-->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/axis2/client/lib</outputDirectory>
-            <includes>
-                <include>bouncycastle:bcprov-jdk15:jar</include>
-            </includes>
-            <outputFileNameMapping>${artifact.artifactId}.${artifact.extension}
-            </outputFileNameMapping>
-        </dependencySet>
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/deployment/client/modules
-            </outputDirectory>
-            <includes>
-                <include>org.apache.rampart:rampart:mar</include>
-            </includes>
-        </dependencySet>
-        <!-- MB Client libs -->
-        <dependencySet>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/components/dropins</outputDirectory>
-            <includes>
-                <include>org.wso2.andes.wso2:andes-client:jar</include>
-                <include>org.apache.geronimo.specs.wso2:geronimo-jms_1.1_spec:jar</include>
-                <!--include>org.wso2.carbon:org.wso2.carbon.event.client.stub:jar</include>
-                <include>org.wso2.carbon:org.wso2.carbon.event.client:jar</include-->
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-    <files>
-        <file>
-            <source>src/main/bin/wso2server.sh</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.sh</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>src/main/bin/wso2server.bat</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin</outputDirectory>
-            <destName>wso2server.bat</destName>
-            <fileMode>755</fileMode>
-            <filtered>true</filtered>
-        </file>
-
-                                                                
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>../../docs/xdoc/release-notes.xml</source>
-            <outputDirectory>wso2s2agent-${pom.version}</outputDirectory>
-            <destName>release-notes.html</destName>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>target/wso2carbon-core-${carbon.version}/bin/version.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}/bin/</outputDirectory>
-            <filtered>true</filtered>
-            <fileMode>644</fileMode>
-        </file>
-        <file>
-            <source>
-                target/wso2carbon-core-${carbon.version}/repository/conf/carbon.xml
-            </source>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/conf/</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-	<file>
-            <source>../p2-profile/target/wso2carbon-core-${carbon.version}/repository/conf/agent.properties</source>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/conf</outputDirectory>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/dist.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/dist.xml b/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/dist.xml
deleted file mode 100644
index 7c67b15..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/dist.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <!-- Copying p2 profile and osgi bundles-->
-        <fileSet>
-            <directory>../p2-profile/target/wso2carbon-core-${carbon.kernel.version}/repository/components</directory>
-            <outputDirectory>wso2s2agent-${pom.version}/repository/components</outputDirectory>
-            <excludes>
-                <exclude>**/eclipse.ini</exclude>
-                <exclude>**/*.lock</exclude>
-                <exclude>**/.data</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/synapse-samples*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/docs.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/docs.xml b/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/docs.xml
deleted file mode 100644
index 70e2826..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/docs.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>docs</id>
-    <formats>
-        <format>zip</format>
-    </formats>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <fileSets>
-        <fileSet>
-            <directory>target/site</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-docs</outputDirectory>
-            <fileMode>755</fileMode>
-        </fileSet>
-    </fileSets>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/filter.properties
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/filter.properties b/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/filter.properties
deleted file mode 100644
index b031036..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/filter.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-product.name=WSO2 Stratos Agent
-product.key=Agent
-product.version=1.0.0
-
-carbon.version=4.1.1
-lb.version=1.0.0
-default.server.role=ElasticLoadBalancer
-bundle.creators=org.wso2.carbon.mediator.bridge.MediatorBundleCreator

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/src.xml b/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/src.xml
deleted file mode 100644
index a95d025..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/assembly/src.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-<!--
- ~ Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
- ~
- ~ WSO2 Inc. licenses this file to you under the Apache License,
- ~ Version 2.0 (the "License"); you may not use this file except
- ~ in compliance with the License.
- ~ You may obtain a copy of the License at
- ~
- ~    http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing,
- ~ software distributed under the License is distributed on an
- ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- ~ KIND, either express or implied.  See the License for the
- ~ specific language governing permissions and limitations
- ~ under the License.
- -->
-<assembly>
-    <id>src</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <formats>
-        <format>zip</format>
-    </formats>
-
-    <fileSets>
-        <fileSet>
-            <directory>target/sources</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>**/*</include>
-            </includes>
-        </fileSet>
-        <fileSet>
-            <directory>../..</directory>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <includes>
-                <include>modules/**/*</include>
-                <include>**/pom.xml</include>
-            </includes>
-            <excludes>
-                <exclude>**/target</exclude>
-                <exclude>**/target/**/*</exclude>
-                <exclude>**/build</exclude>
-                <exclude>**/build/**/*</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.classpath</exclude>
-                <exclude>**/.project</exclude>
-                <exclude>**/.wtpmodules</exclude>
-                <exclude>**/*.iml</exclude>
-                <exclude>**/.settings</exclude>
-                <exclude>**/.settings/**/*</exclude>
-            </excludes>
-        </fileSet>
-    </fileSets>
-    <files>
-        <file>
-            <source>../../LICENSE.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../README.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-        <file>
-            <source>../../INSTALL.txt</source>
-            <outputDirectory>wso2s2agent-${pom.version}-src</outputDirectory>
-            <filtered>true</filtered>
-        </file>
-    </files>
-</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.bat
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.bat b/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.bat
deleted file mode 100644
index 3274bc6..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.bat
+++ /dev/null
@@ -1,170 +0,0 @@
-@echo off
-
-REM ---------------------------------------------------------------------------
-REM        Copyright 2005-2009 WSO2, Inc. http://www.wso2.org
-REM
-REM  Licensed under the Apache License, Version 2.0 (the "License");
-REM  you may not use this file except in compliance with the License.
-REM  You may obtain a copy of the License at
-REM
-REM      http://www.apache.org/licenses/LICENSE-2.0
-REM
-REM  Unless required by applicable law or agreed to in writing, software
-REM  distributed under the License is distributed on an "AS IS" BASIS,
-REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-REM  See the License for the specific language governing permissions and
-REM  limitations under the License.
-
-rem ---------------------------------------------------------------------------
-rem Main Script for WSO2 Carbon
-rem
-rem Environment Variable Prequisites
-rem
-rem   CARBON_HOME   Home of CARBON installation. If not set I will  try
-rem                   to figure it out.
-rem
-rem   JAVA_HOME       Must point at your Java Development Kit installation.
-rem
-rem   JAVA_OPTS       (Optional) Java runtime options used when the commands
-rem                   is executed.
-rem ---------------------------------------------------------------------------
-
-rem ----- if JAVA_HOME is not set we're not happy ------------------------------
-:checkJava
-
-if "%JAVA_HOME%" == "" goto noJavaHome
-if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome
-goto checkServer
-
-:noJavaHome
-echo "You must set the JAVA_HOME variable before running CARBON."
-goto end
-
-rem ----- Only set CARBON_HOME if not already set ----------------------------
-:checkServer
-rem %~sdp0 is expanded pathname of the current script under NT with spaces in the path removed
-if "%CARBON_HOME%"=="" set CARBON_HOME=%~sdp0..
-SET curDrive=%cd:~0,1%
-SET wsasDrive=%CARBON_HOME:~0,1%
-if not "%curDrive%" == "%wsasDrive%" %wsasDrive%:
-
-rem find CARBON_HOME if it does not exist due to either an invalid value passed
-rem by the user or the %0 problem on Windows 9x
-if not exist "%CARBON_HOME%\bin\version.txt" goto noServerHome
-
-set AXIS2_HOME=%CARBON_HOME%
-goto updateClasspath
-
-:noServerHome
-echo CARBON_HOME is set incorrectly or CARBON could not be located. Please set CARBON_HOME.
-goto end
-
-rem ----- update classpath -----------------------------------------------------
-:updateClasspath
-
-setlocal EnableDelayedExpansion
-cd %CARBON_HOME%
-set CARBON_CLASSPATH=
-FOR %%C in ("%CARBON_HOME%\bin\*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\bin\%%~nC%%~xC"
-
-set CARBON_CLASSPATH="%JAVA_HOME%\lib\tools.jar";%CARBON_CLASSPATH%;
-
-FOR %%D in ("%CARBON_HOME%\lib\commons-lang*.jar") DO set CARBON_CLASSPATH=!CARBON_CLASSPATH!;".\lib\%%~nD%%~xD"
-
-rem ----- Process the input command -------------------------------------------
-
-rem Slurp the command line arguments. This loop allows for an unlimited number
-rem of arguments (up to the command line limit, anyway).
-
-
-:setupArgs
-if ""%1""=="""" goto doneStart
-
-if ""%1""==""-run""     goto commandLifecycle
-if ""%1""==""--run""    goto commandLifecycle
-if ""%1""==""run""      goto commandLifecycle
-
-if ""%1""==""-restart""  goto commandLifecycle
-if ""%1""==""--restart"" goto commandLifecycle
-if ""%1""==""restart""   goto commandLifecycle
-
-if ""%1""==""debug""    goto commandDebug
-if ""%1""==""-debug""   goto commandDebug
-if ""%1""==""--debug""  goto commandDebug
-
-if ""%1""==""version""   goto commandVersion
-if ""%1""==""-version""  goto commandVersion
-if ""%1""==""--version"" goto commandVersion
-
-shift
-goto setupArgs
-
-rem ----- commandVersion -------------------------------------------------------
-:commandVersion
-shift
-type "%CARBON_HOME%\bin\version.txt"
-type "%CARBON_HOME%\bin\wso2carbon-version.txt"
-goto end
-
-rem ----- commandDebug ---------------------------------------------------------
-:commandDebug
-shift
-set DEBUG_PORT=%1
-if "%DEBUG_PORT%"=="" goto noDebugPort
-if not "%JAVA_OPTS%"=="" echo Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option.
-set JAVA_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=%DEBUG_PORT%
-echo Please start the remote debugging client to continue...
-goto findJdk
-
-:noDebugPort
-echo Please specify the debug port after the --debug option
-goto end
-
-
-:doneStart
-if "%OS%"=="Windows_NT" @setlocal
-if "%OS%"=="WINNT" @setlocal
-
-rem ---------- Handle the SSL Issue with proper JDK version --------------------
-rem find the version of the jdk
-:findJdk
-
-set CMD=RUN %*
-
-:checkJdk16
-"%JAVA_HOME%\bin\java" -version 2>&1 | findstr /r "1.[6|7]" >NUL
-IF ERRORLEVEL 1 goto unknownJdk
-goto jdk16
-
-:unknownJdk
-echo Starting WSO2 Carbon (in unsupported JDK)
-echo [ERROR] CARBON is supported only on JDK 1.6 and 1.7
-goto jdk16
-
-:jdk16
-goto runServer
-
-rem ----------------- Execute The Requested Command ----------------------------
-
-:runServer
-cd %CARBON_HOME%
-
-rem ---------- Add jars to classpath ----------------
-
-set CARBON_CLASSPATH=.\lib;%CARBON_CLASSPATH%
-
-set JAVA_ENDORSED=".\lib\endorsed";"%JAVA_HOME%\jre\lib\endorsed";"%JAVA_HOME%\lib\endorsed"
-
-set CMD_LINE_ARGS=-Xbootclasspath/a:%CARBON_XBOOTCLASSPATH% -Xms1500m -Xmx3000m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=%CARBON_HOME%\repository\logs\heap-dump.hprof -Dcom.sun.management.jmxremote -classpath %CARBON_CLASSPATH% %JAVA_OPTS% -Djava.endorsed.dirs=%JAVA_ENDORSED% -Dcarbon.registry.root=/ -Dcarbon.home="%CARBON_HOME%" -Dloadbalancer.conf="file:///%CARBON_HOME%/repository/conf/loadbalancer.conf" -Dwso2.server.standalone=true -Djava.command="%JAVA_HOME%\bin\java" -Djava.opts="%JAVA_OPTS%" -Djava.io.tmpdir="%CARBON_HOME%\tmp" -Dcatalina.base="%CARBON_HOME%\lib\tomcat" -Dwso2.carbon.xml=%CARBON_HOME%\repository\conf\carbon.xml -Dwso2.registry.xml="%CARBON_HOME%\repository\conf\registry.xml" -Dwso2.user.mgt.xml="%CARBON_HOME%\repository\conf\user-mgt.xml" -Djava.util.logging.config.file="%CARBON_HOME%\repository\conf\log4j.properties" -
 Dcarbon.config.dir.path="%CARBON_HOME%\repository\conf" -Dconf.location="%CARBON_HOME%\repository\conf" -Dcarbon.logs.path="%CARBON_HOME%\repository\logs" -Dcomponents.repo="%CARBON_HOME%\repository\components" -Dcom.atomikos.icatch.file="%CARBON_HOME%\lib\transactions.properties" -Dcom.atomikos.icatch.hide_init_file_path="true" -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dcom.sun.jndi.ldap.connect.pool.authentication=simple -Dcom.sun.jndi.ldap.connect.pool.timeout=3000 -Dorg.terracotta.quartz.skipUpdateCheck=true -Dcarbon.classpath=%CARBON_CLASSPATH% -Dfile.encoding=UTF8
-
-:runJava
-echo JAVA_HOME environment variable is set to %JAVA_HOME%
-echo CARBON_HOME environment variable is set to %CARBON_HOME%
-"%JAVA_HOME%\bin\java" %CMD_LINE_ARGS% org.wso2.carbon.bootstrap.Bootstrap %CMD%
-if "%ERRORLEVEL%"=="121" goto runJava
-:end
-goto endlocal
-
-:endlocal
-
-:END

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.sh
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.sh b/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.sh
deleted file mode 100644
index 253a33f..0000000
--- a/products/stratos_agent/1.0.0/modules/distribution/src/main/bin/wso2server.sh
+++ /dev/null
@@ -1,299 +0,0 @@
-#!/bin/sh
-# ----------------------------------------------------------------------------
-#  Copyright WSO2, Inc. http://www.wso2.org
-#
-#  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.
-
-# ----------------------------------------------------------------------------
-# Main Script for the WSO2 Carbon Server
-#
-# Environment Variable Prequisites
-#
-#   CARBON_HOME   Home of WSO2 Carbon installation. If not set I will  try
-#                   to figure it out.
-#
-#   JAVA_HOME       Must point at your Java Development Kit installation.
-#
-#   JAVA_OPTS       (Optional) Java runtime options used when the commands
-#                   is executed.
-#
-# NOTE: Borrowed generously from Apache Tomcat startup scripts.
-# -----------------------------------------------------------------------------
-
-# OS specific support.  $var _must_ be set to either true or false.
-
-cygwin=false;
-darwin=false;
-os400=false;
-mingw=false;
-case "`uname`" in
-CYGWIN*) cygwin=true;;
-MINGW*) mingw=true;;
-OS400*) os400=true;;
-Darwin*) darwin=true
-        if [ -z "$JAVA_VERSION" ] ; then
-             JAVA_VERSION="CurrentJDK"
-           else
-             echo "Using Java version: $JAVA_VERSION"
-           fi
-           if [ -z "$JAVA_HOME" ] ; then
-             JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
-           fi
-           ;;
-esac
-
-# resolve links - $0 may be a softlink
-PRG="$0"
-
-while [ -h "$PRG" ]; do
-  ls=`ls -ld "$PRG"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '.*/.*' > /dev/null; then
-    PRG="$link"
-  else
-    PRG=`dirname "$PRG"`/"$link"
-  fi
-done
-
-# Get standard environment variables
-PRGDIR=`dirname "$PRG"`
-
-# Only set CARBON_HOME if not already set
-[ -z "$CARBON_HOME" ] && CARBON_HOME=`cd "$PRGDIR/.." ; pwd`
-
-# Set AXIS2_HOME. Needed for One Click JAR Download
-AXIS2_HOME=$CARBON_HOME
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched
-if $cygwin; then
-  [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-  [ -n "$CARBON_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-  [ -n "$AXIS2_HOME" ] && CARBON_HOME=`cygpath --unix "$CARBON_HOME"`
-fi
-
-# For OS400
-if $os400; then
-  # Set job priority to standard for interactive (interactive - 6) by using
-  # the interactive priority - 6, the helper threads that respond to requests
-  # will be running at the same priority as interactive jobs.
-  COMMAND='chgjob job('$JOBNAME') runpty(6)'
-  system $COMMAND
-
-  # Enable multi threading
-  QIBM_MULTI_THREADED=Y
-  export QIBM_MULTI_THREADED
-fi
-
-# For Migwn, ensure paths are in UNIX format before anything is touched
-if $mingw ; then
-  [ -n "$CARBON_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  [ -n "$JAVA_HOME" ] &&
-    JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`"
-  [ -n "$AXIS2_HOME" ] &&
-    CARBON_HOME="`(cd "$CARBON_HOME"; pwd)`"
-  # TODO classpath?
-fi
-
-if [ -z "$JAVACMD" ] ; then
-  if [ -n "$JAVA_HOME"  ] ; then
-    if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
-      # IBM's JDK on AIX uses strange locations for the executables
-      JAVACMD="$JAVA_HOME/jre/sh/java"
-    else
-      JAVACMD="$JAVA_HOME/bin/java"
-    fi
-  else
-    JAVACMD=java
-  fi
-fi
-
-if [ ! -x "$JAVACMD" ] ; then
-  echo "Error: JAVA_HOME is not defined correctly."
-  echo " CARBON cannot execute $JAVACMD"
-  exit 1
-fi
-
-# if JAVA_HOME is not set we're not happy
-if [ -z "$JAVA_HOME" ]; then
-  echo "You must set the JAVA_HOME variable before running CARBON."
-  exit 1
-fi
-
-# ----- Process the input command ----------------------------------------------
-for c in $*
-do
-    if [ "$c" = "--debug" ] || [ "$c" = "-debug" ] || [ "$c" = "debug" ]; then
-          CMD="--debug"
-          continue
-    elif [ "$CMD" = "--debug" ]; then
-          if [ -z "$PORT" ]; then
-                PORT=$c
-          fi
-    elif [ "$c" = "--n" ] || [ "$c" = "-n" ] || [ "$c" = "n" ]; then
-          CMD="--n"
-          continue
-    elif [ "$CMD" = "--n" ]; then
-          if [ -z "$INSTANCES" ]; then
-                INSTANCES=$c
-          fi
-    elif [ "$c" = "--stop" ] || [ "$c" = "-stop" ] || [ "$c" = "stop" ]; then
-          CMD="stop"
-    elif [ "$c" = "--start" ] || [ "$c" = "-start" ] || [ "$c" = "start" ]; then
-          CMD="start"
-    elif [ "$c" = "--console" ] || [ "$c" = "-console" ] || [ "$c" = "console" ]; then
-          CMD="console"
-    elif [ "$c" = "--version" ] || [ "$c" = "-version" ] || [ "$c" = "version" ]; then
-          CMD="version"
-    elif [ "$c" = "--restart" ] || [ "$c" = "-restart" ] || [ "$c" = "restart" ]; then
-          CMD="restart"
-    elif [ "$c" = "--dump" ] || [ "$c" = "-dump" ] || [ "$c" = "dump" ]; then
-          CMD="dump"
-    elif [ "$c" = "--test" ] || [ "$c" = "-test" ] || [ "$c" = "test" ]; then
-          CMD="test"
-    elif [ "$c" = "--status" ] || [ "$c" = "-status" ] || [ "$c" = "status" ]; then
-          CMD="status"
-    fi
-done
-
-if [ "$CMD" = "--debug" ]; then
-  if [ "$PORT" = "" ]; then
-    echo " Please specify the debug port after the --debug option"
-    exit 1
-  fi
-  if [ -n "$JAVA_OPTS" ]; then
-    echo "Warning !!!. User specified JAVA_OPTS will be ignored, once you give the --debug option."
-  fi
-  CMD="RUN"
-  JAVA_OPTS="-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=$PORT"
-  echo "Please start the remote debugging client to continue..."
-elif [ "$CMD" = "--n" ]; then
-  if [ "$INSTANCES" = "" ] || [ ! -z `echo $INSTANCES | sed 's/[0-9]//g'` ]]; then
-    echo " Please specify the number of instances to start after the --n option"
-    exit 1
-  fi
-elif [ "$CMD" = "start" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  nohup $CARBON_HOME/bin/wso2server.sh &
-  exit 0
-elif [ "$CMD" = "stop" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -9 `cat $CARBON_HOME/wso2carbon.pid`
-  exit 0
-elif [ "$CMD" = "restart" ]; then
-  export CARBON_HOME=$CARBON_HOME
-  kill -term `cat $CARBON_HOME/wso2carbon.pid`
-  process_status=0
-  pid=`cat $CARBON_HOME/wso2carbon.pid`
-  while [ "$process_status" -eq "0" ]
-  do
-    sleep 1;
-    ps -p$pid 2>&1 > /dev/null
-    process_status=$?
-  done
-
-  # using nohup bash to avoid erros in solaris OS.TODO
-  nohup bash $CARBON_HOME/bin/wso2server.sh > /dev/null 2>&1 &
-  exit 0
-elif [ "$CMD" = "test" ]; then
-    JAVACMD="exec "$JAVACMD""
-elif [ "$CMD" = "version" ]; then
-  cat $CARBON_HOME/bin/version.txt
-  cat $CARBON_HOME/bin/wso2carbon-version.txt
-  exit 0
-fi
-
-jdk_16=`$JAVA_HOME/bin/java -version 2>&1 | grep "1.[6|7]"`
-
-if [ "$jdk_16" = "" ]; then
-   echo " [ERROR] CARBON is supported only on JDK 1.6 and 1.7"
-   exit 1
-fi
-
-CARBON_CLASSPATH=""
-if [ -e "$JAVA_HOME/lib/tools.jar" ]; then
-   if [ "$f" != "$JAVA_HOME/lib/tools.jar" ];then
-        CARBON_CLASSPATH="$JAVA_HOME/lib/tools.jar"
-   fi
-fi
-
-CARBON_XBOOTCLASSPATH=""
-for f in "$CARBON_HOME"/lib/xboot/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/lib/xboot/*.jar" ];then
-        CARBON_XBOOTCLASSPATH="$CARBON_XBOOTCLASSPATH":$f
-    fi
-done
-
-JAVA_ENDORSED_DIRS="$CARBON_HOME/lib/endorsed":"$JAVA_HOME/jre/lib/endorsed":"$JAVA_HOME/lib/endorsed"
-
-for f in "$CARBON_HOME"/bin/*.jar
-do
-    if [ "$f" != "$CARBON_HOME/bin/*.jar" ];then
-        CARBON_CLASSPATH="$CARBON_CLASSPATH":$f
-    fi
-done
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin; then
-  JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"`
-  CARBON_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  AXIS2_HOME=`cygpath --absolute --windows "$CARBON_HOME"`
-  CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
-  JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
-  CARBON_CLASSPATH=`cygpath --path --windows "$CARBON_CLASSPATH"`
-  CARBON_XBOOTCLASSPATH=`cygpath --path --windows "$CARBON_XBOOTCLASSPATH"`
-fi
-
-# ----- Execute The Requested Command -----------------------------------------
-
-echo JAVA_HOME environment variable is set to $JAVA_HOME
-echo CARBON_HOME environment variable is set to $CARBON_HOME
-
-cd "$CARBON_HOME"
-
-exec "$JAVACMD" \
-        -Xbootclasspath/a:"$CARBON_XBOOTCLASSPATH" \
-        -d64 \
-        -server \
-        -Xms1500m -Xmx3000m \
-        -XX:PermSize=256m -XX:MaxPermSize=512m \
-        -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:-UseGCOverheadLimit \
-        -XX:+CMSClassUnloadingEnabled \
-        -XX:+OptimizeStringConcat \
-        -XX:+HeapDumpOnOutOfMemoryError \
-        -XX:OnOutOfMemoryError="kill -9 `echo $$`;nohup ./wso2server.sh &" \
-        -XX:HeapDumpPath=repository/logs/heap-dump.hprof \
-        -XX:ErrorFile=repository/logs/hs_err_pid.log \
-        -XX:OnError="nohup ./wso2server.sh &" \
-        $JAVA_OPTS \
-        -Dcarbon.pid=$$ \
-        -Dcom.sun.management.jmxremote \
-        -Dwso2.loadbalancer=true \
-        -classpath "$CARBON_CLASSPATH" \
-        -Djava.endorsed.dirs="$JAVA_ENDORSED_DIRS" \
-        -Djava.io.tmpdir="$CARBON_HOME/tmp" \
-        -Dwso2.server.standalone=true \
-        -Dcarbon.registry.root=/ \
-        -Dcarbon.home="$CARBON_HOME" \
-        -Dloadbalancer.conf=file:repository/conf/loadbalancer.conf \
-        -Djava.util.logging.config.file="$CARBON_HOME/lib/log4j.properties" \
-        -Dcarbon.config.dir.path="$CARBON_HOME/repository/conf" \
-        -Dconf.location="$CARBON_HOME/repository/conf" \
-        -Dcomponents.repo="$CARBON_HOME/repository/components/plugins" \
-        -Dcom.atomikos.icatch.file="$CARBON_HOME/lib/transactions.properties" \
-        -Dcom.atomikos.icatch.hide_init_file_path=true \
-        -Dorg.terracotta.quartz.skipUpdateCheck=true \
-        org.wso2.carbon.bootstrap.Bootstrap $*
-
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/modules/p2-profile/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/modules/p2-profile/pom.xml b/products/stratos_agent/1.0.0/modules/p2-profile/pom.xml
deleted file mode 100755
index 70d3311..0000000
--- a/products/stratos_agent/1.0.0/modules/p2-profile/pom.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (c) WSO2 Inc. (http://wso2.com) 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.agent</groupId>
-        <artifactId>agent-parent</artifactId>
-        <version>1.0.0</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>wso2agent-p2-profile-gen</artifactId>
-    <packaging>pom</packaging>
-    <name>WSO2 Stratos Agent - P2 Profile Generation</name>
-    <url>http://www.wso2.org</url>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.0-alpha-4</version>
-                <inherited>false</inherited>
-                <executions>
-                    <execution>
-                        <id>unpack-carbon-core</id>
-                        <phase>test</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.wso2.carbon</groupId>
-                                    <artifactId>wso2carbon-core</artifactId>
-                                    <version>${carbon.kernel.version}</version>
-                                    <type>zip</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>target</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.wso2.maven</groupId>
-                <artifactId>carbon-p2-plugin</artifactId>
-                <version>${carbon.p2.plugin.version}</version>
-                <executions>
-                    <execution>
-                        <id>2-p2-repo-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-repo-gen</goal>
-                        </goals>
-                        <configuration>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <publishArtifacts>true</publishArtifacts>
-                            <publishArtifactRepository>true</publishArtifactRepository>
-                            <featureArtifacts>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.messages.feature:${stratos2.platform.patch.version}
-                                </featureArtifactDef>
-                                <featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.cartridge.agent.server.feature:${stratos2.platform.patch.version}
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.wso2.carbon.lb.common.feature:4.1.1
-                                </featureArtifactDef>
-				<featureArtifactDef>
-                                    org.wso2.carbon:org.apache.synapse.wso2.feature:2.1.1-wso2v4
-                                </featureArtifactDef>
-			     </featureArtifacts>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>3-p2-profile-generation</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>p2-profile-gen</goal>
-                        </goals>
-                        <configuration>
-                            <profile>WSO2CarbonProfile</profile>
-                            <p2AgentLocation>${basedir}/target/p2-agent</p2AgentLocation>
-                            <metadataRepository>file:${basedir}/target/p2-repo</metadataRepository>
-                            <artifactRepository>file:${basedir}/target/p2-repo</artifactRepository>
-                            <destination>
-                                ${basedir}/target/wso2carbon-core-${carbon.kernel.version}/repository/components
-                            </destination>
-                            <deleteOldProfileFiles>true</deleteOldProfileFiles>
-                            <features>
-                                 <feature>
-                                    <id>org.wso2.carbon.cartridge.messages.feature.group</id>
-                                    <version>${stratos2.platform.patch.version}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.cartridge.agent.server.feature.group</id>
-                                    <version>${stratos2.platform.patch.version}</version>
-                                </feature>
-				<feature>
-                                    <id>org.wso2.carbon.lb.common.feature.group</id>
-                                    <version>4.1.1</version>
-                                </feature>
-				<feature>
-                                    <id>org.apache.synapse.wso2.feature.group</id>
-                                    <version>2.1.1-wso2v4</version>
-                                </feature>
-			     </features>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-	    <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.1</version>
-        <executions>
-            <execution>
-                <phase>package</phase>
-                <configuration>
-                    <tasks>
-                        <replace token="false" value="true"
-                                 dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
-                            <include name="**/bundles.info"/>
-                        </replace>
-                    </tasks>
-                </configuration>
-                <goals>
-                    <goal>run</goal>
-                </goals>
-            </execution>
-        </executions>
-    </plugin>
-        </plugins>
-    </build>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.0/pom.xml
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.0/pom.xml b/products/stratos_agent/1.0.0/pom.xml
deleted file mode 100755
index 7fba136..0000000
--- a/products/stratos_agent/1.0.0/pom.xml
+++ /dev/null
@@ -1,212 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-  ~  Copyright (c) 2005-2010, WSO2 Inc. (http://wso2.com) All Rights Reserved.
-  ~
-  ~  WSO2 Inc. licenses this file to you under the Apache License,
-  ~  Version 2.0 (the "License"); you may not use this file except
-  ~  in compliance with the License.
-  ~  You may obtain a copy of the License at
-  ~
-  ~    http://www.apache.org/licenses/LICENSE-2.0
-  ~
-  ~  Unless required by applicable law or agreed to in writing,
-  ~  software distributed under the License is distributed on an
-  ~  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  ~  KIND, either express or implied.  See the License for the
-  ~  specific language governing permissions and limitations
-  ~  under the License.
-  -->
-
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
-    <parent>
-        <groupId>org.wso2.carbon</groupId>
-        <artifactId>carbon-products</artifactId>
-        <version>4.0.0</version>
-        <relativePath>../../../pom.xml</relativePath>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>org.wso2.agent</groupId>
-    <artifactId>agent-parent</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0.0</version>
-    <name>WSO2 stratos Agent - Aggregator Module</name>
-    <url>http://wso2.com/products/stratos-agent</url>
-    <description>WSO2 Stratos Agent (S2agent)</description>
-
-    <licenses>
-        <license>
-            <name>Apache License Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0</url>
-        </license>
-    </licenses>
-
-    <modules>
-        <module>modules/p2-profile</module>
-        <module>modules/distribution</module>
-        <!--<module>modules/integration</module>-->
-    </modules>
-
-    <scm>
-        <connection>scm:svn:http://wso2.org/repos/wso2/trunk/carbon/products/lb</connection>
-        <developerConnection>scm:svn:https://wso2.org/repos/wso2/trunk/carbon/products/lb</developerConnection>
-        <url>https://wso2.org/repos/wso2/trunk/carbon/products/lb</url>
-    </scm>
-
-    <repositories>
-        <repository>
-            <id>wso2-nexus</id>
-            <name>WSO2 internal Repository</name>
-            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
-            <releases>
-                <enabled>true</enabled>
-                <updatePolicy>daily</updatePolicy>
-                <checksumPolicy>ignore</checksumPolicy>
-            </releases>
-        </repository>
-        <!--moved to nexus
-
-        <repository>
-            <id>wso2-maven2-repository-snapshot</id>
-            <url>http://dist.wso2.org/snapshots/maven2</url>
-        </repository>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </repository>
-
-        -->
-    </repositories>
-
-    <pluginRepositories>
-        <pluginRepository>
-            <id>wso2-maven2-repository</id>
-            <url>http://dist.wso2.org/maven2</url>
-        </pluginRepository>
-    </pluginRepositories>
-
-    <distributionManagement>
-        <repository>
-            <id>wso2-maven2-repository</id>
-            <name>WSO2 Maven2 Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/maven2/</url>
-        </repository>
-        <snapshotRepository>
-            <id>wso2-maven2-snapshot-repository</id>
-            <name>WSO2 Maven2 Snapshot Repository</name>
-            <url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
-        </snapshotRepository>
-    </distributionManagement>
-
-    <profiles>
-        <profile>
-            <id>signed-build</id>
-            <activation>
-                <property>
-                    <name>sign</name>
-                </property>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-gpg-plugin</artifactId>
-                        <version>1.0-alpha-3</version>
-                        <executions>
-                            <execution>
-                                <id>sign-artifacts</id>
-                                <phase>verify</phase>
-                                <goals>
-                                    <goal>sign</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
-    <organization>
-        <name>WSO2 Inc</name>
-        <url>http://wso2.com</url>
-    </organization>
-
-    <issueManagement>
-        <system>JIRA</system>
-        <url>http://wso2.org/jira/browse/LB</url>
-    </issueManagement>
-
-    <mailingLists>
-        <mailingList>
-            <name>WSO2 LB Users' list</name>
-            <post>mailto:lb-user@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/lb-user/</archive>
-            <subscribe>mailto:lb-user-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:lb-user-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-        <mailingList>
-            <name>WSO2 LB/Carbon Developers' List</name>
-            <post>mailto:dev@wso2.org</post>
-            <archive>http://wso2.org/mailarchive/dev/</archive>
-            <subscribe>mailto:dev-request@wso2.org?subject=subscribe</subscribe>
-            <unsubscribe>mailto:dev-request@wso2.org?subject=unsubscribe</unsubscribe>
-        </mailingList>
-    </mailingLists>
-
-    <dependencyManagement>
-        <dependencies>
-            <!-- Dependencies for dashboard ui -->
-            <dependency>
-                <groupId>org.apache.axis2.wso2</groupId>
-                <artifactId>axis2</artifactId>
-                <version>${axis2.wso2.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>log4j</groupId>
-                <artifactId>log4j</artifactId>
-                <version>${log4j.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-logging</groupId>
-                <artifactId>commons-logging</artifactId>
-                <version>${commons.logging.version}</version>
-            </dependency>
-            <!-- Dependencies for login ui -->
-            <dependency>
-                <groupId>javax.servlet</groupId>
-                <artifactId>servlet-api</artifactId>
-                <version>${servlet-api.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.ws.commons.axiom.wso2</groupId>
-                <artifactId>axiom</artifactId>
-                <version>${axiom.wso2.version}</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-        <opencsv.version>1.8</opencsv.version>
-        <poi.version>3.0-FINAL</poi.version>
-        <carbon.version>4.1.0</carbon.version>
-        <carbon.kernel.version>4.1.0</carbon.kernel.version>
-	<stratos2.platform.patch.version>2.1.1</stratos2.platform.patch.version>
-        <synapse.version>2.1.1-wso2v4</synapse.version>
-        <axis2.transport.version>1.1.0-wso2v6</axis2.transport.version>
-        <elb.version>2.0.3</elb.version>
-        <passthru.transport.version>1.0.2</passthru.transport.version>
-        <axis2.wso2.version>1.6.1.wso2v7</axis2.wso2.version>
-        <axiom.wso2.version>1.2.11.wso2v2</axiom.wso2.version>
-	<servlet-api.version>2.4</servlet-api.version>
-        <log4j.version>1.2.13</log4j.version>
-        <commons.logging.version>1.1</commons.logging.version>
-    </properties>
-</project>

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/INSTALL.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/INSTALL.txt b/products/stratos_agent/1.0.1/INSTALL.txt
deleted file mode 100644
index 8042ac9..0000000
--- a/products/stratos_agent/1.0.1/INSTALL.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-Installing WSO2 Stratos Agent 1.0.1
-==================================================
-
-Standalone Mode
-===============
-1. The directory containing this INSTALL.txt file will be the root and it will be
-   treated as Carbon home directory and let it be CARBON_HOME.
-
-2. All the shell scripts and .bat files are available in CARBON_HOME/bin folder.
-
-3. To start Stratos Agent one can use either wso2server.sh in all Unix
-   systems & wso2server.bat file on Windows operating systems.
-
-4. Either of the following commands can be used to start Stratos Agent
-      i)  ./wso2server.sh {console|start|stop|restart|version}
-     ii)  wso2server.bat {start|stop|version}
-
-        Usage: wso2server.sh [command] [options] [system-properties]
-
-            command:
-                --start		    Start Stratos Agent as a Unix daemon in the background
-                --console	    Start Stratos Agent as a Unix daemon in the foreground
-                --stop		    Stop the Stratos Agent Unix daemon
-                --restart	    Restart the Stratos Agent Unix daemon
-                --version	    What version of the Stratos Agent server are you running
-            options:
-                --debug <port> 	Start the server in remote debugging mode.
-                                port: The remote debugging port.
-
-            system-properties:
-                -DhttpPort		Overrides the HTTP port defined in the
-                                catalina-server.xml file
-                -DhttpsPort		Overrides the HTTPS port defined in the
-                                catalina-server.xml file
-                -DosgiConsole=[port]
-                                Start Carbon with Equinox OSGi console.
-                                If the optional 'port' parameter is provided, a
-                                telnet port will be opened
-                -DosgiDebugOptions=[options-file]
-                                Start Carbon with OSGi debugging enabled.
-                                If the optional 'options-file is provided, the
-                                OSGi debug options will be loaded from it.
-                -Dsetup			Clean the Registry database & other
-                                configuration, recreate DB, re-populate the
-                                configuration, and start Carbon
-
-System Requirements
-=======================
-1. Minimum memory - 1.5GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/LICENSE.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/LICENSE.txt b/products/stratos_agent/1.0.1/LICENSE.txt
deleted file mode 100644
index 2095b0d..0000000
--- a/products/stratos_agent/1.0.1/LICENSE.txt
+++ /dev/null
@@ -1,250 +0,0 @@
-
-This product is licensed by WSO2 Inc. under Apache License 2.0. The license
-can be downloaded from the following locations:
-	http://www.apache.org/licenses/LICENSE-2.0.html
-	http://www.apache.org/licenses/LICENSE-2.0.txt
-
-This product also contains software under different licenses. This table below
-all the contained libraries (jar files) and the license under which they are 
-provided to you.
-
-At the bottom of this file is a table that shows what each license indicated
-below is and where the actual text of the license can be found.
-
-Name                                                                            Type           License   
----------------------------------------------------------------------------------------------------------
-abdera_1.0.0.wso2v3.jar                                                         bundle         apache2   
-addressing-1.6.1-wso2v9.mar                                                     bundle         apache2   
-ajaxtags_1.3.0.beta-rc7-wso2v1.jar                                              bundle         apache2   
-andes-client-0.13.wso2v5.jar                                                    bundle         apache2   
-annogen_0.1.0.wso2v1.jar                                                        bundle         apache2   
-antlr_3.2.0.wso2v1.jar                                                          bundle         bsd       
-ant_1.7.0.wso2v1.jar                                                            bundle         apache2   
-authenticator_0.7.0.wso2v1.jar                                                  bundle         apache2   
-axiom_1.2.11.wso2v4.jar                                                         bundle         apache2   
-axis2-json_1.6.1.wso2v9.jar                                                     bundle         apache2   
-axis2-transport-jms_1.1.0.wso2v7.jar                                            bundle         apache2   
-axis2_1.6.1.wso2v8.jar                                                          bundle         apache2   
-axis2_1.6.1.wso2v9.jar                                                          bundle         apache2   
-backport-util-concurrent_3.1.0.wso2v1.jar                                       bundle         public    
-bcprov-jdk15-132.jar                                                            jarinbundle    bouncy    
-bcprov-jdk15.jar                                                                jar            mit       
-com.google.gson_2.1.0.jar                                                       bundle         apache2   
-commons-beanutils-1.7.0.jar                                                     jarinbundle    apache2   
-commons-codec_1.4.0.wso2v1.jar                                                  bundle         apache2   
-commons-collections-3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-collections_3.2.0.wso2v1.jar                                            bundle         apache2   
-commons-dbcp_1.4.0.wso2v1.jar                                                   bundle         apache2   
-commons-digester-1.8.jar                                                        jarinbundle    apache2   
-commons-fileupload_1.2.2.wso2v1.jar                                             bundle         apache2   
-commons-httpclient_3.1.0.wso2v2.jar                                             bundle         apache2   
-commons-io_2.0.0.wso2v2.jar                                                     bundle         apache2   
-commons-lang-2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-lang_2.6.0.wso2v1.jar                                                   bundle         apache2   
-commons-pool_1.5.6.wso2v1.jar                                                   bundle         apache2   
-compass_2.0.1.wso2v2.jar                                                        bundle         apache2   
-ehcache_1.5.0.wso2v3.jar                                                        bundle         apache2   
-el-impl_2.2.0.wso2v1.jar                                                        bundle         cddl1     
-geronimo-jms_1.1_spec-1.1.0.wso2v1.jar                                          bundle         apache2   
-geronimo-saaj_1.3_spec_1.0.0.wso2v3.jar                                         bundle         apache2   
-geronimo-stax-api_1.0_spec-1.0.1.wso2v2.jar                                     bundle         apache2   
-h2-1.2.140-wso2v3.jar                                                           bundle         epl1      
-h2-database-engine_1.2.140.wso2v3.jar                                           bundle         epl1      
-httpcore_4.2.3.wso2v1.jar                                                       bundle         apache2   
-infinispan-core_5.1.2.wso2v1.jar                                                bundle         lgpl2     
-javasysmon_0.3.3.wso2v1.jar                                                     bundle         jsmon     
-javax.el_2.2.0.v201108011116.jar                                                bundle         cddl1     
-javax.servlet.jsp_2.2.0.v201112011158.jar                                       bundle         cddl1     
-javax.servlet_3.0.0.v201112011016.jar                                           bundle         cddl1     
-jaxb-api-2.2.6.jar                                                              jar            cddl+gpl  
-jaxb_2.2.5.wso2v1.jar                                                           bundle         cddl1     
-jboss-logging_3.1.0.wso2v1.jar                                                  bundle         lgpl2     
-jboss-transaction-api_1.1_spec-1.0.0.Final.jar                                  jar            lgpl2     
-jdbc-pool_7.0.34.wso2v1.jar                                                     bundle         apache2   
-jericho-html-2.4.jar                                                            jarinbundle    epl1      
-jettison_1.1.0.wso2v1.jar                                                       bundle         apache2   
-jgroups_3.0.6.wso2v1.jar                                                        bundle         lgpl2     
-jsr107cache_1.1.0.wso2v3.jar                                                    bundle         apache2   
-jstl_1.2.1.wso2v1.jar                                                           bundle         cddl1     
-marshalling_1.3.6.wso2v1.jar                                                    bundle         lgpl2     
-neethi_2.0.4.wso2v4.jar                                                         bundle         apache2   
-opencsv-1.8.jar                                                                 jarinbundle    apache2   
-opencsv_1.8.0.wso2v1.jar                                                        bundle         apache2   
-opensaml-1.1.406.jar                                                            jarinbundle    apache2   
-opensaml-2.4.1.jar                                                              jarinbundle    apache2   
-opensaml2_2.4.1.wso2v1.jar                                                      bundle         apache2   
-openws-1.4.1.jar                                                                jarinbundle    apache2   
-org.apache.felix.gogo.command_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.runtime_0.8.0.v201108120515.jar                           bundle         apache2   
-org.apache.felix.gogo.shell_0.8.0.v201110170705.jar                             bundle         apache2   
-org.apache.jasper.glassfish_2.2.2.v201205150955.jar                             bundle         apache2   
-org.eclipse.core.contenttype_3.4.200.v20120523-2004.jar                         bundle         epl1      
-org.eclipse.core.expressions_3.4.401.v20120627-124442.jar                       bundle         epl1      
-org.eclipse.core.jobs_3.5.300.v20120622-204750.jar                              bundle         epl1      
-org.eclipse.core.runtime_3.8.0.v20120521-2346.jar                               bundle         epl1      
-org.eclipse.ecf.filetransfer_5.0.0.v20110531-2218.jar                           bundle         epl1      
-org.eclipse.ecf.identity_3.1.100.v20110531-2218.jar                             bundle         epl1      
-org.eclipse.ecf.provider.filetransfer.httpclient_4.0.200.v20120319-0616.jar     bundle         epl1      
-org.eclipse.ecf.provider.filetransfer_3.2.0.v20110531-2218.jar                  bundle         epl1      
-org.eclipse.ecf_3.1.300.v20110531-2218.jar                                      bundle         epl1      
-org.eclipse.equinox.app_1.3.100.v20120522-1841.jar                              bundle         epl1      
-org.eclipse.equinox.common_3.6.100.v20120522-1841.jar                           bundle         epl1      
-org.eclipse.equinox.concurrent_1.0.300.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.console_1.0.0.v20120522-1841.jar                            bundle         epl1      
-org.eclipse.equinox.ds_1.4.0.v20120522-1841.jar                                 bundle         epl1      
-org.eclipse.equinox.frameworkadmin.equinox_1.0.400.v20120428-0117.jar           bundle         epl1      
-org.eclipse.equinox.frameworkadmin_2.0.100.v20120606-175127.jar                 bundle         epl1      
-org.eclipse.equinox.http.helper_1.1.0.wso2v1.jar                                bundle         epl1      
-org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841.jar                     bundle         epl1      
-org.eclipse.equinox.jsp.jasper_1.0.400.v20120522-2049.jar                       bundle         epl1      
-org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar                           bundle         epl1      
-org.eclipse.equinox.p2.artifact.repository_1.1.100.v20110519.jar                bundle         epl1      
-org.eclipse.equinox.p2.console_1.0.300.v20110502-1955.jar                       bundle         epl1      
-org.eclipse.equinox.p2.core_2.1.0.v20110502-1955.jar                            bundle         epl1      
-org.eclipse.equinox.p2.director.app_1.0.300.v20110505.jar                       bundle         epl1      
-org.eclipse.equinox.p2.directorywatcher_1.0.300.v20110502-1955.jar              bundle         epl1      
-org.eclipse.equinox.p2.director_2.1.0.v20110504-1715.jar                        bundle         epl1      
-org.eclipse.equinox.p2.engine_2.1.0.v20110511.jar                               bundle         epl1      
-org.eclipse.equinox.p2.extensionlocation_1.2.100.v20110510.jar                  bundle         epl1      
-org.eclipse.equinox.p2.garbagecollector_1.0.200.v20110510.jar                   bundle         epl1      
-org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110502-1955.jar                  bundle         epl1      
-org.eclipse.equinox.p2.metadata.repository_1.2.0.v20110511-1359.jar             bundle         epl1      
-org.eclipse.equinox.p2.metadata_2.1.0.v20110510.jar                             bundle         epl1      
-org.eclipse.equinox.p2.publisher_1.2.0.v20110511.jar                            bundle         epl1      
-org.eclipse.equinox.p2.repository.tools_2.0.100.v20110512-1320.jar              bundle         epl1      
-org.eclipse.equinox.p2.repository_2.1.0.v20110601.jar                           bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.eclipse_2.1.0.v20110511-wso2v1.jar            bundle         epl1      
-org.eclipse.equinox.p2.touchpoint.natives_1.0.300.v20110502-1955.jar            bundle         epl1      
-org.eclipse.equinox.p2.transport.ecf_1.0.100.v20110902-0807.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatechecker_1.1.200.v20110502-1955.jar                 bundle         epl1      
-org.eclipse.equinox.p2.updatesite_1.0.300.v20110510.jar                         bundle         epl1      
-org.eclipse.equinox.preferences_3.5.0.v20120522-1841.jar                        bundle         epl1      
-org.eclipse.equinox.registry_3.5.200.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.security_1.1.100.v20120522-1841.jar                         bundle         epl1      
-org.eclipse.equinox.simpleconfigurator.manipulator_2.0.0.v20110808-1657.jar     bundle         epl1      
-org.eclipse.equinox.simpleconfigurator_1.0.301.v20120828-033635.jar             bundle         epl1      
-org.eclipse.equinox.util_1.0.400.v20120522-2049.jar                             bundle         epl1      
-org.eclipse.osgi.services_3.3.0.v20110513.jar                                   bundle         epl1      
-org.eclipse.osgi.services_3.3.100.v20120522-1822.jar                            bundle         epl1      
-org.eclipse.osgi_3.8.1.v20120830-144521.jar                                     bundle         epl1      
-org.sat4j.core_2.3.0.v20110329.jar                                              bundle         epl1      
-org.sat4j.pb_2.3.0.v20110329.jar                                                bundle         epl1      
-org.wso2.carbon.adc.instanceinfo.mgt.stub_4.1.1.jar                             bundle         apache2   
-org.wso2.carbon.addressing_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.apache.jasper.fragment_4.1.0.jar                                bundle         apache2   
-org.wso2.carbon.application.deployer_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.authenticator.proxy_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.authenticator.stub_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.base_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.bootstrap-4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.bridge-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.caching.core_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.cartridge.agent_2.1.3.jar                                       bundle         apache2   
-org.wso2.carbon.cartridge.messages_2.1.1.jar                                    bundle         apache2   
-org.wso2.carbon.cluster.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.core.bootup.validator_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.core.commons.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.core.common_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.core.services_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.core_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.feature.mgt.services_4.1.0.jar                                  bundle         apache2   
-org.wso2.carbon.feature.mgt.stub_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.framework.exporter_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.http.bridge-4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.i18n_4.1.0.jar                                                  bundle         apache2   
-org.wso2.carbon.jasper.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.lb.common_4.1.3.jar                                             bundle         apache2   
-org.wso2.carbon.logging-4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.logging_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.mediator.bridge-4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.ndatasource.common_4.1.0.jar                                    bundle         apache2   
-org.wso2.carbon.ndatasource.core_4.1.0.jar                                      bundle         apache2   
-org.wso2.carbon.ndatasource.rdbms_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.osgi.security_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.queuing_4.1.0.jar                                               bundle         apache2   
-org.wso2.carbon.registry.api_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.registry.core_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.registry.server_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.roles.mgt.stub_4.1.0.jar                                        bundle         apache2   
-org.wso2.carbon.roles.mgt_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.securevault_4.1.0.jar                                           bundle         apache2   
-org.wso2.carbon.server-4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.server.admin.common_4.1.0.jar                                   bundle         apache2   
-org.wso2.carbon.server.admin.stub_4.1.0.jar                                     bundle         apache2   
-org.wso2.carbon.server.admin_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.servletbridge-4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.tomcat.ext_4.1.0.jar                                            bundle         apache2   
-org.wso2.carbon.tomcat.fragment.dummy_4.1.0.jar                                 bundle         apache2   
-org.wso2.carbon.tomcat.patch_4.1.0.jar                                          bundle         apache2   
-org.wso2.carbon.tomcat_4.1.0.jar                                                bundle         apache2   
-org.wso2.carbon.user.api_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.user.core_4.1.0.jar                                             bundle         apache2   
-org.wso2.carbon.user.mgt.common_4.1.0.jar                                       bundle         apache2   
-org.wso2.carbon.user.mgt.stub_4.1.0.jar                                         bundle         apache2   
-org.wso2.carbon.user.mgt_4.1.0.jar                                              bundle         apache2   
-org.wso2.carbon.utils_4.1.0.jar                                                 bundle         apache2   
-org.wso2.ciphertool-1.0.0-wso2v2.jar                                            bundle         apache2   
-org.wso2.securevault_1.0.0.wso2v2.jar                                           bundle         apache2   
-pdepublishing-ant.jar                                                           jar            epl1      
-pdepublishing.jar                                                               jar            epl1      
-poi-ooxml_3.5.0.wso2v1.jar                                                      bundle         apache2   
-poi-scratchpad_3.5.0.wso2v1.jar                                                 bundle         apache2   
-poi_3.5.0.wso2v1.jar                                                            bundle         apache2   
-quartz_2.1.1.wso2v1.jar                                                         bundle         apache2   
-rampart-1.6.1-wso2v9.mar                                                        bundle         apache2   
-rampart-core_1.6.1.wso2v8.jar                                                   bundle         apache2   
-rampart-policy_1.6.1.wso2v8.jar                                                 bundle         apache2   
-rampart-trust_1.6.1.wso2v8.jar                                                  bundle         apache2   
-saxon_8.9.0.wso2v1.jar                                                          bundle         mpl10     
-slf4j.api_1.6.4.jar                                                             bundle         mit       
-slf4j.log4j12_1.6.4.jar                                                         bundle         mit       
-synapse-commons_2.1.1.wso2v4.jar                                                bundle         apache2   
-synapse-core_2.1.1.wso2v4.jar                                                   bundle         apache2   
-synapse-extensions_2.1.1.wso2v4.jar                                             bundle         apache2   
-synapse-tasks_2.1.1.wso2v4.jar                                                  bundle         apache2   
-tcpmon-1.0.jar                                                                  jar            apache2   
-tiles-jsp_2.0.5.wso2v1.jar                                                      bundle         apache2   
-tomcat-ha_7.0.34.wso2v1.jar                                                     bundle         apache2   
-tomcat-juli-7.0.34.jar                                                          jar            apache2   
-tomcat_7.0.34.wso2v1.jar                                                        bundle         apache2   
-tribes_7.0.28.wso2v1.jar                                                        bundle         apache2   
-woden_1.0.0.M8-wso2v1.jar                                                       bundle         apache2   
-wsdl4j_1.6.2.wso2v4.jar                                                         bundle         cpl1      
-wss4j_1.5.11.wso2v5.jar                                                         bundle         apache2   
-xalan-2.7.1.wso2v1.jar                                                          bundle         apache2   
-xercesImpl-2.8.1.wso2v2.jar                                                     bundle         apache2   
-xml-apis-1.3.04.wso2v2.jar                                                      bundle         apache2   
-xmlbeans-2.3.0.jar                                                              jarinbundle    apache2   
-xmlbeans_2.3.0.wso2v1.jar                                                       bundle         apache2   
-XmlSchema_1.4.7.wso2v2.jar                                                      bundle         apache2   
-xmltooling-1.3.1.jar                                                            jarinbundle    apache2   
-
-
-
-The license types used by the above libraries and their information is given below:
-
-cddl+gpl       CDDL + GPLv2
-               https://glassfish.dev.java.net/public/CDDL+GPL.html
-cpl1           Common Public License 1.0
-               http://www.eclipse.org/legal/cpl-v10.html
-epl1           Eclipse Public License
-               http://www.eclipse.org/legal/epl-v10.html
-jsmon          ThoughtWorks Javasysmon License
-               https://github.com/jezhumble/javasysmon/blob/master/LICENSE
-lgpl2          Lesser GPL v2.1
-               http://www.opensource.org/licenses/lgpl-2.1.php
-apache2        Apache License Version 2.0
-               http://www.apache.org/licenses/LICENSE-2.0.html
-mpl10          Mozilla Public License 1.0
-               http://www.mozilla.org/MPL/
-mit            MIT License
-               http://www.opensource.org/licenses/mit-license.php
-bsd            Berkeley License
-               http://www.opensource.org/licenses/bsd-license.php
-cddl1          Common Development and Distribution License
-               http://www.opensource.org/licenses/cddl1.php
-bouncy         Bouncy Castle License
-               http://www.bouncycastle.org/licence.html
-public         Public Domain
-               http://creativecommons.org/licenses/publicdomain/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a177ebee/products/stratos_agent/1.0.1/README.txt
----------------------------------------------------------------------
diff --git a/products/stratos_agent/1.0.1/README.txt b/products/stratos_agent/1.0.1/README.txt
deleted file mode 100755
index 9de2db0..0000000
--- a/products/stratos_agent/1.0.1/README.txt
+++ /dev/null
@@ -1,111 +0,0 @@
-================================================================================
-                        WSO2 Stratos Agent 1.0.1
-================================================================================
-
-Welcome to the WSO2 Stratos Agent 1.0.1 release
-
-WSO2 Stratos Agent provides services to Non-Carbon Cartridges and it helps
-to communicate the status of Cartridge Instances with WSO2 Stratos Controller.
-
-System Requirements
-==================================
-
-1. Minimum memory - 1GB
-2. Processor      - Pentium 800MHz or equivalent at minimum
-3. Java SE Development Kit 1.6.0_24 or higher
-
-
-WSO2 Stratos Agent 1.0.1 distribution directory structure
-=========================================================
-
-    CARBON_HOME
-	|- bin <folder>
-	|- lib <folder>
-	|- repository <folder>
-	|- tmp <folder>
-	|- LICENSE.txt <file>
-	|- README.txt <file>
-	|- INSTALL.txt <file>		
-	|- release-notes.html <file>
-
-    - bin
-	  Contains various scripts, .sh & .bat files
-
-    - dbscripts
-    Contains all the database scripts
-
-    - lib
-	  Contains the basic set of libraries required to startup Stratos Agent
-	  in standalone mode
-
-    - repository
-	  The repository where services and modules deployed in WSO2 Stratos Agent
-	  are stored. In addition to this, the components directory inside the
-	  repository directory contains the carbon runtime and the user added
-	  jar files including mediators, third party libraries etc. All
-	  global and LB specific configuration files, generated log files
-	  and other deployed artifacts are also housed under this directory.
-
-    - tmp
-	  Used for storing temporary files, and is pointed to by the
-	  java.io.tmpdir System property
-
-    - LICENSE.txt
-	  Apache License 2.0 and the relevant other licenses under which
-	  WSO2 Stratos Agent is distributed.
-
-    - README.txt
-	  This document.
-
-    - INSTALL.txt
-      This document will contain information on installing WSO2 Stratos Agent
-
-Support
-==================================
-
-WSO2 Inc. offers a variety of development and production support
-programs, ranging from Web-based support up through normal business
-hours, to premium 24x7 phone support.
-
-For additional support information please refer to http://wso2.com/support/
-
-For more information on WSO2 Stratos Agent, visit the WSO2 Oxygen Tank (http://wso2.org)
-
-Issue Tracker
-==================================
-
-  https://wso2.org/jira/browse/CARBON
-  https://wso2.org/jira/browse/SPI
-
-Crypto Notice
-==================================
-
-   This distribution includes cryptographic software.  The country in
-   which you currently reside may have restrictions on the import,
-   possession, use, and/or re-export to another country, of
-   encryption software.  BEFORE using any encryption software, please
-   check your country's laws, regulations and policies concerning the
-   import, possession, or use, and re-export of encryption software, to
-   see if this is permitted.  See <http://www.wassenaar.org/> for more
-   information.
-
-   The U.S. Government Department of Commerce, Bureau of Industry and
-   Security (BIS), has classified this software as Export Commodity
-   Control Number (ECCN) 5D002.C.1, which includes information security
-   software using or performing cryptographic functions with asymmetric
-   algorithms.  The form and manner of this Apache Software Foundation
-   distribution makes it eligible for export under the License Exception
-   ENC Technology Software Unrestricted (TSU) exception (see the BIS
-   Export Administration Regulations, Section 740.13) for both object
-   code and source code.
-
-   The following provides more details on the included cryptographic
-   software:
-
-   Apache Rampart   : http://ws.apache.org/rampart/
-   Apache WSS4J     : http://ws.apache.org/wss4j/
-   Apache Santuario : http://santuario.apache.org/
-   Bouncycastle     : http://www.bouncycastle.org/
-
---------------------------------------------------------------------------------
-(c) Copyright 2013 WSO2 Inc.