Documentation
¶
Index ¶
- type Activation
- type CiManagement
- type Contributor
- type Contributors
- type Dependencies
- type Dependency
- type DependencyManagement
- type Developers
- type DistributionManagement
- type Exclusion
- type Exclusions
- type Execution
- type Executions
- type Extensions
- type File
- type IssueManagement
- type License
- type Licenses
- type MailingList
- type MailingLists
- type Notifier
- type Notifiers
- type OS
- type Organization
- type Parent
- type Plugin
- type PluginManagement
- type PluginRepositories
- type Plugins
- type Prerequisites
- type Profile
- type ProfileBuild
- type Profiles
- type Project
- type ProjectBuild
- type Properties
- type Property
- type Releases
- type ReportSet
- type ReportSets
- type Reporting
- type ReportingPlugin
- type ReportingPlugins
- type Repositories
- type Repository
- type Resource
- type Resources
- type SCM
- type Site
- type SystemMavenDownloader
- type TestResources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Activation ¶
type CiManagement ¶
type Contributor ¶
type Contributor struct { Name string `xml:"name,omitempty"` Email string `xml:"email,omitempty"` URL string `xml:"url,omitempty"` Organization string `xml:"organization,omitempty"` OrganizationURL string `xml:"organizationUrl,omitempty"` Roles string `xml:"roles,omitempty"` Timezone string `xml:"timezone,omitempty"` Properties *Properties `xml:"properties,omitempty"` ID *string `xml:"id,omitempty,omitempty"` }
type Contributors ¶
type Contributors struct {
Contributor []*Contributor `xml:"contributor,omitempty"`
}
type Dependencies ¶
type Dependencies struct {
Dependency []*Dependency `xml:"dependency,omitempty"`
}
type Dependency ¶
type Dependency struct { GroupID string `xml:"groupId,omitempty"` ArtifactID string `xml:"artifactId,omitempty"` Version string `xml:"version,omitempty"` Type string `xml:"type,omitempty"` Classifier string `xml:"classifier,omitempty"` Scope string `xml:"scope,omitempty"` SystemPath string `xml:"systemPath,omitempty"` Exclusions *Exclusions `xml:"exclusions,omitempty"` Optional string `xml:"optional,omitempty"` }
type DependencyManagement ¶
type DependencyManagement struct {
Dependencies *Dependencies `xml:"dependencies,omitempty"`
}
type Developers ¶
type Developers struct {
Developer []*Contributor `xml:"developer,omitempty"`
}
type DistributionManagement ¶
type DistributionManagement struct { Repository *Repository `xml:"repository,omitempty"` SnapshotRepository *Repository `xml:"snapshotRepository,omitempty"` Site *Site `xml:"site,omitempty"` DownloadURL string `xml:"downloadUrl,omitempty"` Relocation *Parent `xml:"relocation,omitempty"` Status string `xml:"status,omitempty"` }
type Exclusions ¶
type Exclusions struct {
Exclusion []*Exclusion `xml:"exclusion,omitempty"`
}
type Execution ¶
type Execution struct { ID string `xml:"id,omitempty"` Phase string `xml:"phase,omitempty"` Goals string `xml:"goals,omitempty"` Inherited string `xml:"inherited,omitempty"` Configuration *Properties `xml:"configuration,omitempty"` }
type Executions ¶
type Executions struct {
Execution []*Execution `xml:"execution,omitempty"`
}
type Extensions ¶
type Extensions struct {
Extension []*Parent `xml:"extension,omitempty"`
}
type IssueManagement ¶
type MailingList ¶
type MailingLists ¶
type MailingLists struct {
MailingList []*MailingList `xml:"mailingList,omitempty"`
}
type Notifier ¶
type Notifier struct { Type string `xml:"type,omitempty"` SendOnError string `xml:"sendOnError,omitempty"` SendOnFailure string `xml:"sendOnFailure,omitempty"` SendOnSuccess string `xml:"sendOnSuccess,omitempty"` SendOnWarning string `xml:"sendOnWarning,omitempty"` Address string `xml:"address,omitempty"` Configuration *Properties `xml:"configuration,omitempty"` }
type Organization ¶
type Plugin ¶
type Plugin struct { GroupID string `xml:"groupId,omitempty"` ArtifactID string `xml:"artifactId,omitempty"` Version string `xml:"version,omitempty"` Extensions string `xml:"extensions,omitempty"` Executions *Executions `xml:"executions,omitempty"` Dependencies *Dependencies `xml:"dependencies,omitempty"` Goals string `xml:"goals,omitempty"` Inherited string `xml:"inherited,omitempty"` Configuration *Properties `xml:"configuration,omitempty"` }
type PluginManagement ¶
type PluginManagement struct {
Plugins *Plugins `xml:"plugins,omitempty"`
}
func (*PluginManagement) GetPlugins ¶
func (m *PluginManagement) GetPlugins() *Plugins
type PluginRepositories ¶
type PluginRepositories struct {
PluginRepository []*Repository `xml:"pluginRepository,omitempty"`
}
type Plugins ¶
type Plugins struct {
Plugin []*Plugin `xml:"plugin,omitempty"`
}
func (*Plugins) GetPluginSlice ¶
type Prerequisites ¶
type Prerequisites struct {
Maven string `xml:"maven,omitempty"`
}
type Profile ¶
type Profile struct { ID string `xml:"id,omitempty"` Activation *Activation `xml:"activation,omitempty"` Build *ProfileBuild `xml:"build,omitempty"` Modules string `xml:"modules,omitempty"` DistributionManagement *DistributionManagement `xml:"distributionManagement,omitempty"` Properties *Properties `xml:"properties,omitempty"` DependencyManagement *DependencyManagement `xml:"dependencyManagement,omitempty"` Dependencies *Dependencies `xml:"dependencies,omitempty"` Repositories *Repositories `xml:"repositories,omitempty"` PluginRepositories *PluginRepositories `xml:"pluginRepositories,omitempty"` Reports string `xml:"reports,omitempty"` Reporting *Reporting `xml:"reporting,omitempty"` }
func (*Profile) GetBuild ¶
func (m *Profile) GetBuild() *ProfileBuild
type ProfileBuild ¶
type ProfileBuild struct { DefaultGoal string `xml:"defaultGoal,omitempty"` Resources *Resources `xml:"resources,omitempty"` TestResources *TestResources `xml:"testResources,omitempty"` Directory string `xml:"directory,omitempty"` FinalName string `xml:"finalName,omitempty"` Filters string `xml:"filters,omitempty"` PluginManagement *PluginManagement `xml:"pluginManagement,omitempty"` Plugins *Plugins `xml:"plugins,omitempty"` }
func (*ProfileBuild) GetPluginManagement ¶
func (m *ProfileBuild) GetPluginManagement() *PluginManagement
func (*ProfileBuild) GetPlugins ¶
func (m *ProfileBuild) GetPlugins() *Plugins
type Profiles ¶
type Profiles struct {
Profile []*Profile `xml:"profile,omitempty"`
}
func (*Profiles) GetProfileSlice ¶
type Project ¶
type Project struct { XMLName xml.Name `xml:"project"` ModelVersion string `xml:"modelVersion,omitempty"` Parent *Parent `xml:"parent,omitempty"` GroupID string `xml:"groupId,omitempty"` ArtifactID string `xml:"artifactId,omitempty"` Version string `xml:"version,omitempty"` Packaging string `xml:"packaging,omitempty"` Name string `xml:"name,omitempty"` Description string `xml:"description,omitempty"` URL string `xml:"url,omitempty"` InceptionYear string `xml:"inceptionYear,omitempty"` Organization *Organization `xml:"organization,omitempty"` Licenses *Licenses `xml:"licenses,omitempty"` Developers *Developers `xml:"developers,omitempty"` Contributors *Contributors `xml:"contributors,omitempty"` MailingLists *MailingLists `xml:"mailingLists,omitempty"` Prerequisites *Prerequisites `xml:"prerequisites,omitempty"` Modules string `xml:"modules,omitempty"` SCM *SCM `xml:"scm,omitempty"` IssueManagement *IssueManagement `xml:"issueManagement,omitempty"` CiManagement *CiManagement `xml:"ciManagement,omitempty"` DistributionManagement *DistributionManagement `xml:"distributionManagement,omitempty"` Properties *Properties `xml:"properties,omitempty"` DependencyManagement *DependencyManagement `xml:"dependencyManagement,omitempty"` Dependencies *Dependencies `xml:"dependencies,omitempty"` Repositories *Repositories `xml:"repositories,omitempty"` PluginRepositories *PluginRepositories `xml:"pluginRepositories,omitempty"` Build *ProjectBuild `xml:"build,omitempty"` Reports string `xml:"reports,omitempty"` Reporting *Reporting `xml:"reporting,omitempty"` Profiles *Profiles `xml:"profiles,omitempty"` Xmlns string `xml:"_xmlns,omitempty"` XmlnsXsi string `xml:"_xmlns:xsi,omitempty"` XsiSchemaLocation string `xml:"_xsi:schemaLocation,omitempty"` }
func (*Project) GetBuild ¶
func (m *Project) GetBuild() *ProjectBuild
func (*Project) GetProfiles ¶
type ProjectBuild ¶
type ProjectBuild struct { SourceDirectory string `xml:"sourceDirectory,omitempty"` ScriptSourceDirectory string `xml:"scriptSourceDirectory,omitempty"` TestSourceDirectory string `xml:"testSourceDirectory,omitempty"` OutputDirectory string `xml:"outputDirectory,omitempty"` TestOutputDirectory string `xml:"testOutputDirectory,omitempty"` Extensions *Extensions `xml:"extensions,omitempty"` DefaultGoal string `xml:"defaultGoal,omitempty"` Resources *Resources `xml:"resources,omitempty"` TestResources *TestResources `xml:"testResources,omitempty"` Directory string `xml:"directory,omitempty"` FinalName string `xml:"finalName,omitempty"` Filters string `xml:"filters,omitempty"` PluginManagement *PluginManagement `xml:"pluginManagement,omitempty"` Plugins *Plugins `xml:"plugins,omitempty"` }
func (*ProjectBuild) GetPluginManagement ¶
func (m *ProjectBuild) GetPluginManagement() *PluginManagement
func (*ProjectBuild) GetPlugins ¶
func (m *ProjectBuild) GetPlugins() *Plugins
type Properties ¶
func (*Properties) MarshalXML ¶
func (p *Properties) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (*Properties) UnmarshalXML ¶
func (p *Properties) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error)
type ReportSet ¶
type ReportSet struct { ID string `xml:"id,omitempty"` Reports string `xml:"reports,omitempty"` Inherited string `xml:"inherited,omitempty"` Configuration *Properties `xml:"configuration,omitempty"` }
type ReportSets ¶
type ReportSets struct {
ReportSet []*ReportSet `xml:"reportSet,omitempty"`
}
type Reporting ¶
type Reporting struct { ExcludeDefaults string `xml:"excludeDefaults,omitempty"` OutputDirectory string `xml:"outputDirectory,omitempty"` Plugins *ReportingPlugins `xml:"plugins,omitempty"` }
type ReportingPlugin ¶
type ReportingPlugin struct { GroupID string `xml:"groupId,omitempty"` ArtifactID string `xml:"artifactId,omitempty"` Version string `xml:"version,omitempty"` ReportSets *ReportSets `xml:"reportSets,omitempty"` Inherited string `xml:"inherited,omitempty"` Configuration *Properties `xml:"configuration,omitempty"` }
type ReportingPlugins ¶
type ReportingPlugins struct {
Plugin []*ReportingPlugin `xml:"plugin,omitempty"`
}
type Repositories ¶
type Repositories struct {
Repository []*Repository `xml:"repository,omitempty"`
}
type Repository ¶
type Repository struct { UniqueVersion *string `xml:"uniqueVersion,omitempty,omitempty"` Releases *Releases `xml:"releases,omitempty"` Snapshots *Releases `xml:"snapshots,omitempty"` ID string `xml:"id,omitempty"` Name string `xml:"name,omitempty"` URL string `xml:"url,omitempty"` Layout string `xml:"layout,omitempty"` }
type SystemMavenDownloader ¶
type SystemMavenDownloader struct {
// contains filtered or unexported fields
}
func NewSystemMavenDownloader ¶
func NewSystemMavenDownloader(wd string) *SystemMavenDownloader
func (*SystemMavenDownloader) Get ¶
func (m *SystemMavenDownloader) Get() error
type TestResources ¶
type TestResources struct {
TestResource []*Resource `xml:"testResource,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.