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/03/15 16:09:08 UTC
[ignite] branch master updated: IGNITE-11409 Fix Ignite Examples
LGPL file
This is an automated email from the ASF dual-hosted git repository.
dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git
The following commit(s) were added to refs/heads/master by this push:
new eb3a9aa IGNITE-11409 Fix Ignite Examples LGPL file
eb3a9aa is described below
commit eb3a9aa03e4cf4630a788cefd375fee132e861cf
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Fri Mar 15 19:07:30 2019 +0300
IGNITE-11409 Fix Ignite Examples LGPL file
---
examples/README.md | 8 ++++++--
examples/pom-standalone-lgpl.xml | 44 ++++++++++++++++++++++++++++++++++++++++
examples/pom-standalone.xml | 1 -
3 files changed, 50 insertions(+), 3 deletions(-)
diff --git a/examples/README.md b/examples/README.md
index 6357bf9..1855953 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -16,7 +16,8 @@ To set up local IDE to easier access to examples, it is possible to add followin
--add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
--add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED
--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED
- --illegal-access=permit``
+ --illegal-access=permit
+ -Djdk.tls.client.protocols=TLSv1.2``
For example, for IntelliJ IDEA it is possible to use Application Templates.
@@ -27,4 +28,7 @@ Use 'Run' -> 'Edit Configuration' menu.
## 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
+ * [pom-standalone.xml](pom-standalone.xml),
+ * [pom-standalone-lgpl.xml](pom-standalone-lgpl.xml).
+
+ These pom files are finalized during release and placed to examples folder with these examples code.
\ No newline at end of file
diff --git a/examples/pom-standalone-lgpl.xml b/examples/pom-standalone-lgpl.xml
index 29cac8b..a87745a 100644
--- a/examples/pom-standalone-lgpl.xml
+++ b/examples/pom-standalone-lgpl.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>
@@ -85,6 +93,18 @@
</dependency>
<dependency>
+ <groupId>org.apache.ignite</groupId>
+ <artifactId>ignite-ml-xgboost-model-parser</artifactId>
+ <version>to_be_replaced_by_ignite_version</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.ignite</groupId>
+ <artifactId>ignite-ml-spark-model-parser</artifactId>
+ <version>to_be_replaced_by_ignite_version</version>
+ </dependency>
+
+ <dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
@@ -95,6 +115,30 @@
<artifactId>spymemcached</artifactId>
<version>2.8.4</version>
</dependency>
+
+ <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>
diff --git a/examples/pom-standalone.xml b/examples/pom-standalone.xml
index a4314e2..8cdccf3 100644
--- a/examples/pom-standalone.xml
+++ b/examples/pom-standalone.xml
@@ -116,7 +116,6 @@
<version>2.8.4</version>
</dependency>
- <!-- https://mvnrepository.com/artifact/org.jpmml/pmml-model -->
<dependency>
<groupId>org.jpmml</groupId>
<artifactId>pmml-model</artifactId>