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)
Click to show internal directories.
Click to hide internal directories.