SAC:Repo

From OSGeo
Revision as of 18:37, 7 April 2020 by Jive (talk | contribs) (Created page with "OSGeo provides a repository manager to support our projects in distribution of programming artifacts (see also SAC:Downloads). = Maven = == How to use OSGeo Maven reposi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OSGeo provides a repository manager to support our projects in distribution of programming artifacts (see also SAC:Downloads).

Maven

How to use OSGeo Maven repository

To make use of repo.osgeo.org to access OSGeo java projects.

'Example pom.xml file

  <repositories>
    <repository>
      <id>osgeo-snapshot</id>
      <name>OSGeo Repository</name>
      <url>https://repo.osgeo.org/repository/snapshot/</url>
      <!-- Contains releases for OSGeo projects: GeoTools, GeoWebCache, GeoServer, ...     -->
      <!-- Includs third-party-dependences, and caches of:                                 -->
      <!-- ucar (https://artifacts.unidata.ucar.edu/content/repositories/unidata-releases) -->
      <!-- geosolutions (http://maven.geo-solutions.it/)                                   -->
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </repository>
  </repositories>

Maven Repository Structure

Instructions for OSGeo Projects

OSGeo Projects (and community projects) are encouraged to make use of the repo.osgeo.org for releases:


For projects running a build system (jenkins, GitHub actions) you may also set up a snapshot repository for your team.

You should also be able to use your project's releases repository to synchronize your content to maven central.

Docker

We are seeing volunteer projects to test out the docker infrastructure and define best practices for the community.

Initial structure is being used to support the GeoServer project CITE automation activity: