target-platform-validation:validate-target-platform

Full name:

org.eclipse.tycho.extras:target-platform-validation-plugin:2.7.0:validate-target-platform

Description:

Validates that specified target platforms (.target files) contents can be resolved.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is not marked as thread-safe and thus does not support parallel builds.
  • Binds by default to the lifecycle phase: validate.

Optional Parameters

Name Type Since Description
<checkDependencies> boolean 0.21.0 Check that, for each artifact from the target file, the dependencies of the artifact are also contained in the target file. Also check that there are no conflicting artifacts, i.e. artifact which could not be installed together. When this check passes, none of the artifacts should lead to dependency resolution problems when used in a Tycho project.
Default value is: false.
<checkProvisioning> boolean 0.26.0 Check that the content of the target-platform can be installed together in a same provisioning operation.
Default value is: false.
<executionEnvironment> String - The execution environment to use for resolution. If not set, the one defined in <targetJRE> element of .target file is used; and if no such element exists, the running JRE is used.
<failOnError> boolean - whether to fail build or just print a warning when a validation fails
Default value is: true.
<project> MavenProject - (no description)
User property is: project.
<targetFiles> File[] - The .target files to validate. If not specified and the project packaging is "eclipse-target-definition", the goal will validate project's primary target file will be validated.

Parameter Details

<checkDependencies>

Check that, for each artifact from the target file, the dependencies of the artifact are also contained in the target file. Also check that there are no conflicting artifacts, i.e. artifact which could not be installed together. When this check passes, none of the artifacts should lead to dependency resolution problems when used in a Tycho project.
  • Type: boolean
  • Since: 0.21.0
  • Required: No
  • Default: false

<checkProvisioning>

Check that the content of the target-platform can be installed together in a same provisioning operation.
  • Type: boolean
  • Since: 0.26.0
  • Required: No
  • Default: false

<executionEnvironment>

The execution environment to use for resolution. If not set, the one defined in <targetJRE> element of .target file is used; and if no such element exists, the running JRE is used.
  • Type: java.lang.String
  • Required: No

<failOnError>

whether to fail build or just print a warning when a validation fails
  • Type: boolean
  • Required: No
  • Default: true

<project>

(no description)
  • Type: org.apache.maven.project.MavenProject
  • Required: No
  • User Property: project

<targetFiles>

The .target files to validate. If not specified and the project packaging is "eclipse-target-definition", the goal will validate project's primary target file will be validated.
  • Type: java.io.File[]
  • Required: No