Repository: incubator-ignite Updated Branches: refs/heads/ignite-6 9e8939828 -> b1b7cfd8e
# ignite-140 : create new geospatial module (pom + readme). Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0e00930d Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0e00930d Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0e00930d Branch: refs/heads/ignite-6 Commit: 0e00930d5a22c9e4065a09f4d8a718f7e2d8f503 Parents: d6a720f Author: Artem SHutak <ashu...@gridgain.com> Authored: Fri Jan 30 12:43:16 2015 +0300 Committer: Artem SHutak <ashu...@gridgain.com> Committed: Fri Jan 30 12:43:16 2015 +0300 ---------------------------------------------------------------------- modules/geospatial/pom.xml | 84 ++++++++++++++++++++++++++++++++++++++ modules/geospatial/readme.txt | 32 +++++++++++++++ pom.xml | 1 + 3 files changed, 117 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0e00930d/modules/geospatial/pom.xml ---------------------------------------------------------------------- diff --git a/modules/geospatial/pom.xml b/modules/geospatial/pom.xml new file mode 100644 index 0000000..69df136 --- /dev/null +++ b/modules/geospatial/pom.xml @@ -0,0 +1,84 @@ +<?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. + --> + +<!-- + POM file. +--> +<project + xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite</artifactId> + <version>${ignite.version}</version> + <relativePath>../../</relativePath> + </parent> + + <artifactId>ignite-geospatial</artifactId> + <packaging>jar</packaging> + + <dependencies> + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-core</artifactId> + <version>${ignite.version}</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-indexing</artifactId> + <version>${ignite.version}</version> + </dependency> + + <dependency> + <groupId>commons-codec</groupId> + <artifactId>commons-codec</artifactId> + <version>1.6</version> + </dependency> + + <dependency> + <groupId>org.apache.lucene</groupId> + <artifactId>lucene-core</artifactId> + <version>3.5.0</version> + </dependency> + + <dependency> + <groupId>com.h2database</groupId> + <artifactId>h2</artifactId> + <version>1.3.175</version> + </dependency> + + <dependency> + <groupId>com.vividsolutions</groupId> + <artifactId>jts</artifactId> + <version>1.13</version> + </dependency> + + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-core</artifactId> + <version>${ignite.version}</version> + <type>test-jar</type> + <scope>test</scope> + </dependency> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0e00930d/modules/geospatial/readme.txt ---------------------------------------------------------------------- diff --git a/modules/geospatial/readme.txt b/modules/geospatial/readme.txt new file mode 100644 index 0000000..4403156 --- /dev/null +++ b/modules/geospatial/readme.txt @@ -0,0 +1,32 @@ +Apache Ignite Geospatial Module +----------------------------- + +Apache Ignite geospatial module provides capabilities to geospatial index cache type. + +To enable geospatial module when starting a standalone node, move 'optional/ignite-geospatial' folder to +'libs' folder before running 'ggstart.{sh|bat}' script. The content of the module folder will +be added to classpath in this case. + +Importing geospatial Module In Maven Project +------------------------------------------ + +If you are using Maven to manage dependencies of your project, you can add geospatial module +dependency like this (replace '${ignite.version}' with actual Ignite version you are +interested in): + +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 + http://maven.apache.org/xsd/maven-4.0.0.xsd"> + ... + <dependencies> + ... + <dependency> + <groupId>org.apache.ignite</groupId> + <artifactId>ignite-geospatial</artifactId> + <version>${ignite.version}</version> + </dependency> + ... + </dependencies> + ... +</project> http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0e00930d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 46ae20d..bfdd059 100644 --- a/pom.xml +++ b/pom.xml @@ -105,6 +105,7 @@ <module>modules/aop</module> <module>modules/urideploy</module> <module>modules/indexing</module> + <module>modules/geospatial</module> <module>modules/ssh</module> <module>modules/rest-http</module> <module>modules/email</module>