maven

package
v1.22.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 22 Imported by: 1

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 added in v1.17.4

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