nexus

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2017 License: LGPL-3.0 Imports: 11 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSnapshotTimestampVersion

func GetSnapshotTimestampVersion(gav config.MavenGav, deliverable Deliverable) string

Create app version. If not snapshot build, then return version from GAV. Otherwise, create new snapshot version based on deliverable.

Types

type BinaryDownloader

type BinaryDownloader struct {
	Path string
}

func (*BinaryDownloader) DownloadArtifact

func (n *BinaryDownloader) DownloadArtifact(c *config.MavenGav) (Deliverable, error)

type Deliverable

type Deliverable struct {
	Path string
}

type Downloader

type Downloader interface {
	DownloadArtifact(c *config.MavenGav) (Deliverable, error)
}

func NewBinaryDownloader

func NewBinaryDownloader(path string) Downloader

func NewNexusDownloader

func NewNexusDownloader(baseUrl string) Downloader

type NexusDownloader

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

func (*NexusDownloader) DownloadArtifact

func (n *NexusDownloader) DownloadArtifact(c *config.MavenGav) (Deliverable, error)

Jump to

Keyboard shortcuts

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