mvn

package
v2.56.7 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunMvn added in v2.56.6

func RunMvn(mu *MvnUtils) error

Types

type MvnCommand

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

func NewMvnCommand

func NewMvnCommand() *MvnCommand

func (*MvnCommand) CommandName

func (mc *MvnCommand) CommandName() string

func (*MvnCommand) IsDetailedSummary

func (mc *MvnCommand) IsDetailedSummary() bool

func (*MvnCommand) IsXrayScan

func (mc *MvnCommand) IsXrayScan() bool

func (*MvnCommand) Result

func (mc *MvnCommand) Result() *commandsutils.Result

func (*MvnCommand) Run

func (mc *MvnCommand) Run() error

func (*MvnCommand) ServerDetails

func (mc *MvnCommand) ServerDetails() (*config.ServerDetails, error)

Returns the ServerDetails. The information returns from the config file provided.

func (*MvnCommand) SetConfigPath

func (mc *MvnCommand) SetConfigPath(configPath string) *MvnCommand

func (*MvnCommand) SetConfiguration

func (mc *MvnCommand) SetConfiguration(configuration *build.BuildConfiguration) *MvnCommand

func (*MvnCommand) SetDetailedSummary

func (mc *MvnCommand) SetDetailedSummary(detailedSummary bool) *MvnCommand

func (*MvnCommand) SetGoals

func (mc *MvnCommand) SetGoals(goals []string) *MvnCommand

func (*MvnCommand) SetInsecureTls

func (mc *MvnCommand) SetInsecureTls(insecureTls bool) *MvnCommand

func (*MvnCommand) SetScanOutputFormat added in v2.4.1

func (mc *MvnCommand) SetScanOutputFormat(format format.OutputFormat) *MvnCommand

func (*MvnCommand) SetServerDetails

func (mc *MvnCommand) SetServerDetails(serverDetails *config.ServerDetails) *MvnCommand

func (*MvnCommand) SetThreads

func (mc *MvnCommand) SetThreads(threads int) *MvnCommand

func (*MvnCommand) SetXrayScan

func (mc *MvnCommand) SetXrayScan(xrayScan bool) *MvnCommand

type MvnUtils added in v2.56.6

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

func NewMvnUtils added in v2.56.6

func NewMvnUtils() *MvnUtils

func (*MvnUtils) GetBuildInfoFilePath added in v2.56.6

func (mu *MvnUtils) GetBuildInfoFilePath() string

GetBuildInfoFilePath returns the path to the temporary build info file This file stores build-info details and is populated by the Maven extractor after CalcDependencies() is called

func (*MvnUtils) SetBuildArtifactsDetailsFile added in v2.56.6

func (mu *MvnUtils) SetBuildArtifactsDetailsFile(buildArtifactsDetailsFile string) *MvnUtils

func (*MvnUtils) SetBuildConf added in v2.56.6

func (mu *MvnUtils) SetBuildConf(buildConf *buildUtils.BuildConfiguration) *MvnUtils

func (*MvnUtils) SetConfig added in v2.56.6

func (mu *MvnUtils) SetConfig(vConfig *viper.Viper) *MvnUtils

func (*MvnUtils) SetDisableDeploy added in v2.56.6

func (mu *MvnUtils) SetDisableDeploy(disableDeploy bool) *MvnUtils

func (*MvnUtils) SetGoals added in v2.56.6

func (mu *MvnUtils) SetGoals(goals []string) *MvnUtils

func (*MvnUtils) SetInsecureTls added in v2.56.6

func (mu *MvnUtils) SetInsecureTls(insecureTls bool) *MvnUtils

func (*MvnUtils) SetOutputWriter added in v2.56.6

func (mu *MvnUtils) SetOutputWriter(writer io.Writer) *MvnUtils

func (*MvnUtils) SetThreads added in v2.56.6

func (mu *MvnUtils) SetThreads(threads int) *MvnUtils

Jump to

Keyboard shortcuts

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