From 6621f775fd4cbf23b0798e1195e32c69f47fbfea Mon Sep 17 00:00:00 2001 From: Jody Garnett Date: Wed, 8 Jul 2020 15:21:56 -0700 Subject: [PATCH] Explicit example of snapshot use, mentioning build server. (#488) --- USING.md | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/USING.md b/USING.md index 096b549242..b8d1560734 100644 --- a/USING.md +++ b/USING.md @@ -2,12 +2,11 @@ ## Project Structure -JTS consists of several Java modules. -Each one corresponds to a separate JAR file. +JTS consists of several Java modules, each one corresponds to a separate JAR file. The core modules are: -* `jts-core` - The JTS core: geometry model, operations, algorithms, and spatial data structures +* `jts-core` - geometry model, operations, algorithms, and spatial data structures * `jts-io-common` - I/O classes for open spatial formats The following modules depend on proprietary libraries, and are not built by default: @@ -25,6 +24,9 @@ The following modules are applications and data for testing and working with JTS To include JTS in a Maven project, add a dependency block like the following: ```xml + + 1.16.1 + org.locationtech.jts jts-core @@ -32,7 +34,11 @@ To include JTS in a Maven project, add a dependency block like the following: ``` -JTS snapshot artifacts are published to the LocationTech Maven repository. To include JTS in a project, add the following repositories to the pom. +JTS artifacts are available on maven central. + +### Using JTS Snapshots + +Our [build server](https://ci.eclipse.org/jts/) publishes to the LocationTech Maven repository. To include JTS in a project, add the following repositories to the pom: ```xml @@ -55,11 +61,25 @@ JTS snapshot artifacts are published to the LocationTech Maven repository. To in ``` -## Using older versions of JTS with Maven -Older versions of JTS are available on Maven Central. +The latest snapshot builds are now avaialble: + +```xml + + 1.17.0-SNAPSHOT + + + org.locationtech.jts + jts-core + ${jts.version} + +``` + +### Using prior versions of JTS with Maven -### 1.14 +Older versions are available on Maven Central: + +JTS 1.14.0: ```xml @@ -73,7 +93,8 @@ Older versions of JTS are available on Maven Central. 1.14.0 ``` -### 1.13 + +JTS 1.13: ```xml @@ -83,7 +104,9 @@ Older versions of JTS are available on Maven Central. ``` -## Using JTS with Jigsaw +Prior releases can also be downloaded from [Source Forge](https://sourceforge.net/projects/jts-topo-suite/files/jts/). + +## Using JTS with Jigsaw Modules JTS uses [#ModuleNameInManifest](http://openjdk.java.net/projects/jigsaw/spec/issues/#ModuleNameInManifest) to export a module name for each of the JARs published for use as a library. In this way, you can depend on the various JTS modules in your `module-info.java` in the following way: