This is an automated email from the ASF dual-hosted git repository. ilyak 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 1e84d44 IGNITE-12765 Slim release assemblies. 1e84d44 is described below commit 1e84d4483190319db7e26091ab97cad7343359cb Author: Ilya Kasnacheev <ilya.kasnach...@gmail.com> AuthorDate: Wed Jun 17 16:41:17 2020 +0300 IGNITE-12765 Slim release assemblies. Add building section to DEVNOTES.txt Separate examples README file for slim release. Fixes #7683. Signed-off-by: Ilya Kasnacheev <ilya.kasnach...@gmail.com> --- DEVNOTES.txt | 12 +- assembly/dependencies-apache-ignite-slim.xml | 222 +++++++++++++++++++++++++++ assembly/release-apache-ignite-slim.xml | 50 ++++++ examples/README-slim.txt | 32 ++++ 4 files changed, 313 insertions(+), 3 deletions(-) diff --git a/DEVNOTES.txt b/DEVNOTES.txt index 3071890..7058620 100644 --- a/DEVNOTES.txt +++ b/DEVNOTES.txt @@ -15,11 +15,17 @@ Apache Ignite Maven Build Instructions mvn initialize -Pjavadoc -4) Assembly Apache Ignite: +4) Build Apache Ignite assembly: mvn initialize -Prelease -Look for apache-ignite-<version>-bin.zip in ./target/bin directory. + Look for apache-ignite-<version>-bin.zip in ./target/bin directory. + +5) Build Apache Ignite slim edition assembly: + + mvn initialize -Prelease -Dignite.edition=apache-ignite-slim + + Look for apache-ignite-slim-<version>-bin.zip in ./target/bin directory. Apache Ignite with LGPL Maven Build Instructions @@ -39,7 +45,7 @@ Apache Ignite with LGPL Maven Build Instructions mvn initialize -Pjavadoc,lgpl -4) Assembly Apache Ignite with LGPL dependencies: +4) Build Apache Ignite assembly with LGPL dependencies: mvn initialize -Prelease,lgpl -Dignite.edition=apache-ignite-lgpl diff --git a/assembly/dependencies-apache-ignite-slim.xml b/assembly/dependencies-apache-ignite-slim.xml new file mode 100644 index 0000000..25c2497 --- /dev/null +++ b/assembly/dependencies-apache-ignite-slim.xml @@ -0,0 +1,222 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 + http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <id>dependencies</id> + + <formats> + <format>dir</format> + </formats> + + <includeBaseDirectory>false</includeBaseDirectory> + + <moduleSets> + <moduleSet> + <includes> + <include>org.apache.ignite:ignite-spring</include> + <include>org.apache.ignite:ignite-indexing</include> + </includes> + <sources> + <includeModuleDirectory>true</includeModuleDirectory> + <fileSets> + <fileSet> + <directory>${basedir}</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>README.txt</include> + <include>licenses/**</include> + </includes> + </fileSet> + <fileSet> + <directory>${basedir}/target/licenses</directory> + <outputDirectory>/licenses</outputDirectory> + </fileSet> + <fileSet> + <directory>target/libs</directory> + <outputDirectory>/</outputDirectory> + </fileSet> + <fileSet> + <directory>target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>*.jar</include> + </includes> + <excludes> + <exclude>*-tests.jar</exclude> + <exclude>*-javadoc.jar</exclude> + <exclude>*-sources.jar</exclude> + </excludes> + </fileSet> + </fileSets> + </sources> + </moduleSet> + + <moduleSet> + <includes> + <include>org.apache.ignite:ignite-core</include> + </includes> + <sources> + <includeModuleDirectory>false</includeModuleDirectory> + <fileSets> + <fileSet> + <directory>${basedir}</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>README.txt</include> + <include>licenses/**</include> + </includes> + </fileSet> + <fileSet> + <directory>${basedir}/target/licenses</directory> + <outputDirectory>/licenses</outputDirectory> + </fileSet> + <fileSet> + <directory>target/libs</directory> + <outputDirectory>/</outputDirectory> + </fileSet> + <fileSet> + <directory>target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>*.jar</include> + </includes> + <excludes> + <exclude>*-tests.jar</exclude> + <exclude>*-javadoc.jar</exclude> + <exclude>*-sources.jar</exclude> + </excludes> + </fileSet> + </fileSets> + </sources> + </moduleSet> + + <moduleSet> + <includeSubModules>true</includeSubModules> + <excludes> + <exclude>org.apache.ignite:ignite-core</exclude> + <exclude>org.apache.ignite:ignite-clients</exclude> + <exclude>org.apache.ignite:ignite-spring</exclude> + <exclude>org.apache.ignite:ignite-tools</exclude> + <exclude>org.apache.ignite:ignite-extdata-p2p</exclude> + <exclude>org.apache.ignite:ignite-extdata-uri</exclude> + <exclude>org.apache.ignite:ignite-extdata-uri-dep</exclude> + <exclude>org.apache.ignite:ignite-examples</exclude> + <exclude>org.apache.ignite:ignite-indexing</exclude> + <exclude>org.apache.ignite:ignite-visor-console</exclude> + <exclude>org.apache.ignite:ignite-visor-console_2.10</exclude> + <exclude>org.apache.ignite:ignite-visor-plugins</exclude> + <exclude>org.apache.ignite:ignite-hadoop</exclude> + <exclude>org.apache.ignite:ignite-codegen</exclude> + <exclude>org.apache.ignite:ignite-apache-license-gen</exclude> + <exclude>org.apache.ignite:ignite-hibernate-core</exclude> + <exclude>org.apache.ignite:ignite-hibernate_4.2</exclude> + <exclude>org.apache.ignite:ignite-hibernate_5.1</exclude> + <exclude>org.apache.ignite:ignite-hibernate_5.3</exclude> + <exclude>org.apache.ignite:ignite-schedule</exclude> + <exclude>org.apache.ignite:ignite-geospatial</exclude> + <exclude>org.apache.ignite:ignite-appserver-test</exclude> + <exclude>org.apache.ignite:ignite-websphere-test</exclude> + <exclude>org.apache.ignite:ignite-cassandra</exclude> + <exclude>org.apache.ignite:ignite-yardstick</exclude> + <exclude>org.apache.ignite:ignite-benchmarks</exclude> + <exclude>org.apache.ignite:ignite-web-agent</exclude> + <exclude>org.apache.ignite:ignite-dev-utils</exclude> + <exclude>org.apache.ignite:ignite-extdata-platform</exclude> + <exclude>org.apache.ignite:ignite-compatibility</exclude> + <exclude>org.apache.ignite:ignite-sqlline</exclude> + <!-- Removed from slim packaging are: --> + <exclude>org.apache.ignite:ignite-aop</exclude> + <exclude>org.apache.ignite:ignite-aws</exclude> + <exclude>org.apache.ignite:ignite-camel</exclude> + <exclude>org.apache.ignite:ignite-cassandra-serializers</exclude> + <exclude>org.apache.ignite:ignite-cassandra-store</exclude> + <exclude>org.apache.ignite:ignite-cloud</exclude> + <exclude>org.apache.ignite:ignite-direct-io</exclude> + <exclude>org.apache.ignite:ignite-gce</exclude> + <exclude>org.apache.ignite:ignite-jcl</exclude> + <exclude>org.apache.ignite:ignite-jms11</exclude> + <exclude>org.apache.ignite:ignite-kafka</exclude> + <exclude>org.apache.ignite:ignite-mesos</exclude> + <exclude>org.apache.ignite:ignite-ml</exclude> + <exclude>org.apache.ignite:ignite-ml-h2o-model-parser</exclude> + <exclude>org.apache.ignite:ignite-ml-spark-model-parser</exclude> + <exclude>org.apache.ignite:ignite-ml-xgboost-model-parser</exclude> + <exclude>org.apache.ignite:ignite-mqtt</exclude> + <exclude>org.apache.ignite:ignite-osgi</exclude> + <exclude>org.apache.ignite:ignite-osgi-karaf</exclude> + <exclude>org.apache.ignite:ignite-osgi-paxlogging</exclude> + <exclude>org.apache.ignite:ignite-scalar</exclude> + <exclude>org.apache.ignite:ignite-scalar_2.10</exclude> + <exclude>org.apache.ignite:ignite-spark</exclude> + <exclude>org.apache.ignite:ignite-spark-2.4</exclude> + <exclude>org.apache.ignite:ignite-spring-data</exclude> + <exclude>org.apache.ignite:ignite-spring-data_2.0</exclude> + <exclude>org.apache.ignite:ignite-ssh</exclude> + <exclude>org.apache.ignite:ignite-storm</exclude> + <exclude>org.apache.ignite:ignite-web</exclude> + <exclude>org.apache.ignite:ignite-yarn</exclude> + <exclude>org.apache.ignite:ignite-zookeeper</exclude> + </excludes> + <sources> + <includeModuleDirectory>true</includeModuleDirectory> + <outputDirectoryMapping>optional/${module.artifactId}</outputDirectoryMapping> + <fileSets> + <fileSet> + <directory>${basedir}</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>README.txt</include> + <include>licenses/**</include> + </includes> + </fileSet> + <fileSet> + <directory>${basedir}/target/licenses</directory> + <outputDirectory>/licenses</outputDirectory> + </fileSet> + <fileSet> + <directory>target/libs</directory> + <outputDirectory>/</outputDirectory> + </fileSet> + <fileSet> + <directory>target/classes</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>features.xml</include> + </includes> + </fileSet> + <fileSet> + <directory>target</directory> + <outputDirectory>/</outputDirectory> + <includes> + <include>*.jar</include> + </includes> + <excludes> + <exclude>*-tests.jar</exclude> + <exclude>*-javadoc.jar</exclude> + <exclude>*-sources.jar</exclude> + </excludes> + </fileSet> + </fileSets> + </sources> + </moduleSet> + </moduleSets> +</assembly> diff --git a/assembly/release-apache-ignite-slim.xml b/assembly/release-apache-ignite-slim.xml new file mode 100644 index 0000000..46ff466 --- /dev/null +++ b/assembly/release-apache-ignite-slim.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 + http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + <id>apache-ignite</id> + + <includeBaseDirectory>false</includeBaseDirectory> + + <formats> + <format>dir</format> + </formats> + + <componentDescriptors> + <componentDescriptor>release-base.xml</componentDescriptor> + <componentDescriptor>release-apache-ignite-base.xml</componentDescriptor> + </componentDescriptors> + + <files> + <file> + <source>examples/pom-standalone.xml</source> + <outputDirectory>/examples</outputDirectory> + <destName>pom.xml</destName> + </file> + + <file> + <source>examples/README-slim.txt</source> + <outputDirectory>/examples</outputDirectory> + <destName>README.txt</destName> + </file> + </files> +</assembly> diff --git a/examples/README-slim.txt b/examples/README-slim.txt new file mode 100644 index 0000000..1f45e1b --- /dev/null +++ b/examples/README-slim.txt @@ -0,0 +1,32 @@ +Apache Ignite Examples +====================== + +This folder contains code examples for various Apache Ignite functionality. + +Examples are shipped as a separate Maven project, so to start running you simply need +to import provided `pom.xml` file into your favourite IDE. + +The examples folder contains he following subfolders: + +- `config` - contains Ignite configuration files needed for examples. +- `memcached` - contains PHP script demonstrating how Ignite Cache can be accessed using Memcached client. +- `rest` - contains PHP script demonstrating how Ignite Cache can be accessed via HTTP API. +- `sql` - contains sample SQL scripts and data sets. +- `src/main/java` - contains Java examples for different Ignite modules and features. +- `src/main/scala` - contains examples demonstrating usage of API provided by Scalar. +- `src/main/java-lgpl` - contains lgpl-based examples for different Ignite modules and features. + + +Starting Remote Nodes +===================== + +Remote nodes for examples should always be started with special configuration file which enables P2P +class loading: `examples/config/example-ignite.xml`. To run a remote node in IDE use `ExampleNodeStartup` class. + + +Slim Edition +============ + +Some Apache Ignite modules are not shipped in this slim edition package. They will be downloaded from +Maven Central during build stage. You can find them in full (default) Apache Ignite package. +