pom

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithOffline

func WithOffline(offline bool) option

func WithReleaseRemoteRepos

func WithReleaseRemoteRepos(repos []string) option

func WithSnapshotRemoteRepos

func WithSnapshotRemoteRepos(repos []string) option

Types

type Metadata

type Metadata struct {
	GroupId    string     `xml:"groupId"`
	ArtifactId string     `xml:"artifactId"`
	Versioning Versioning `xml:"versioning"`
	Version    string     `xml:"version"`
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(filePath string, opts ...option) *Parser

func (*Parser) Parse

type Server

type Server struct {
	ID       string `xml:"id"`
	Username string `xml:"username"`
	Password string `xml:"password"`
}

type SnapshotVersion

type SnapshotVersion struct {
	Extension string `xml:"extension"`
	Value     string `xml:"value"`
}

type Versioning

type Versioning struct {
	SnapshotVersions []SnapshotVersion `xml:"snapshotVersions>snapshotVersion"`
}

Jump to

Keyboard shortcuts

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