(assuming Java 7, Maven 3+ is configured on the system)
Build Xponents from GitHub source (prerequisite)
git clone https://github.com/OpenSextant/Xponents.git
cd Xponents
mvn -DskipTests install
Configure, build, and install the Neon Black code library
- Update the following properties in neon-black-core/src/main/resources/NB.properties
- polygon.directory : local directory that contains polygons, e.g. Natural Earth
- resource.directory : local directory that contains the required configuration and data files
- solr.url : Solr instance configured in previous section
cd neon-black-core
mvn install
Build and run the Neon Black API module
cd ../neon-black-api
mvn package
java -jar target/neonblack-api.jar
Should now be able to GET/POST text to http://localhost:9000/extract?input=