Maven Repository - POM file for Data Structure spatial4j 0.3 0.3

Summary

Spatial4J.

Spatial4j is a general purpose spatial / geospatial ASL licensed open-source Java library. It's core capabilities are 3-fold: to provide common geospatially-aware shapes, to provide distance calculations and other math, and to read and write the shapes to strings..

Declaration

Here is the list of declaration for spatial4j. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.spatial4j</groupId>
   <artifactId>spatial4j</artifactId>
   <version>0.3</version>
</dependency>

If you think this Maven repository POM file listing for spatial4j is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





License

Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.

Depends on

The spatial4j-0.3 has 4 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
JUnitjunit 4.10
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
1957
Logslf4j-simple 1.6.4
SLF4J Simple binding
64

Depended by

The following table lists the most popular artifacts which are depending on spatial4j-0.3. Their categories and depend by count are also listed.

CategoryArtifactDepended By Count
Web Serviceelasticsearch 1.0.0
Elasticsearch - Open Source, Distributed, RESTful Search Engine
16
Web Serviceelasticsearch 0.90.3
ElasticSearch - Open Source, Distributed, RESTful Search Engine
6
Web Serviceelasticsearch 0.90.5
ElasticSearch - Open Source, Distributed, RESTful Search Engine
5

Plugin

The following plugins are used in the spatial4j-0.3.jar

  1. findbugs-maven-plugin
  2. maven-compiler-plugin
  3. maven-javadoc-plugin
  4. maven-jxr-plugin
  5. maven-pmd-plugin
  6. maven-surefire-plugin
  7. maven-surefire-report-plugin




Packages

The following packages are defined in the spatial4j-0.3.jar

com.spatial4j.core.context
com.spatial4j.core.context.jts
com.spatial4j.core.distance
com.spatial4j.core.exception
com.spatial4j.core.io
com.spatial4j.core.io.geonames
com.spatial4j.core.io.sample
com.spatial4j.core.shape
com.spatial4j.core.shape.impl
com.spatial4j.core.shape.jts




POM File Source

Here is the content of the POM file.

<!--
  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.
  -->

<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/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  
  <parent>
    <groupId>org.sonatype.oss</groupId>
    <artifactId>oss-parent</artifactId>
    <version>7</version>
  </parent>
  
  <groupId>com.spatial4j</groupId>
  <artifactId>spatial4j</artifactId>
  <version>0.3</version>
  <packaging>jar</packaging>

  <name>Spatial4J</name>
  <description>
    Spatial4j is a general purpose spatial / geospatial ASL licensed open-source Java library. It's core capabilities are 3-fold: to provide common geospatially-aware shapes, to provide distance calculations and other math, and to read and write the shapes to strings.
  </description>

  <url>http://spatial4j.com</url>

  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>

  <scm>
    <connection>scm:git:git@github.com:spatial4j/spatial4j.git</connection>
    <developerConnection>scm:git:git@github.com:spatial4j/spatial4j.git</developerConnection>
    <url>git@github.com:spatial4j/spatial4j.git</url>
  </scm>

  <properties>
    <!-- this magic system property is honored by many plugins: http://docs.codehaus.org/display/MAVENUSER/POM+Element+for+Source+File+Encoding -->
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    <slf4j.version>1.6.4</slf4j.version>

  </properties>

  <dependencies>

    <dependency>
      <groupId>com.vividsolutions</groupId>
      <artifactId>jts</artifactId>
      <version>1.12</version>
      <optional>true</optional>
      <exclusions>
        <exclusion>
          <groupId>xerces</groupId>
          <artifactId>xercesImpl</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>4.10</version>
      <scope>test</scope>
    </dependency>
    
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <version>${slf4j.version}</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>com.carrotsearch.randomizedtesting</groupId>
      <artifactId>randomizedtesting-runner</artifactId>
      <version>2.0.0.rc5</version>
      <scope>test</scope>
    </dependency>

  </dependencies>
  
  <build>
    
    <plugins>
      
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
          <optimize>true</optimize>
          <showDeprecation>true</showDeprecation>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.9</version>
        <configuration>
          <!-- This is a small project that should have no problem with tests
          running in the maven JVM. This also conveniently means system
          properties pass through. -->
          <forkMode>never</forkMode>
        </configuration>
      </plugin>

      <!-- so that the source jar gets deployed -->
      <!--<plugin>-->
        <!--<groupId>org.apache.maven.plugins</groupId>-->
        <!--<artifactId>maven-source-plugin</artifactId>-->
        <!--<version>2.2</version>-->
        <!--<executions>-->
          <!--<execution>-->
            <!--<goals>-->
              <!--<goal>jar</goal>-->
            <!--</goals>-->
          <!--</execution>-->
        <!--</executions>-->
      <!--</plugin>-->
      
    </plugins>

  </build>


  <reporting>
    <!-- TODO support maven 3  (& 2?)-->
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <linkXRef>true</linkXRef>
          <minimumTokens>100</minimumTokens>
          <targetJdk>1.6</targetJdk>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.3.2</version>
        <configuration>
          <!--<findbugsXmlOutput>true</findbugsXmlOutput> deprecated-->
          <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
          <xmlOutput>true</xmlOutput>
        </configuration>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.2</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.7.2</version>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.8</version>
        <configuration>
          <maxmemory>1024m</maxmemory>
        </configuration>
      </plugin>

    </plugins>
  </reporting>

  <distributionManagement>
    <site>
      <id>github-project-site</id>
      <url>gitsite:git@github.com/spatial4j/spatial4j.git</url>
    </site>
  </distributionManagement>

</project>