pom

package
v0.68.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 30 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDefaultRepo added in v0.68.0

func WithDefaultRepo(repoURL string, releaseEnabled, snapshotEnabled bool) option

func WithOffline

func WithOffline(offline bool) option

func WithSettingsRepos added in v0.68.0

func WithSettingsRepos(repoURLs []string, releaseEnabled, snapshotEnabled bool) option

Types

type Metadata added in v0.53.0

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

type Parser added in v0.51.2

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

func NewParser

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

func (*Parser) Parse added in v0.51.2

type Profile added in v0.68.0

type Profile struct {
	ID              string          `xml:"id"`
	Repositories    []pomRepository `xml:"repositories>repository"`
	ActiveByDefault bool            `xml:"activation>activeByDefault"`
}

type Server

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

type SnapshotVersion added in v0.53.0

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

type Versioning added in v0.53.0

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