Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependency ¶
type DependencyManagement ¶
type DependencyManagement struct {
Dependencies []Dependency `xml:"dependencies>dependency"`
}
type MavenProject ¶
type MavenProject struct {
// contains filtered or unexported fields
}
func NewMavenProject ¶
func NewMavenProject(filePath string) *MavenProject
func (*MavenProject) Parse ¶
func (p *MavenProject) Parse() error
func (*MavenProject) Update ¶
func (p *MavenProject) Update(version string) error
func (*MavenProject) Version ¶
func (p *MavenProject) Version() string
type PomXml ¶
type PomXml struct { XMLName xml.Name `xml:"project"` ModelVersion string `xml:"modelVersion"` GroupID string `xml:"groupId"` ArtifactID string `xml:"artifactId"` Version string `xml:"version"` Packaging string `xml:"packaging"` Name string `xml:"name"` Build string `xml:"build"` DependencyManagement DependencyManagement `xml:"dependencyManagement"` Dependencies []Dependency `xml:"dependencies>dependency"` }
type Repository ¶
Click to show internal directories.
Click to hide internal directories.