Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMavenCoordinate ¶
func NewMavenCoordinate(gav string) mavenCoordinate
Types ¶
type Dependency ¶
type Dependency struct {
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Scope string `xml:"scope"`
Optional bool `xml:"optional"`
Exclusions []Exclusion `xml:"exclusions>exclusion"`
}
func (*Dependency) GavForm ¶
func (d *Dependency) GavForm() string
type DependencyManagement ¶
type DependencyManagement struct {
Dependencies []Dependency `xml:"dependencies>dependency"`
}
type Parent ¶
type Project ¶
type Project struct {
Parent Parent `xml:"parent"`
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Dependencies []Dependency `xml:"dependencies>dependency"`
DependencyManagement DependencyManagement `xml:"dependencyManagement"`
Properties Properties `xml:"properties"`
}
type Properties ¶
func (*Properties) UnmarshalXML ¶
func (p *Properties) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
Click to show internal directories.
Click to hide internal directories.