Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	FinalName string   `xml:"finalName"`
	Plugins   *Plugins `xml:"plugins"`
}

Build represents build in pom.xml

type Plugin

type Plugin struct {
	GroupID    string `xml:"groupId"`
	ArtifactID string `xml:"artifactId"`
	FinalName  string `xml:"configuration>finalName"`
}

Plugin represents plugin in pom.xml

type Plugins

type Plugins struct {
	Plugin []*Plugin `xml:"plugin"`
}

Plugins represents plugins in pom.xml

type ServiceInterface

type ServiceInterface interface {
	ListModules(path string) ([]*types.Service, error)
}

ServiceInterface is the interface that wraps the required methods to gather information about multi-service project.

func NewMaven

func NewMaven() ServiceInterface

NewMaven creates a new MultiModuler

func NewMultiServiceI

func NewMultiServiceI(lang string) ServiceInterface

NewMultiServiceI creates a new MultiModuler.