dependency

package
v0.0.0-...-52f93eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activation

type Activation struct {
	ActiveByDefault string    `xml:"activeByDefault,omitempty"`
	JDK             string    `xml:"jdk,omitempty"`
	OS              *OS       `xml:"os,omitempty"`
	Property        *Property `xml:"property,omitempty"`
	File            *File     `xml:"file,omitempty"`
}

type CiManagement

type CiManagement struct {
	System    string     `xml:"system,omitempty"`
	URL       string     `xml:"url,omitempty"`
	Notifiers *Notifiers `xml:"notifiers,omitempty"`
}

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 Exclusion

type Exclusion struct {
	ArtifactID string `xml:"artifactId,omitempty"`
	GroupID    string `xml:"groupId,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 File

type File struct {
	Missing string `xml:"missing,omitempty"`
	Exists  string `xml:"exists,omitempty"`
}

type IssueManagement

type IssueManagement struct {
	System string `xml:"system,omitempty"`
	URL    string `xml:"url,omitempty"`
}

type License

type License struct {
	Name         string `xml:"name,omitempty"`
	URL          string `xml:"url,omitempty"`
	Distribution string `xml:"distribution,omitempty"`
	Comments     string `xml:"comments,omitempty"`
}

type Licenses

type Licenses struct {
	License []*License `xml:"license,omitempty"`
}

type MailingList

type MailingList struct {
	Name          string `xml:"name,omitempty"`
	Subscribe     string `xml:"subscribe,omitempty"`
	Unsubscribe   string `xml:"unsubscribe,omitempty"`
	Post          string `xml:"post,omitempty"`
	Archive       string `xml:"archive,omitempty"`
	OtherArchives string `xml:"otherArchives,omitempty"`
}

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 Notifiers

type Notifiers struct {
	Notifier []*Notifier `xml:"notifier,omitempty"`
}

type OS

type OS struct {
	Name    string `xml:"name,omitempty"`
	Family  string `xml:"family,omitempty"`
	Arch    string `xml:"arch,omitempty"`
	Version string `xml:"version,omitempty"`
}

type Organization

type Organization struct {
	Name string `xml:"name,omitempty"`
	URL  string `xml:"url,omitempty"`
}

type Parent

type Parent struct {
	GroupID      string  `xml:"groupId,omitempty"`
	ArtifactID   string  `xml:"artifactId,omitempty"`
	Version      string  `xml:"version,omitempty"`
	Message      *string `xml:"message,omitempty,omitempty"`
	RelativePath *string `xml:"relativePath,omitempty,omitempty"`
}

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

func (m *Plugins) GetPluginSlice() []*Plugin

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

func (m *Profiles) GetProfileSlice() []*Profile

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

func (m *Project) GetProfiles() *Profiles

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

type Properties struct {
	Entries map[string]string
}

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 Property

type Property struct {
	Name  string `xml:"name,omitempty"`
	Value string `xml:"value,omitempty"`
}

type Releases

type Releases struct {
	Enabled        string `xml:"enabled,omitempty"`
	UpdatePolicy   string `xml:"updatePolicy,omitempty"`
	ChecksumPolicy string `xml:"checksumPolicy,omitempty"`
}

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 Resource

type Resource struct {
	TargetPath string `xml:"targetPath,omitempty"`
	Filtering  string `xml:"filtering,omitempty"`
	Directory  string `xml:"directory,omitempty"`
	Includes   string `xml:"includes,omitempty"`
	Excludes   string `xml:"excludes,omitempty"`
}

type Resources

type Resources struct {
	Resource []*Resource `xml:"resource,omitempty"`
}

type SCM

type SCM struct {
	Connection          string `xml:"connection,omitempty"`
	DeveloperConnection string `xml:"developerConnection,omitempty"`
	Tag                 string `xml:"tag,omitempty"`
	URL                 string `xml:"url,omitempty"`
}

type Site

type Site struct {
	ID   string `xml:"id,omitempty"`
	Name string `xml:"name,omitempty"`
	URL  string `xml:"url,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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL