Package io.quarkus.domino
Class ProjectDependencyConfigImpl
java.lang.Object
io.quarkus.domino.ProjectDependencyConfigImpl
- All Implemented Interfaces:
ProjectDependencyConfig
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.domino.ProjectDependencyConfig
ProjectDependencyConfig.Mutable -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.quarkus.maven.dependency.ArtifactCoords>Artifact coordinates patterns that should be skipped along with their dependencies when walking dependency trees.Dependency scopes that should be excluded resolving dependencies of root artifact.Java home directory that should be used when fetching dependency information from a Gradle project.Collection<io.quarkus.maven.dependency.ArtifactCoords>Collection<io.quarkus.maven.dependency.ArtifactCoords>Artifact coordinates patterns that should be included when walking dependency trees.intgetLevel()The depth level of a dependency tree of each supported Quarkus extension to capture.Comma-separated list of artifacts to log dependency trees for.List<io.quarkus.maven.dependency.ArtifactCoords>BOMs that should be enforced when resolving dependencies but should not be added as project artifacts.Information about the product whose dependencies are to be analyzed.Collection<io.quarkus.maven.dependency.ArtifactCoords>Artifacts that should be used as roots of dependency trees during analysis.io.quarkus.maven.dependency.ArtifactCoordsProject BOMProject directoryA list of build recipe repository URLsbooleanWhether to exclude BOMs imported in the POMs of artifacts to be built from the list of artifacts to be built from sourcebooleanWhether to exclude parent POMs from the list of artifacts to be built from sourcebooleanWhether to use Java 8 to fetch dependency information from a Gradle project.booleanbooleanWhether to exclude dependencies (and their transitive dependencies) that aren't managed in the BOM.booleanWhether to include optional dependencies of the root project artifactsbooleanbooleanWhether to log the coordinates of the artifacts captured down to the depth specified.booleanWhether to log code repository info for the artifacts to be built from sourcebooleanWhether to log code repository dependency tree.booleanWhether to log the module GAVs the artifacts to be built belongs to instead of all the complete artifact coordinates to be built.booleanWhether to log visited non-managed dependencies.booleanWhether to log the coordinates of the artifacts below the depth specified.booleanWhether to log the summary at the end.booleanWhether to log the dependency trees walked down to the depth specified.booleanDeprecated.booleanWhether verbose dependency graphs should be enabled in the underlying dependency resolver.booleanWhether to issue a warning in case the SCM location could not be determined or fail with an error (the default behavior).booleanWhether to warn about errors not being able to resolve top level artifacts or fail the processMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.domino.ProjectDependencyConfig
mutable, persist
-
Method Details
-
getProductInfo
Description copied from interface:ProjectDependencyConfigInformation about the product whose dependencies are to be analyzed. Used primarily when generating SBOMs.- Specified by:
getProductInfoin interfaceProjectDependencyConfig- Returns:
- information about the product whose dependencies are to be analyzed
-
getProjectDir
Description copied from interface:ProjectDependencyConfigProject directory- Specified by:
getProjectDirin interfaceProjectDependencyConfig- Returns:
- project directory
-
getProjectBom
public io.quarkus.maven.dependency.ArtifactCoords getProjectBom()Description copied from interface:ProjectDependencyConfigProject BOM- Specified by:
getProjectBomin interfaceProjectDependencyConfig- Returns:
- project BOM
-
getNonProjectBoms
Description copied from interface:ProjectDependencyConfigBOMs that should be enforced when resolving dependencies but should not be added as project artifacts.- Specified by:
getNonProjectBomsin interfaceProjectDependencyConfig- Returns:
- BOMs that should be enforced when resolving dependencies but should not be added as project artifacts
-
getProjectArtifacts
Description copied from interface:ProjectDependencyConfigArtifacts that should be used as roots of dependency trees during analysis.- Specified by:
getProjectArtifactsin interfaceProjectDependencyConfig- Returns:
- artifacts that should be used as roots of dependency trees during analysis
-
getIncludeArtifacts
- Specified by:
getIncludeArtifactsin interfaceProjectDependencyConfig
-
getIncludePatterns
Description copied from interface:ProjectDependencyConfigArtifact coordinates patterns that should be included when walking dependency trees.- Specified by:
getIncludePatternsin interfaceProjectDependencyConfig- Returns:
- artifact coordinates patterns that should be included when walking dependency trees
-
getExcludePatterns
Description copied from interface:ProjectDependencyConfigArtifact coordinates patterns that should be skipped along with their dependencies when walking dependency trees.- Specified by:
getExcludePatternsin interfaceProjectDependencyConfig- Returns:
- artifact coordinates patterns that should be skipped along with their dependencies when walking dependency trees
-
getExcludeScopes
Description copied from interface:ProjectDependencyConfigDependency scopes that should be excluded resolving dependencies of root artifact. If not configured, provided and test scoped dependencies will be excluded by default.- Specified by:
getExcludeScopesin interfaceProjectDependencyConfig- Returns:
- dependency scopes that should be excluded resolving dependencies of root artifact
-
isIncludeNonManaged
public boolean isIncludeNonManaged()Description copied from interface:ProjectDependencyConfigWhether to exclude dependencies (and their transitive dependencies) that aren't managed in the BOM. The default is true.- Specified by:
isIncludeNonManagedin interfaceProjectDependencyConfig- Returns:
- whether non-managed dependencies should be included
-
isExcludeParentPoms
public boolean isExcludeParentPoms()Description copied from interface:ProjectDependencyConfigWhether to exclude parent POMs from the list of artifacts to be built from source- Specified by:
isExcludeParentPomsin interfaceProjectDependencyConfig- Returns:
- whether to exclude parent POMs
-
isExcludeBomImports
public boolean isExcludeBomImports()Description copied from interface:ProjectDependencyConfigWhether to exclude BOMs imported in the POMs of artifacts to be built from the list of artifacts to be built from source- Specified by:
isExcludeBomImportsin interfaceProjectDependencyConfig- Returns:
- whether to exclude BOM imports
-
getLevel
public int getLevel()Description copied from interface:ProjectDependencyConfigThe depth level of a dependency tree of each supported Quarkus extension to capture. Setting the level to 0 will target the supported extension artifacts themselves. Setting the level to 1, will target the supported extension artifacts plus their direct dependencies. If the level is not specified, the default will be -1, which means all the levels.- Specified by:
getLevelin interfaceProjectDependencyConfig- Returns:
- dependency level
-
isVerboseGraphs
public boolean isVerboseGraphs()Description copied from interface:ProjectDependencyConfigWhether verbose dependency graphs should be enabled in the underlying dependency resolver. This means exposing information about winning nodes during conflict resolution.- Specified by:
isVerboseGraphsin interfaceProjectDependencyConfig- Returns:
- whether verbose dependency graphs are enabled in the resolver
-
isLogArtifactsToBuild
public boolean isLogArtifactsToBuild()Description copied from interface:ProjectDependencyConfigWhether to log the coordinates of the artifacts captured down to the depth specified. The default is true.- Specified by:
isLogArtifactsToBuildin interfaceProjectDependencyConfig- Returns:
- whether to log complete artifacts coordinates
-
isLogModulesToBuild
public boolean isLogModulesToBuild()Description copied from interface:ProjectDependencyConfigWhether to log the module GAVs the artifacts to be built belongs to instead of all the complete artifact coordinates to be built. If this option is enabled, it overridesProjectDependencyConfig.isLogArtifactsToBuild()- Specified by:
isLogModulesToBuildin interfaceProjectDependencyConfig- Returns:
- whether to log module coords as GAVs instead of complete artifact coordinates
-
isLogTrees
public boolean isLogTrees()Description copied from interface:ProjectDependencyConfigWhether to log the dependency trees walked down to the depth specified. The default is false.- Specified by:
isLogTreesin interfaceProjectDependencyConfig- Returns:
- whether to log dependency trees
-
getLogTreesFor
Description copied from interface:ProjectDependencyConfigComma-separated list of artifacts to log dependency trees for.- Specified by:
getLogTreesForin interfaceProjectDependencyConfig- Returns:
- comma-separated list of artifacts to log dependency trees for
-
isLogRemaining
public boolean isLogRemaining()Description copied from interface:ProjectDependencyConfigWhether to log the coordinates of the artifacts below the depth specified. The default is false.- Specified by:
isLogRemainingin interfaceProjectDependencyConfig- Returns:
- whether to log remaining artifacts
-
isLogSummary
public boolean isLogSummary()Description copied from interface:ProjectDependencyConfigWhether to log the summary at the end. The default is true.- Specified by:
isLogSummaryin interfaceProjectDependencyConfig- Returns:
- whether to log summary
-
isLogNonManagedVisitied
public boolean isLogNonManagedVisitied()Description copied from interface:ProjectDependencyConfigWhether to log visited non-managed dependencies.- Specified by:
isLogNonManagedVisitiedin interfaceProjectDependencyConfig- Returns:
- whether to log visited non-managed dependencies
-
isLogCodeRepos
public boolean isLogCodeRepos()Description copied from interface:ProjectDependencyConfigWhether to log code repository info for the artifacts to be built from source- Specified by:
isLogCodeReposin interfaceProjectDependencyConfig- Returns:
- whether to log code repositories
-
isLogCodeRepoTree
public boolean isLogCodeRepoTree()Description copied from interface:ProjectDependencyConfigWhether to log code repository dependency tree.- Specified by:
isLogCodeRepoTreein interfaceProjectDependencyConfig- Returns:
- whetehr to log code repository dependency tree
-
getRecipeRepos
Description copied from interface:ProjectDependencyConfigA list of build recipe repository URLs- Specified by:
getRecipeReposin interfaceProjectDependencyConfig- Returns:
- list of build recipe repository URLs
-
isValidateCodeRepoTags
Deprecated.- Specified by:
isValidateCodeRepoTagsin interfaceProjectDependencyConfig- Returns:
- whether to validate core repos and tags
-
isLegacyScmLocator
public boolean isLegacyScmLocator()- Specified by:
isLegacyScmLocatorin interfaceProjectDependencyConfig- Returns:
- whether to use the legacy SCM detector
-
isWarnOnResolutionErrors
public boolean isWarnOnResolutionErrors()Description copied from interface:ProjectDependencyConfigWhether to warn about errors not being able to resolve top level artifacts or fail the process- Specified by:
isWarnOnResolutionErrorsin interfaceProjectDependencyConfig- Returns:
- whether to warn on artifact resolution errors
-
isWarnOnMissingScm
public boolean isWarnOnMissingScm()Description copied from interface:ProjectDependencyConfigWhether to issue a warning in case the SCM location could not be determined or fail with an error (the default behavior).- Specified by:
isWarnOnMissingScmin interfaceProjectDependencyConfig- Returns:
- whether to fail in case the SCM location could not be determined
-
isIncludeAlreadyBuilt
public boolean isIncludeAlreadyBuilt()- Specified by:
isIncludeAlreadyBuiltin interfaceProjectDependencyConfig
-
isIncludeOptionalDeps
public boolean isIncludeOptionalDeps()Description copied from interface:ProjectDependencyConfigWhether to include optional dependencies of the root project artifacts- Specified by:
isIncludeOptionalDepsin interfaceProjectDependencyConfig- Returns:
- whether to include optional dependencies of the root project artifacts
-
isGradleJava8
public boolean isGradleJava8()Description copied from interface:ProjectDependencyConfigWhether to use Java 8 to fetch dependency information from a Gradle project. In case this method returns true, the value of JAVA8_HOME environment variable will be used as the Java 8 home directory.- Specified by:
isGradleJava8in interfaceProjectDependencyConfig- Returns:
- whether to use Java 8 to fetch dependency information from a Gradle project
-
getGradleJavaHome
Description copied from interface:ProjectDependencyConfigJava home directory that should be used when fetching dependency information from a Gradle project.- Specified by:
getGradleJavaHomein interfaceProjectDependencyConfig- Returns:
- Java home directory that should be used when fetching dependency information from a Gradle project.
-