maven

package
v0.0.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	GroupID          string
	ArtifactID       string
	Name             string
	Version          string
	ReleaseURL       string
	ReleaseID        string
	ArtifactUser     string
	ArtifactPassword string
	PrivateKey       string
	PassPhrase       string
}

Config for maven

type Interpolator

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

Interpolator ...

func NewInterpolator

func NewInterpolator(fs fs.FileSystem) (*Interpolator, error)

NewInterpolator ...

func (*Interpolator) InterpolateLocalSettings

func (i *Interpolator) InterpolateLocalSettings(ctx context.Context, m *Config, destinationFilePath string) error

InterpolateLocalSettings ...

func (*Interpolator) InterpolatePom

func (i *Interpolator) InterpolatePom(ctx context.Context, m *Config, destinationFilePath string) error

InterpolatePom ...

type Maven

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

Maven ...

func NewMaven

func NewMaven(fs fs.FileSystem) (*Maven, error)

NewMaven ...

func (*Maven) Build

func (m *Maven) Build(ctx context.Context) error

Build maven

func (*Maven) Init

func (m *Maven) Init(ctx context.Context, version string) error

Init maven

func (*Maven) Publish

func (m *Maven) Publish(ctx context.Context) error

Publish maven

Jump to

Keyboard shortcuts

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