# 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/0cbf6eed
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0cbf6eed
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0cbf6eed

Branch: refs/heads/ignite-443
Commit: 0cbf6eed72b50a5ad7827811832881514f64a792
Parents: 3bdf1ff
Author: Valentin Kulichenko <vkuliche...@gridgain.com>
Authored: Sat Mar 28 17:55:39 2015 -0700
Committer: Valentin Kulichenko <vkuliche...@gridgain.com>
Committed: Sat Mar 28 17:55:39 2015 -0700

----------------------------------------------------------------------
 DEVNOTES.txt                  | 6 ++++--
 modules/geospatial/README.txt | 2 +-
 modules/hibernate/README.txt  | 2 +-
 modules/schedule/README.txt   | 2 +-
 pom.xml                       | 6 ------
 5 files changed, 7 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cbf6eed/DEVNOTES.txt
----------------------------------------------------------------------
diff --git a/DEVNOTES.txt b/DEVNOTES.txt
index ed4a995..0b84f54 100644
--- a/DEVNOTES.txt
+++ b/DEVNOTES.txt
@@ -9,9 +9,11 @@ Build Project
 
 Build Binary Release
 --------------------
-For Ignite binary release, you need to exclude the LGPL dependencies.
+Without LGPL dependencies (default):
+  mvn clean package -DskipTests
 
-  mvn clean package -DskipTests -P-lgpl,-examples
+With LGPL dependencies:
+  mvn clean package -DskipTests -Prelease,lgpl
 
 Look for ignite-fabric-<version>.zip in ./target directory.
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cbf6eed/modules/geospatial/README.txt
----------------------------------------------------------------------
diff --git a/modules/geospatial/README.txt b/modules/geospatial/README.txt
index fdf608c..59143a0 100644
--- a/modules/geospatial/README.txt
+++ b/modules/geospatial/README.txt
@@ -45,4 +45,4 @@ Apache binary releases cannot include LGPL dependencies. If 
you would like inclu
 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
+mvn clean package -DskipTests -Prelease,lgpl

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cbf6eed/modules/hibernate/README.txt
----------------------------------------------------------------------
diff --git a/modules/hibernate/README.txt b/modules/hibernate/README.txt
index cd8d681..8e90dab 100644
--- a/modules/hibernate/README.txt
+++ b/modules/hibernate/README.txt
@@ -45,4 +45,4 @@ Apache binary releases cannot include LGPL dependencies. If 
you would like inclu
 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
+mvn clean package -DskipTests -Prelease,lgpl

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cbf6eed/modules/schedule/README.txt
----------------------------------------------------------------------
diff --git a/modules/schedule/README.txt b/modules/schedule/README.txt
index 9c285e6..27490c4 100644
--- a/modules/schedule/README.txt
+++ b/modules/schedule/README.txt
@@ -44,4 +44,4 @@ Apache binary releases cannot include LGPL dependencies. If 
you would like inclu
 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
+mvn clean package -DskipTests -Prelease,lgpl

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0cbf6eed/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index acfb055..74cb5ea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1382,9 +1382,6 @@
 
         <profile>
             <id>lgpl</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
             <modules>
                 <module>modules/hibernate</module>
                 <module>modules/geospatial</module>
@@ -1394,9 +1391,6 @@
 
         <profile>
             <id>examples</id>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
             <modules>
                 <module>examples</module>
             </modules>

Reply via email to