# Exclude LGPL deps from build by default
diff --git a/DEVNOTES.txt b/DEVNOTES.txt
index ed4a995..0b84f54 100644
--- a/DEVNOTES.txt
+++ b/DEVNOTES.txt
@@ -9,9 +9,11 @@
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.
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 @@
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
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 @@
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
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 @@
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
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>