This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a commit to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
commit 2bc3e93c43d54924863b3cf8184f42dfef5c2a29 Author: Martin Desruisseaux <[email protected]> AuthorDate: Thu Aug 13 01:55:27 2020 +0200 Add EPSG database if explicitly requested by profile. --- application/sis-javafx/pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/application/sis-javafx/pom.xml b/application/sis-javafx/pom.xml index 436851d..dcf0f25 100644 --- a/application/sis-javafx/pom.xml +++ b/application/sis-javafx/pom.xml @@ -261,6 +261,25 @@ </plugins> </build> </profile> + + <!-- Because the EPSG database is not free, require the user to ask it explicitly. --> + <profile> + <id>non-free</id> + <dependencies> + <dependency> + <groupId>org.apache.sis.non-free</groupId> + <artifactId>sis-epsg</artifactId> + <version>${sis.non-free.version}</version> + <scope>runtime</scope> + <exclusions> + <exclusion> + <groupId>*</groupId> + <artifactId>*</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </profile> </profiles> </project>
