gomavenproxy

command module
v0.0.0-...-d74ea5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: MIT Imports: 13 Imported by: 0

README

gomavenproxy builds.sr.ht status

A small HTTP server to let users transparently upload Maven artifacts to an FTP server.

Project stability: successfully tested in a production environment.

Setup

  • copy gomavenproxy.example.yml and edit it
  • run gomavenproxy -config gomavenproxy.yml

Usage

For a build.gradle file:

repositories {
    maven {
        url 'http://gomaven.proxy:12345'
        credentials {
            username "ftp_username"
            password "ftp_password"
        }
    }
}

For a build.gradle.kts file:

repositories {
    maven {
        url = uri("http://gomaven.proxy:12345")
        credentials {
            username = "ftp_username"
            password = "ftp_password"
        }
    }
}

Rationale

Maven does have a Wagon plugin to support deploying artifacts by FTP.

Gradle supports publishing modules by FTP with the deprecated maven plugin, which in particular does not support Gradle Module Metadata.

For the new maven-publish plugin, only a few protocols are supported, but not FTP.

This HTTP to FTP proxy lets you use maven-publish on an FTP repository by proxying it as an HTTP repository.

Builds

OS URL
Linux x64 https://delthas.fr/gomavenproxy/linux/gomavenproxy
Mac OS X x64 https://delthas.fr/gomavenproxy/mac/gomavenproxy
Windows x64 https://delthas.fr/gomavenproxy/windows/gomavenproxy.exe

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL