java

package
v2.47.11 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GavPackageTypeIdentifier = "gav://"
)

Variables

This section is empty.

Functions

func BuildDependencyTree

func BuildDependencyTree(serverDetails *config.ServerDetails, depsRepo string, useWrapper, isMavenDepTreeInstalled bool, tech coreutils.Technology) ([]*xrayUtils.GraphNode, []string, error)

func GetMavenPluginInstallationGoals

func GetMavenPluginInstallationGoals(pluginPath string) []string

func GetModuleTreeAndDependencies

func GetModuleTreeAndDependencies(module *moduleDepTree) (*xrayUtils.GraphNode, []string)

Returns a dependency tree and a flat list of the module's dependencies for the given module

Types

type DepTreeManager

type DepTreeManager struct {
	// contains filtered or unexported fields
}

func NewDepTreeManager

func NewDepTreeManager(params *DepTreeParams) DepTreeManager

type DepTreeParams

type DepTreeParams struct {
	UseWrapper bool
	Server     *config.ServerDetails
	DepsRepo   string
}

type MavenDepTreeCmd

type MavenDepTreeCmd string
const (
	Projects MavenDepTreeCmd = "projects"
	Tree     MavenDepTreeCmd = "tree"
)

type MavenDepTreeManager

type MavenDepTreeManager struct {
	DepTreeManager
	// contains filtered or unexported fields
}

func NewMavenDepTreeManager

func NewMavenDepTreeManager(params *DepTreeParams, cmdName MavenDepTreeCmd, isDepTreeInstalled bool) *MavenDepTreeManager

func (*MavenDepTreeManager) RunMavenDepTree

func (mdt *MavenDepTreeManager) RunMavenDepTree() (string, error)

func (*MavenDepTreeManager) RunMvnCmd

func (mdt *MavenDepTreeManager) RunMvnCmd(goals []string) (cmdOutput []byte, err error)

Jump to

Keyboard shortcuts

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