Documentation
¶
Index ¶
Constants ¶
View Source
const ( POM_XML = "pom.xml" ROOT_DIR = "." )
Variables ¶
This section is empty.
Functions ¶
func ReadJavaProject ¶
Types ¶
type Project ¶
type Project struct {
XMLName xml.Name `xml:"project"`
Text string `xml:",chardata"`
Xmlns string `xml:"xmlns,attr"`
Xsi string `xml:"xsi,attr"`
SchemaLocation string `xml:"schemaLocation,attr"`
ModelVersion string `xml:"modelVersion"`
Parent struct {
Text string `xml:",chardata"`
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
} `xml:"parent"`
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Dependencies struct {
Dependency []struct {
GroupId string `xml:"groupId"`
ArtifactId string `xml:"artifactId"`
Version string `xml:"version"`
Scope string `xml:"scope"`
} `xml:"dependency"`
} `xml:"dependencies"`
}
Click to show internal directories.
Click to hide internal directories.