talend-tools:hub-detect

Full name:

org.talend.tools:talend-tools-maven-plugin:1.0-SNAPSHOT:hub-detect

Description:

Download if not already cached in maven repository and execute blackduck hub-detect.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
artifactRepositoryName String - The repository to use to download the executable jar.
Default value is: bds-integrations-release.
User property is: hub-detect.artifactRepositoryName.
artifactoryBase String - In which (artifactory) repository the jar can be found.
Default value is: https://test-repo.blackducksoftware.com/artifactory.
User property is: hub-detect.artifactoryBase.
blackduckName String - The application name in blackduck.
Default value is: ${project.name}.
User property is: hub-detect.blackduckName.
blackduckUrl String - The blackduck url to use.
User property is: hub-detect.blackduckUrl.
environment Map - Let you add environment variables on hub-detect execution.
executableGav String - The jar coordinates. You can use it to fix the version of hub-detect.
Default value is: com.blackducksoftware.integration:hub-detect:latest.
User property is: hub-detect.executableGav.
hubDetectCache File - Where the jar will be put for the execution.
Default value is: ${project.build.directory}/blackduck/hub-detect.jar.
User property is: hub-detect.hubDetectCache.
latestVersionUrl String - What is the query used to get the last version of hub-detect. Passed variables are the repository base, group, artifact and repo.
Default value is: %s/api/search/latestVersion?g=%s&a=%s&repos=%s.
User property is: hub-detect.latestVersionUrl.
logLevel String - The log level used for the inspection.
Default value is: ALL.
User property is: hub-detect.logLevel.
serverId String - Which server contains the blackduck credentials in your settings.xml.
Default value is: blackduck.
User property is: hub-detect.serverId.
systemVariables Map - Let you add system properties on hub-detect execution.
validateExitCode String - Should the exit code of hub-detect be validated. Can be true or any int. If true, 0 will be tested otherwise the passed value. Any other value will be considered as no validation to execute.
Default value is: 0.
User property is: hub-detect.validateExitCode.

Parameter Details

artifactRepositoryName:

The repository to use to download the executable jar.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.artifactRepositoryName
  • Default: bds-integrations-release

artifactoryBase:

In which (artifactory) repository the jar can be found.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.artifactoryBase
  • Default: https://test-repo.blackducksoftware.com/artifactory

blackduckName:

The application name in blackduck.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.blackduckName
  • Default: ${project.name}

blackduckUrl:

The blackduck url to use.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.blackduckUrl

environment:

Let you add environment variables on hub-detect execution.
  • Type: java.util.Map
  • Required: No

executableGav:

The jar coordinates. You can use it to fix the version of hub-detect.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.executableGav
  • Default: com.blackducksoftware.integration:hub-detect:latest

hubDetectCache:

Where the jar will be put for the execution.
  • Type: java.io.File
  • Required: No
  • User Property: hub-detect.hubDetectCache
  • Default: ${project.build.directory}/blackduck/hub-detect.jar

latestVersionUrl:

What is the query used to get the last version of hub-detect. Passed variables are the repository base, group, artifact and repo.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.latestVersionUrl
  • Default: %s/api/search/latestVersion?g=%s&a=%s&repos=%s

logLevel:

The log level used for the inspection.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.logLevel
  • Default: ALL

serverId:

Which server contains the blackduck credentials in your settings.xml.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.serverId
  • Default: blackduck

systemVariables:

Let you add system properties on hub-detect execution.
  • Type: java.util.Map
  • Required: No

validateExitCode:

Should the exit code of hub-detect be validated. Can be true or any int. If true, 0 will be tested otherwise the passed value. Any other value will be considered as no validation to execute.
  • Type: java.lang.String
  • Required: No
  • User Property: hub-detect.validateExitCode
  • Default: 0