Versions in this module Expand all Collapse all v0 v0.1.4 May 2, 2026 v0.1.3 Apr 27, 2026 Changes in this version + const DefaultRelativePath + func NewLocalFetcher(path string) (*LocalFetcher, *POM, error) type EffectivePOM + func ResolveLocal(ctx context.Context, path string, opts Options) (*EffectivePOM, error) + type LocalFetcher struct + func NewLocalFetcherFrom(root *POM, dir string) *LocalFetcher + func (f *LocalFetcher) Fetch(_ context.Context, gav GAV) (*POM, error) type Parent + RelativePath *string + func (p *Parent) LocalPath() string v0.1.2 Apr 27, 2026 Changes in this version + const DefaultRepoURL + var DefaultUserAgent = "git-pkgs-pom/" + Version + " (+https://github.com/git-pkgs/pom)" + var Version = "dev" + func FixtureName(gav GAV) string + func POMURL(base string, gav GAV) string + type Activation struct + ActiveByDefault string + JDK string + OS struct{ ... } + Property struct{ ... } + type CachingFetcher struct + Inner Fetcher + func NewCachingFetcher(inner Fetcher) *CachingFetcher + func (f *CachingFetcher) Fetch(ctx context.Context, gav GAV) (*POM, error) + type Dep struct + ArtifactID string + Classifier string + Exclusions []Exclusion + GroupID string + Optional string + Scope string + Type string + Version string + func (d Dep) GAV() GAV + type DepMgmt struct + Dependencies []Dep + type DirFetcher struct + Dir string + func (f *DirFetcher) Fetch(_ context.Context, gav GAV) (*POM, error) + type DistMgmt struct + Relocation *Relocation + type EffectivePOM struct + ActiveProfiles []string + Dependencies []ResolvedDep + DependencyManagement map[string]Dep + Description string + GAV GAV + Licenses []License + Name string + Packaging string + Parents []GAV + Properties map[string]string + Relocation *Relocation + SCM SCM + URL string + Warnings []string + type Exclusion struct + ArtifactID string + GroupID string + type Fetcher interface + Fetch func(ctx context.Context, gav GAV) (*POM, error) + type GAV struct + ArtifactID string + GroupID string + Version string + func ParseGAV(s string) (GAV, error) + func (g GAV) GA() string + func (g GAV) String() string + type HTTPFetcher struct + BaseURL string + Client *http.Client + UserAgent string + func NewHTTPFetcher(baseURL string) *HTTPFetcher + func (f *HTTPFetcher) Fetch(ctx context.Context, gav GAV) (*POM, error) + func (f *HTTPFetcher) FetchBytes(ctx context.Context, gav GAV) ([]byte, error) + type License struct + Name string + URL string + type Options struct + Profiles ProfileActivation + type POM struct + ArtifactID string + Dependencies []Dep + DependencyManagement DepMgmt + Description string + DistributionManagement DistMgmt + GroupID string + Licenses []License + Name string + Packaging string + Parent *Parent + Profiles []Profile + Properties Properties + SCM SCM + URL string + Version string + XMLName xml.Name + func ParsePOM(data []byte) (*POM, error) + func (p *POM) EffectiveGAV() GAV + type Parent struct + ArtifactID string + GroupID string + Version string + func (p *Parent) GAV() GAV + type Profile struct + Activation Activation + Dependencies []Dep + DependencyManagement DepMgmt + ID string + Properties Properties + type ProfileActivation struct + IDs []string + Mode ProfileMode + type ProfileMode int + const Explicit + const OnlyDefault + const Pessimistic + type Properties map[string]string + func (p *Properties) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error + type Relocation struct + ArtifactID string + GroupID string + Message string + Version string + func (r *Relocation) Target(from GAV) GAV + type Resolution string + const Resolved + const UnresolvedEnv + const UnresolvedMissing + const UnresolvedParent + const UnresolvedProfileGated + const UnresolvedProperty + type ResolvedDep struct + ArtifactID string + Classifier string + Exclusions []Exclusion + Expression string + GroupID string + Optional bool + Profile string + Resolution Resolution + Scope string + Type string + Version string + func (d ResolvedDep) GAV() GAV + type Resolver struct + func NewResolver(f Fetcher) *Resolver + func (r *Resolver) Resolve(ctx context.Context, gav GAV, opts Options) (*EffectivePOM, error) + func (r *Resolver) ResolvePOM(ctx context.Context, root *POM, opts Options) (*EffectivePOM, error) + type SCM struct + Connection string + DeveloperConnection string + URL string