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
}
BinaryDownloader struct
func (*BinaryDownloader) DownloadArtifact ¶
func (n *BinaryDownloader) DownloadArtifact(c *config.MavenGav) (Deliverable, error)
type Dependency ¶
Dependency struct
func ExtractDependecyMetadata ¶
func ExtractDependecyMetadata(buildFolder string) ([]Dependency, error)
type Downloader ¶
type Downloader interface {
DownloadArtifact(c *config.MavenGav) (Deliverable, error)
}
Downloader interface
func NewBinaryDownloader ¶
func NewBinaryDownloader(path string) Downloader
NewBinaryLoader 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
}
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.