Install jts2geojson via Maven
masterAdd the following dependency to your pom.xml to use the jts2geojson library in your Java project.
<dependency>
<groupId>org.wololo</groupId>
<artifactId>jts2geojson</artifactId>
<version>0.18.1</version>
</dependency>