maven

package
v0.19.4 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadPackageFile

func DownloadPackageFile(ctx *context.Context)

DownloadPackageFile serves the content of a package

func ProvidePackageFileHeader

func ProvidePackageFileHeader(ctx *context.Context)

ProvidePackageFileHeader provides only the headers describing a package

func UploadPackageFile

func UploadPackageFile(ctx *context.Context)

UploadPackageFile adds a file to the package. If the package does not exist, it gets created.

Types

type MetadataResponse

type MetadataResponse struct {
	XMLName    xml.Name `xml:"metadata"`
	GroupID    string   `xml:"groupId"`
	ArtifactID string   `xml:"artifactId"`
	Release    string   `xml:"versioning>release,omitempty"`
	Latest     string   `xml:"versioning>latest"`
	Version    []string `xml:"versioning>versions>version"`
}

MetadataResponse https://maven.apache.org/ref/3.2.5/maven-repository-metadata/repository-metadata.html

Jump to

Keyboard shortcuts

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