You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/01/30 12:49:51 UTC

[ignite] 01/01: IGNITE-11140 Fix Ignite examples compilation, support of Nightly release builds

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11140
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 08a0269c9b4006e5ed3947b3cb54a39cda4ac8b8
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Wed Jan 30 15:49:39 2019 +0300

    IGNITE-11140 Fix Ignite examples compilation, support of Nightly release builds
---
 examples/README.md          | 12 ++++++++++++
 examples/pom-standalone.xml | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/examples/README.md b/examples/README.md
new file mode 100644
index 0000000..65bdfa7
--- /dev/null
+++ b/examples/README.md
@@ -0,0 +1,12 @@
+# Apache Ignite Examples
+
+This module contains examples how to run Apache Ignite and Apache Ignite with 3rd party components.
+
+How to start examples instructions can be found in [README.txt](README.txt).
+
+How to start examples in developer's environment please see [DEVNOTES.txt](DEVNOTES.txt).
+
+## Contributing to Examples
+*Notice* When updating classpath of examples and in case any modifications required in [pom.xml](pom.xml)
+please make sure that corresponding changes were applied to
+ [pom-standalone.xml](pom-standalone.xml). This pom file is finalized during release and placed to examples folder with these examples code.
\ No newline at end of file
diff --git a/examples/pom-standalone.xml b/examples/pom-standalone.xml
index 3ccccbf..a9da8d0 100644
--- a/examples/pom-standalone.xml
+++ b/examples/pom-standalone.xml
@@ -37,6 +37,14 @@
         <lgpl.folder>src/main/java</lgpl.folder>
     </properties>
 
+    <repositories>
+        <!-- Following repository is required only for Nightly releases -->
+        <repository>
+            <id>MyGet Nightly</id>
+            <url>https://www.myget.org/F/apache-ignite-nightly/maven</url>
+        </repository>
+    </repositories>
+
     <groupId>org.apache.ignite</groupId>
     <artifactId>ignite-examples</artifactId>
     <version>to_be_replaced_by_ignite_version</version>
@@ -95,6 +103,31 @@
             <artifactId>spymemcached</artifactId>
             <version>2.8.4</version>
         </dependency>
+
+        <!-- https://mvnrepository.com/artifact/org.jpmml/pmml-model -->
+        <dependency>
+            <groupId>org.jpmml</groupId>
+            <artifactId>pmml-model</artifactId>
+            <version>1.4.7</version>
+        </dependency>
+
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-core</artifactId>
+            <version>2.7.3</version>
+        </dependency>
+
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>2.7.3</version>
+        </dependency>
+
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-annotations</artifactId>
+            <version>2.7.3</version>
+        </dependency>
     </dependencies>
 
     <profiles>