maven

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTestFile

func IsTestFile(filename string) bool

IsTestFile returns whether a given filename is test class.

See https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html

func LabelFromArtifact

func LabelFromArtifact(artifact string) string

func ParseCoordinate added in v0.6.0

func ParseCoordinate(s string) (*coordinate, error)

Types

type Dep

type Dep struct {
	Coord              string   `json:"coord"`
	Dependencies       []string `json:"dependencies"`
	DirectDependencies []string `json:"directDependencies"`
	File               string   `json:"file"`
	MirrorUrls         []string `json:"mirror_urls,omitempty"`
	Packages           []string `json:"packages"`
	Sha256             string   `json:"sha256,omitempty"`
	URL                string   `json:"url,omitempty"`
	Exclusions         []string `json:"exclusions,omitempty"`
}

type Resolver

type Resolver interface {
	Resolve(pkg string) (label.Label, error)
}

func NewResolver

func NewResolver(installFile string, logger zerolog.Logger) (Resolver, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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