pom

package
v0.0.0-...-b5b5a37 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithDefaultRepo

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

func WithOffline

func WithOffline(offline bool) option

func WithSettingsRepos

func WithSettingsRepos(repoURLs []string, releaseEnabled, snapshotEnabled bool) 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 Profile

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

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