#26 closed enhancement (fixed)
Mavenize the project
Reported by: | jdeolive | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | FUTURE |
Component: | core library | Version: | |
Keywords: | Cc: |
Description
Add support for building with maven.
Attachments (1)
Change History (6)
by , 12 years ago
Attachment: | pom.xml.patch added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added, and fixed to be Maven 3 compatible
comment:3 by , 12 years ago
This is really useful. Thank you for your work! Are there any plans to update the POM so that it would deploy builds to the OSGeo Maven Repository?
<repositories> <repository> <id>osgeo</id> <name>Open Source Geospatial Foundation Repository</name> <url>http://download.osgeo.org/webdav/geotools/</url> </repository> </repositories>
comment:4 by , 12 years ago
I would like to since I have a few projects depending on the project and it would be nice if we could pull down the artifacts from a maven repo. I was planning on starting some discussion on the dev list about potentially a deeper switch from ant to maven.
comment:5 by , 12 years ago
If you don't mind, could you keep me in the loop. When you talk to them, you may want to check about the use of a Maven Repository like Sonatype Nexus instead of a webdav (you get snapshot management, and other features they would find useful).
A bit OT, but: I work for a GIS company and we use Maven heavily (we don't use the GeoTools stack, but other things). I'd like to push to use the Maven NAR Plugin and use it to build native binaries of GDAL and such and deploy them. We've already investigated this and are willing to commit resources to doing the work with OSGeo instead of doing it within our company (where nobody would be able to share).
The attached pom adds a simple pom file that will successfully build the project.