Added maven tasks
diff --git a/gulp/maven.js b/gulp/maven.js
new file mode 100644
index 0000000..b185a1b
--- /dev/null
+++ b/gulp/maven.js
@@ -0,0 +1,23 @@
+'use strict';
+
+var gulp = require('gulp'),
+    maven = require('maven-deploy'),
+    config = require('../maven-config.json');
+
+//install on local maven repo
+gulp.task('install', function() {
+    maven.config(config);
+    return maven.install();
+});
+
+//Snapshot release to Apache, used by CI server
+gulp.task('snapshot', function() {
+    maven.config(config);
+    return maven.deploy('apache-snapshot-repo',true);
+});
+
+//Actual release to Apache repo
+gulp.task('release', function() {
+    maven.config(config);
+    return maven.deploy('apache-release-repo');
+});
\ No newline at end of file
diff --git a/maven-config.json b/maven-config.json
new file mode 100644
index 0000000..97fd649
--- /dev/null
+++ b/maven-config.json
@@ -0,0 +1,18 @@
+{
+    "groupId"      : "org.apache.ode",
+    "artifactId"   : "{name}",
+    "buildDir"     : "dist",
+    "finalName"    : "{name}-{version}",
+    "type"         : "zip",
+    "fileEncoding" : "utf-8",
+    "repositories" : [
+      {
+        "id": "apache-snapshot-repo",
+        "url": "https://repository.apache.org/content/repositories/snapshots"
+      },
+      {
+        "id": "apache-release-repo",
+        "url": "https://repository.apache.org/service/local/staging/deploy/maven2"
+      }
+    ]
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index e86bcdd..e9be3f4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "ode-console",
-  "version": "0.1.0",
+  "version": "0.1.0-SNAPSHOT",
   "dependencies": {},
   "devDependencies": {
     "gulp": "~3.9.1",
@@ -37,7 +37,9 @@
     "chalk": "~1.1.3",
     "protractor": "~4.0.3",
     "uglify-save-license": "~0.4.1",
-    "jshint": "~2.9.3"
+    "jshint": "~2.9.3",
+    "gulp-zip": "~3.2.0",
+    "maven-deploy": "~1.5.0"
   },
   "engines": {
     "node": ">=0.10.0"
diff --git a/src/index.html b/src/index.html
index 1ca17e9..cb94fe2 100644
--- a/src/index.html
+++ b/src/index.html
@@ -61,14 +61,14 @@
 
     <!-- build:js({.tmp,src}) scripts/app.js -->
     <!-- inject:js -->
+    <script src="vendor/jquery.xpath.js"></script>
+    <script src="vendor/vkbeautify.js"></script>
     <script src="app/index.js"></script>
     <script src="app/really.directive.js"></script>
     <script src="app/soap.service.js"></script>
     <script src="app/st-select.directive.js"></script>
-    <script src="vendor/jquery.xpath.js"></script>
-    <script src="vendor/vkbeautify.js"></script>
-    <script src="app/dashboard/dashboard.controller.js"></script>
     <script src="components/navbar/navbar.controller.js"></script>
+    <script src="app/dashboard/dashboard.controller.js"></script>
     <script src="app/instance/instance.controller.js"></script>
     <script src="app/instance/instance.service.js"></script>
     <script src="app/instance/instanceactions.controller.js"></script>