ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Fixed pom generation.
Date Tue, 09 Feb 2016 08:28:16 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc2 cb137aecd -> e71b2bd91


IGNITE-843 Fixed pom generation.


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

Branch: refs/heads/ignite-843-rc2
Commit: e71b2bd9112ec6ec6b56dedd2f27d1d22bb87dfd
Parents: cb137ae
Author: vsisko <vsisko@gridgain.com>
Authored: Tue Feb 9 15:28:27 2016 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Feb 9 15:28:27 2016 +0700

----------------------------------------------------------------------
 .../main/js/helpers/generator/generator-pom.js  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/e71b2bd9/modules/control-center-web/src/main/js/helpers/generator/generator-pom.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/helpers/generator/generator-pom.js b/modules/control-center-web/src/main/js/helpers/generator/generator-pom.js
index 10ddcf1..2909b5f 100644
--- a/modules/control-center-web/src/main/js/helpers/generator/generator-pom.js
+++ b/modules/control-center-web/src/main/js/helpers/generator/generator-pom.js
@@ -144,6 +144,26 @@ $generatorPom.pom = function (cluster, igniteVersion, mvnRepositories,
res) {
     res.needEmptyLine = true;
 
     addDependency('org.apache.ignite', 'ignite-core', igniteVersion);
+
+    switch (cluster.discovery.kind) {
+        case 'Cloud':
+            addDependency('org.apache.ignite', 'ignite-cloud', igniteVersion);
+
+            break;
+
+        case 'S3':
+            addDependency('org.apache.ignite', 'ignite-aws', igniteVersion);
+
+            break;
+
+        case 'GoogleStorage':
+            addDependency('org.apache.ignite', 'ignite-gce', igniteVersion);
+
+            break;
+
+        default:
+    }
+
     addDependency('org.apache.ignite', 'ignite-spring', igniteVersion);
     addDependency('org.apache.ignite', 'ignite-indexing', igniteVersion);
     addDependency('org.apache.ignite', 'ignite-rest-http', igniteVersion);


Mime
View raw message