Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSnapshotTimestampVersion ¶
func GetSnapshotTimestampVersion(gav config.MavenGav, deliverable Deliverable) string
GetSnapshotTimestampVersion 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
}
BinaryDownloader configuration
func (*BinaryDownloader) DownloadArtifact ¶
func (n *BinaryDownloader) DownloadArtifact(_ *config.MavenGav) (Deliverable, error)
DownloadArtifact prepare the binary artifact
type Dependency ¶
Dependency utility struct used for gathering dependency metadata
type Downloader ¶
type Downloader interface {
DownloadArtifact(c *config.MavenGav) (Deliverable, error)
}
Downloader interface
func NewBinaryDownloader ¶
func NewBinaryDownloader(path string) Downloader
NewBinaryDownloader returns a new BinaryDownloader of type Downloader
func NewMavenDownloader ¶
func NewMavenDownloader(baseURL string, username string, password string) Downloader
NewMavenDownloader MavenDownloader of type Downloader
type MavenDownloader ¶
type MavenDownloader struct {
// contains filtered or unexported fields
}
MavenDownloader configuration
func (*MavenDownloader) DownloadArtifact ¶
func (n *MavenDownloader) DownloadArtifact(c *config.MavenGav) (Deliverable, error)
DownloadArtifact downloads a maven artifact
type MavenManifest ¶
type MavenManifest struct {
Versioning Versioning `xml:"versioning"`
}
MavenManifest minimal representation of maven-metadata.xml
Click to show internal directories.
Click to hide internal directories.