diff --git a/modules/distribution/src/analytics/plugins/pom.xml b/modules/distribution/src/analytics/samples/pom.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/pom.xml
rename to modules/distribution/src/analytics/samples/pom.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/activity_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/activity_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/activity_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/activity_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/activity_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/activity_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/activity_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/activity_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/audio_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/audio_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/audio_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/audio_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/audio_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/audio_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/audio_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/audio_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/battery_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/battery_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/battery_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/battery_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/battery_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/battery_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/battery_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/battery_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/call_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/call_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/call_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/call_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/call_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/call_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/call_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/call_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/location_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/location_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/location_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/location_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/location_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/location_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/location_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/location_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/network_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/network_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/network_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/network_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/network_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/network_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/network_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/network_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/screen_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/screen_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/screen_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/screen_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/screen_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/screen_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/screen_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/screen_data_streamConfiguration.xml
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/sms_data.csv b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/sms_data.csv
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/sms_data.csv
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/sms_data.csv
diff --git a/modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/sms_data_streamConfiguration.xml b/modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/sms_data_streamConfiguration.xml
similarity index 100%
rename from modules/distribution/src/analytics/plugins/resources/eventsimulatorfiles/sms_data_streamConfiguration.xml
rename to modules/distribution/src/analytics/samples/resources/eventsimulatorfiles/sms_data_streamConfiguration.xml
diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml
index 1d6091a3..48219d8f 100755
--- a/modules/distribution/src/assembly/bin.xml
+++ b/modules/distribution/src/assembly/bin.xml
@@ -648,15 +648,6 @@
-
- src/core/plugins
- ${pom.artifactId}-${pom.version}/plugins
-
- */**
-
- true
-
-
src/core/samples
${pom.artifactId}-${pom.version}/samples
@@ -665,8 +656,9 @@
644
- **/*samples-deployer.xml
+ **/*connectedcup-samples-deployer.xml
**/*connectedcup/pom.xml
+ **/*device-plugins-deployer.xml
@@ -924,8 +916,8 @@
- src/analytics/plugins
- ${pom.artifactId}-${pom.version}/wso2/analytics/plugins
+ src/analytics/samples
+ ${pom.artifactId}-${pom.version}/wso2/analytics/samples
true
@@ -1631,6 +1623,24 @@
${pom.artifactId}-${pom.version}/repository/resources/devicetypes/analytics/
644
+
+
+ ${pom.artifactId}-${pom.version}/samples/
+ true
+ 644
+
+
+
+ ${pom.artifactId}-${pom.version}/samples/
+ true
+ 644
+
+
+
+ ${pom.artifactId}-${pom.version}/samples/connectedcup/
+ true
+ 644
+
@@ -1895,18 +1905,6 @@
${pom.artifactId}-${pom.version}/wso2/broker/conf
644
-
-
- ${pom.artifactId}-${pom.version}/samples/
- true
- 644
-
-
-
- ${pom.artifactId}-${pom.version}/samples/connectedcup/
- true
- 644
-
diff --git a/modules/distribution/src/core/samples/samples-deployer.xml b/modules/distribution/src/core/samples/connectedcup-samples-deployer.xml
similarity index 100%
rename from modules/distribution/src/core/samples/samples-deployer.xml
rename to modules/distribution/src/core/samples/connectedcup-samples-deployer.xml
diff --git a/modules/distribution/src/core/plugins/plugins-deployer.xml b/modules/distribution/src/core/samples/device-plugins-deployer.xml
similarity index 99%
rename from modules/distribution/src/core/plugins/plugins-deployer.xml
rename to modules/distribution/src/core/samples/device-plugins-deployer.xml
index 5fe2d560..5bdb1247 100644
--- a/modules/distribution/src/core/plugins/plugins-deployer.xml
+++ b/modules/distribution/src/core/samples/device-plugins-deployer.xml
@@ -33,7 +33,7 @@
http://wso2.org
- ../wso2/analytics/plugins
+ ../wso2/analytics/samples