Documentation ¶
Index ¶
- Constants
- func InstallMavenIfRequired(runner cmdrunner.CommandRunner) error
- type ArchetypeFilter
- type ArchetypeForm
- type ArchetypeModel
- func (m *ArchetypeModel) AddArtifact(a *ArtifactData) *ArtifactVersions
- func (m *ArchetypeModel) ArtifactIDs(groupID, filter string) []string
- func (m *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm, ...) error
- func (m *ArchetypeModel) GroupIDs(filter string) []string
- func (m *ArchetypeModel) Versions(groupID, artifactID, filter string) []string
- type ArtifactData
- type ArtifactVersions
- type GroupArchectypes
Constants ¶
View Source
const (
MavenArchetypePluginVersion = "3.0.1"
)
View Source
const (
// MavenVersion the release version of Apache Maven
MavenVersion = "3.5.4"
)
Variables ¶
This section is empty.
Functions ¶
func InstallMavenIfRequired ¶
func InstallMavenIfRequired(runner cmdrunner.CommandRunner) error
InstallMavenIfRequired installs maven if not available
Types ¶
type ArchetypeFilter ¶
type ArchetypeForm ¶
type ArchetypeModel ¶
type ArchetypeModel struct {
Groups map[string]*GroupArchectypes
}
func NewArchetypeModel ¶
func NewArchetypeModel() ArchetypeModel
func (*ArchetypeModel) AddArtifact ¶
func (m *ArchetypeModel) AddArtifact(a *ArtifactData) *ArtifactVersions
func (*ArchetypeModel) ArtifactIDs ¶
func (m *ArchetypeModel) ArtifactIDs(groupID, filter string) []string
func (*ArchetypeModel) CreateSurvey ¶
func (m *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm, i input.Interface) error
func (*ArchetypeModel) GroupIDs ¶
func (m *ArchetypeModel) GroupIDs(filter string) []string
func (*ArchetypeModel) Versions ¶
func (m *ArchetypeModel) Versions(groupID, artifactID, filter string) []string
type ArtifactData ¶
type ArtifactVersions ¶
type GroupArchectypes ¶
type GroupArchectypes struct { GroupID string Artifacts map[string]*ArtifactVersions }
Click to show internal directories.
Click to hide internal directories.