Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
*BuilderOptions
}
func NewBuilder ¶
func NewBuilder(opts *BuilderOptions) (*Builder, error)
type BuilderOptions ¶
type BuilderOptions struct { ProjectDir string Parallel ParallelOptions Stdout io.Writer Stderr io.Writer }
func (*BuilderOptions) Validate ¶
func (opts *BuilderOptions) Validate() error
type ParallelOptions ¶
type Project ¶ added in v0.10.0
type Project struct { XMLName xml.Name `xml:"project"` GroupId string `xml:"groupId"` Version string `xml:"version"` Name string `xml:"name"` Description string `xml:"description"` Properties struct { Text string `xml:",chardata"` MavenCompilerTarget string `xml:"maven.compiler.target"` MavenCompilerSource string `xml:"maven.compiler.source"` } `xml:"properties"` Dependencies struct { Dependency []struct { GroupId string `xml:"groupId"` ArtifactId string `xml:"artifactId"` Version string `xml:"version"` Scope string `xml:"scope"` } `xml:"dependency"` } `xml:"dependencies"` Build struct { SourceDirectory string `xml:"sourceDirectory"` ScriptSourceDirectory string `xml:"scriptSourceDirectory"` TestSourceDirectory string `xml:"testSourceDirectory"` OutputDirectory string `xml:"outputDirectory"` TestOutputDirectory string `xml:"testOutputDirectory"` Resources struct { Resource []Resource `xml:"resource"` } `xml:"resources"` TestResources struct { TestResource []Resource `xml:"testResource"` } `xml:"testResources"` Directory string `xml:"directory"` } `xml:"build"` Reporting struct { OutputDirectory string `xml:"outputDirectory"` } `xml:"reporting"` }
this struct is a abbreviated representation of an actual pom.xml
Click to show internal directories.
Click to hide internal directories.