maven

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Maven

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

Maven defines a resource of kind "maven"

func New added in v0.19.0

func New(spec Spec) (*Maven, error)

New returns a reference to a newly initialized Maven object from a Spec or an error if the provided Spec triggers a validation error.

func (*Maven) Condition

func (m *Maven) Condition(source string) (bool, error)

Condition tests if a specific version exist on the maven repository

func (*Maven) ConditionFromSCM

func (m *Maven) ConditionFromSCM(source string, scm scm.ScmHandler) (bool, error)

ConditionFromSCM returns an error because it's not supported

func (*Maven) Source

func (m *Maven) Source(workingDir string) (string, error)

Source return the latest version

type Spec added in v0.19.0

type Spec struct {
	URL        string
	Repository string
	GroupID    string
	ArtifactID string
	Version    string
}

Spec defines a specification for a "maven" resource parsed from an updatecli manifest file

Jump to

Keyboard shortcuts

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