Difference between revisions of "SAC:Repo"

From OSGeo
Jump to navigation Jump to search
(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...")
 
Line 48: Line 48:
  
 
*
 
*
 +
 +
= Nexus =
 +
 +
The repo.osgeo.org is currently managed as an instance of Sonatype Nexus Repository Manager as shown below.

Revision as of 11:39, 7 April 2020

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:

Nexus

The repo.osgeo.org is currently managed as an instance of Sonatype Nexus Repository Manager as shown below.