Documentation ¶
Index ¶
- Constants
- Variables
- func CheckRelatedFile(file string) (string, bool, bool)
- func Scan(data interface{}) interface{}
- type Activation
- type ActivationFile
- type ActivationOS
- type ActivationProperty
- type Build
- type BuildBase
- type CIManagement
- type Contributor
- type Dependency
- type DependencyManagement
- type Developer
- type DistributionManagement
- type Exclusion
- type Extension
- type IssueManagement
- type License
- type MailingList
- type Metadata
- type Notifier
- type Organization
- type POM
- type Parent
- type Plugin
- type PluginExecution
- type PluginManagement
- type PluginRepository
- type PomRepository
- type Prerequisites
- type Profile
- type Properties
- type Property
- type Relocation
- type ReportSet
- type Reporting
- type ReportingPlugin
- type Repository
- type RepositoryPolicy
- type Resource
- type Scm
- type Site
Constants ¶
View Source
const Type string = "java"
Variables ¶
View Source
var Manifests = []string{"pom.xml", "pom.properties", "MANIFEST.MF"}
Functions ¶
Types ¶
type Activation ¶
type Activation struct { ActiveByDefault bool `xml:"activeByDefault" json:"activeByDefault,omitempty"` JDK string `xml:"jdk" json:"jdk,omitempty"` OS *ActivationOS `xml:"os" json:"os,omitempty"` Property *ActivationProperty `xml:"property" json:"property,omitempty"` File *ActivationFile `xml:"file" json:"file,omitempty"` }
type ActivationFile ¶
type ActivationOS ¶
type ActivationProperty ¶
type Build ¶
type Build struct { SourceDirectory string `xml:"sourceDirectory" json:"sourceDirectory,omitempty"` ScriptSourceDirectory string `xml:"scriptSourceDirectory" json:"scriptSourceDirectory,omitempty"` TestSourceDirectory string `xml:"testSourceDirectory" json:"testSourceDirectory,omitempty"` OutputDirectory string `xml:"outputDirectory" json:"outputDirectory,omitempty"` TestOutputDirectory string `xml:"testOutputDirectory" json:"testOutputDirectory,omitempty"` Extensions []Extension `xml:"extensions>extension" json:"extensions,omitempty"` BuildBase }
type BuildBase ¶
type BuildBase struct { DefaultGoal string `xml:"defaultGoal" json:"defaultGoal,omitempty"` Resources []Resource `xml:"resources>resource" json:"resources,omitempty"` TestResources []Resource `xml:"testResources>testResource" json:"testResources,omitempty"` Directory string `xml:"directory" json:"directory,omitempty"` FinalName string `xml:"finalName" json:"finalName,omitempty"` Filters []string `xml:"filters>filter" json:"filters,omitempty"` PluginManagement PluginManagement `xml:"pluginManagement" json:"pluginManagement,omitempty"` Plugins []Plugin `xml:"plugins>plugin" json:"plugins,omitempty"` }
type CIManagement ¶
type Contributor ¶
type Contributor struct { Name string `xml:"name" json:"name,omitempty"` Email string `xml:"email" json:"email,omitempty"` URL string `xml:"url" json:"url,omitempty"` Organization string `xml:"organization" json:"organization,omitempty"` OrganizationURL string `xml:"organizationUrl" json:"organizationUrl,omitempty"` Roles []string `xml:"roles>role" json:"roles,omitempty"` Timezone string `xml:"timezone" json:"timezone,omitempty"` Properties *Properties `xml:"properties" json:"properties,omitempty"` }
type Dependency ¶
type Dependency struct { GroupID string `xml:"groupId" json:"groupId,omitempty"` ArtifactID string `xml:"artifactId" json:"artifactId,omitempty"` Version string `xml:"version" json:"version,omitempty"` Type string `xml:"type" json:"type,omitempty"` Classifier string `xml:"classifier" json:"classifier,omitempty"` Scope string `xml:"scope" json:"scope,omitempty"` SystemPath string `xml:"systemPath" json:"systemPath,omitempty"` Exclusions []Exclusion `xml:"exclusions>exclusion" json:"exclusions,omitempty"` Optional string `xml:"optional" json:"optional,omitempty"` }
type DependencyManagement ¶
type DependencyManagement struct {
Dependencies []Dependency `xml:"dependencies>dependency" json:"dependencies,omitempty"`
}
type Developer ¶
type Developer struct { ID string `xml:"id" json:"id,omitempty"` Name string `xml:"name" json:"name,omitempty"` Email string `xml:"email" json:"email,omitempty"` URL string `xml:"url" json:"url,omitempty"` Organization string `xml:"organization" json:"organization,omitempty"` OrganizationURL string `xml:"organizationUrl" json:"organizationUrl,omitempty"` Roles []string `xml:"roles>role" json:"roles,omitempty"` Timezone string `xml:"timezone" json:"timezone,omitempty"` Properties *Properties `xml:"properties" json:"properties,omitempty"` }
type DistributionManagement ¶
type DistributionManagement struct { Repository *Repository `xml:"repository" json:"repository,omitempty"` SnapshotRepository *Repository `xml:"snapshotRepository" json:"snapshotRepository,omitempty"` Site *Site `xml:"site" json:"site,omitempty"` DownloadURL string `xml:"downloadUrl" json:"downloadUrl,omitempty"` Relocation *Relocation `xml:"relocation" json:"relocation,omitempty"` Status string `xml:"status" json:"status,omitempty"` }
type IssueManagement ¶
type MailingList ¶
type MailingList struct { Name string `xml:"name" json:"name,omitempty"` Subscribe string `xml:"subscribe" json:"subscribe,omitempty"` Unsubscribe string `xml:"unsubscribe" json:"unsubscribe,omitempty"` Post string `xml:"post" json:"post,omitempty"` Archive string `xml:"archive" json:"archive,omitempty"` OtherArchives []string `xml:"otherArchives>otherArchive" json:"otherArchives,omitempty"` }
type Metadata ¶
type Metadata struct { XMLName xml.Name `xml:"project" json:"project,omitempty"` ModelVersion string `xml:"modelVersion" json:"modelVersion,omitempty"` Parent Parent `xml:"parent" json:"parent,omitempty"` GroupID string `xml:"groupId" json:"groupId,omitempty"` ArtifactID string `xml:"artifactId" json:"artifactId,omitempty"` Version string `xml:"version" json:"version,omitempty"` Packaging string `xml:"packaging" json:"packaging,omitempty"` Name string `xml:"name" json:"name,omitempty"` Description string `xml:"description" json:"description,omitempty"` URL string `xml:"url" json:"url,omitempty"` InceptionYear string `xml:"inceptionYear" json:"inceptionYear,omitempty"` Organization *Organization `xml:"organization" json:"organization,omitempty"` Licenses *[]License `xml:"licenses>license" json:"licenses,omitempty"` Developers *[]Developer `xml:"developers>developer" json:"developers,omitempty"` Contributors *[]Contributor `xml:"contributors>contributor" json:"contributors,omitempty"` MailingLists *[]MailingList `xml:"mailingLists>mailingList" json:"mailingLists,omitempty"` Prerequisites *Prerequisites `xml:"prerequisites" json:"prerequisites,omitempty"` Modules []string `xml:"modules>module" json:"modules,omitempty"` SCM *Scm `xml:"scm" json:"scm,omitempty"` IssueManagement *IssueManagement `xml:"issueManagement" json:"issueManagement,omitempty"` CIManagement *CIManagement `xml:"ciManagement" json:"ciManagement,omitempty"` DistributionManagement *DistributionManagement `xml:"distributionManagement" json:"distributionManagement,omitempty"` DependencyManagement *DependencyManagement `xml:"dependencyManagement" json:"dependencyManagement,omitempty"` Dependencies []Dependency `xml:"dependencies>dependency" json:"dependencies,omitempty"` Repositories []PomRepository `xml:"repositories>repository" json:"repositories,omitempty"` PluginRepositories []PluginRepository `xml:"pluginRepositories>pluginRepository" json:"pluginRepositories,omitempty"` Build *Build `xml:"build" json:"build,omitempty"` Reporting *Reporting `xml:"reporting" json:"reporting,omitempty"` Profiles *[]Profile `xml:"profiles>profile" json:"profiles,omitempty"` Properties *Properties `xml:"properties" json:"properties,omitempty"` }
type Notifier ¶
type Notifier struct { Type string `xml:"type" json:"type,omitempty"` SendOnError bool `xml:"sendOnError" json:"sendOnError,omitempty"` SendOnFailure bool `xml:"sendOnFailure" json:"sendOnFailure,omitempty"` SendOnSuccess bool `xml:"sendOnSuccess" json:"sendOnSuccess,omitempty"` SendOnWarning bool `xml:"sendOnWarning" json:"sendOnWarning,omitempty"` Address string `xml:"address" json:"address,omitempty"` Configuration *Properties `xml:"configuration" json:"configuration,omitempty"` }
type Organization ¶
type Plugin ¶
type Plugin struct { GroupID string `xml:"groupId" json:"groupId,omitempty"` ArtifactID string `xml:"artifactId" json:"artifactId,omitempty"` Version string `xml:"version" json:"version,omitempty"` Extensions string `xml:"extensions" json:"extensions,omitempty"` Executions []PluginExecution `xml:"executions>execution" json:"executions,omitempty"` Dependencies []Dependency `xml:"dependencies>dependency" json:"dependencies,omitempty"` Inherited string `xml:"inherited" json:"inherited,omitempty"` }
type PluginExecution ¶
type PluginManagement ¶
type PluginManagement struct {
Plugins []Plugin `xml:"plugins>plugin" json:"plugins,omitempty"`
}
type PluginRepository ¶
type PluginRepository struct { Releases *RepositoryPolicy `xml:"releases" json:"releases,omitempty"` Snapshots *RepositoryPolicy `xml:"snapshots" json:"snapshots,omitempty"` ID string `xml:"id" json:"id,omitempty"` Name string `xml:"name" json:"name,omitempty"` URL string `xml:"url" json:"url,omitempty"` Layout string `xml:"layout" json:"layout,omitempty"` }
type PomRepository ¶
type PomRepository struct { UniqueVersion bool `xml:"uniqueVersion" json:"uniqueVersion,omitempty"` Releases *RepositoryPolicy `xml:"releases" json:"releases,omitempty"` Snapshots *RepositoryPolicy `xml:"snapshots" json:"snapshots,omitempty"` ID string `xml:"id" json:"id,omitempty"` Name string `xml:"name" json:"name,omitempty"` URL string `xml:"url" json:"url,omitempty"` Layout string `xml:"layout" json:"layout,omitempty"` }
type Prerequisites ¶
type Prerequisites struct {
Maven string `xml:"maven" json:"maven,omitempty"`
}
type Profile ¶
type Profile struct { ID string `xml:"id" json:"id,omitempty"` Activation *Activation `xml:"activation" json:"activation,omitempty"` Build *BuildBase `xml:"build" json:"build,omitempty"` Modules []string `xml:"modules>module" json:"modules,omitempty"` DistributionManagement *DistributionManagement `xml:"distributionManagement" json:"distributionManagement,omitempty"` Properties *Properties `xml:"properties" json:"properties,omitempty"` DependencyManagement *DependencyManagement `xml:"dependencyManagement" json:"dependencyManagement,omitempty"` Dependencies []Dependency `xml:"dependencies>dependency" json:"dependencies,omitempty"` Repositories []Repository `xml:"repositories>repository" json:"repositories,omitempty"` PluginRepositories []PluginRepository `xml:"pluginRepositories>pluginRepository" json:"pluginRepositories,omitempty"` Reporting *Reporting `xml:"reporting" json:"reporting,omitempty"` }
type Properties ¶
type Properties struct {
Properties []Property `xml:",any"`
}
type Relocation ¶
type Reporting ¶
type Reporting struct { ExcludeDefaults string `xml:"excludeDefaults" json:"excludeDefaults,omitempty"` OutputDirectory string `xml:"outputDirectory" json:"outputDirectory,omitempty"` Plugins []ReportingPlugin `xml:"plugins>plugin" json:"plugins,omitempty"` }
type ReportingPlugin ¶
type ReportingPlugin struct { GroupID string `xml:"groupId" json:"groupId,omitempty"` ArtifactID string `xml:"artifactId" json:"artifactId,omitempty"` Version string `xml:"version" json:"version,omitempty"` Inherited string `xml:"inherited" json:"inherited,omitempty"` ReportSets []ReportSet `xml:"reportSets>reportSet" json:"reportSets,omitempty"` }
type Repository ¶
type RepositoryPolicy ¶
type Resource ¶
type Resource struct { TargetPath string `xml:"targetPath" json:"targetPath,omitempty"` Filtering string `xml:"filtering" json:"filtering,omitempty"` Directory string `xml:"directory" json:"directory,omitempty"` Includes []string `xml:"includes>include" json:"includes,omitempty"` Excludes []string `xml:"excludes>exclude" json:"excludes,omitempty"` }
Click to show internal directories.
Click to hide internal directories.