Deploy GeoMesa release to a local maven repository
GeoMesa is not yet available on the Maven central repository. In the meantime, you can deploy a copy of the release versions of GeoMesa to your local maven repository
Step-by-step guide
Clone the GeoMesa git repository
git clone git@github.com:geomesa/geomesa
cd geomesa
Checkout the desired release tag
git tag -l # lists tags
git checkout geomesa-version-tag
If needed, add a section to your ~/.m2/settings.xml listing the username and password for your maven repository
<server>
<id>repo1</id>
<username>user1</username>
<password>password1</password>
</server>
Run mvn deploy to deploy the geomesa artifacts to your local repository
mvn deploy -DaltDeploymentRepository=repo1::default::http://host:port/path/to/repository
- Maven will build and deploy the GeoMesa artifacts for the release you selected to your local repository.
Related articles