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 string, filter string) []string
- func (model *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm, ...) error
- func (m *ArchetypeModel) GroupIDs(filter string) []string
- func (m *ArchetypeModel) Versions(groupId string, 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 string, filter string) []string
func (*ArchetypeModel) CreateSurvey ¶
func (model *ArchetypeModel) CreateSurvey(data *ArchetypeFilter, pickVersion bool, form *ArchetypeForm, i input.Interface) error
func (*ArchetypeModel) GroupIDs ¶
func (m *ArchetypeModel) GroupIDs(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.