maven

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TYPE = "maven"

Variables

This section is empty.

Functions

func AddConfig

func AddConfig(opts flagsets.ConfigOptions, config flagsets.Config) error

Types

type Spec

type Spec struct {
	cpi.PathSpec `json:",inline"`
	// RepoUrl defines the url from which the artifact is downloaded.
	RepoUrl string `json:"repoUrl,omitempty"`

	maven.Coordinates `json:",inline"`
}

func New

func New(repoUrl, groupId, artifactId, version string, classifier, extension *string) *Spec

func NewForFilePath

func NewForFilePath(filePath, groupId, artifactId, version string, classifier, extension *string) *Spec

func (*Spec) GetBlob

func (*Spec) Validate

func (s *Spec) Validate(fldPath *field.Path, ctx inputs.Context, inputFilePath string) field.ErrorList

Jump to

Keyboard shortcuts

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