# Exclude LGPL deps from build by default
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/768290d0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/768290d0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/768290d0 Branch: refs/heads/ignite-443 Commit: 768290d02183dcfb53db65969bda24c8de12fa22 Parents: ca3b1a2 Author: Valentin Kulichenko <vkuliche...@gridgain.com> Authored: Fri Mar 27 19:58:45 2015 -0700 Committer: Valentin Kulichenko <vkuliche...@gridgain.com> Committed: Fri Mar 27 19:58:45 2015 -0700 ---------------------------------------------------------------------- DEVNOTES.txt | 2 +- modules/geospatial/README.txt | 4 ++-- modules/schedule/README.txt | 4 ++-- pom.xml | 11 ++++++++++- 4 files changed, 15 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/768290d0/DEVNOTES.txt ---------------------------------------------------------------------- diff --git a/DEVNOTES.txt b/DEVNOTES.txt index 557f545..55a5c39 100644 --- a/DEVNOTES.txt +++ b/DEVNOTES.txt @@ -12,7 +12,7 @@ Build Binary Release For official apache binary release, you need to exclude the LGPL dependencies. - mvn clean package -DskipTests -P-lgpl + mvn clean package -DskipTests -P-lgpl,-examples To execute this build you need to be in GIT root folder. Look for ignite-fabric-<version>.zip in ./target directory. http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/768290d0/modules/geospatial/README.txt ---------------------------------------------------------------------- diff --git a/modules/geospatial/README.txt b/modules/geospatial/README.txt index 102b31d..fdf608c 100644 --- a/modules/geospatial/README.txt +++ b/modules/geospatial/README.txt @@ -41,8 +41,8 @@ Ignite includes the following optional LGPL dependencies: - JTS Topology Suite for Geospatial indexing, http://tsusiatsoftware.net/jts/main.html - cron4j for cron-based task scheduling, http://www.sauronsoftware.it/projects/cron4j -Apache binary releases cannot include LGPL dependencies. If you would like to include +Apache binary releases cannot include LGPL dependencies. If you would like include optional LGPL dependencies into your release, you should download the source release from Ignite website and do the build with the following maven command: -mvn clean package -DskipTests -P release,lgpl +mvn clean package -DskipTests http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/768290d0/modules/schedule/README.txt ---------------------------------------------------------------------- diff --git a/modules/schedule/README.txt b/modules/schedule/README.txt index 86727af..9c285e6 100644 --- a/modules/schedule/README.txt +++ b/modules/schedule/README.txt @@ -40,8 +40,8 @@ Ignite includes the following optional LGPL dependencies: - JTS Topology Suite for Geospatial indexing, http://tsusiatsoftware.net/jts/main.html - cron4j for cron-based task scheduling, http://www.sauronsoftware.it/projects/cron4j -Apache binary releases cannot include LGPL dependencies. If you would like to include +Apache binary releases cannot include LGPL dependencies. If you would like include optional LGPL dependencies into your release, you should download the source release from Ignite website and do the build with the following maven command: -mvn clean package -DskipTests -P release,lgpl +mvn clean package -DskipTests http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/768290d0/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 003e7f8..acfb055 100644 --- a/pom.xml +++ b/pom.xml @@ -123,7 +123,6 @@ <module>modules/extdata/p2p</module> <module>modules/extdata/uri</module> <module>modules/clients</module> - <module>examples</module> <module>modules/tools</module> <module>modules/spring</module> <module>modules/web</module> @@ -1392,5 +1391,15 @@ <module>modules/schedule</module> </modules> </profile> + + <profile> + <id>examples</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <modules> + <module>examples</module> + </modules> + </profile> </profiles> </project>