tycho-p2-repository:fix-artifacts-metadata

Full name:

org.eclipse.tycho:tycho-p2-repository-plugin:4.0.5:fix-artifacts-metadata

Description:

Updates the artifact repository metadata checksums and size of modified artifacts in the given folder.

This can be used if some other mojo (e.g. jar-signer) modifies the repository artifacts after the assemble-repository step. An example could be found in the jar-signing-extra integration test

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: prepare-package.

Optional Parameters

Name Type Since Description
<keepNonXzIndexFiles> boolean -

If xzCompress is true, whether jar or xml index files should be kept in addition to XZ-compressed index files. This fallback provides backwards compatibility for pre-Mars p2 clients which cannot read XZ-compressed index files.


Default: true
<qualifier> String - No description.
User Property: buildQualifier
<repositoryLocation> File - No description.
<repositoryName> String - No description.
Default: ${project.name}
<xzCompress> boolean -

Add XZ-compressed repository index files. XZ offers better compression ratios esp. for highly redundant file content.


Default: true

Parameter Details

<keepNonXzIndexFiles>

If xzCompress is true, whether jar or xml index files should be kept in addition to XZ-compressed index files. This fallback provides backwards compatibility for pre-Mars p2 clients which cannot read XZ-compressed index files.

  • Type: boolean
  • Required: report.plugin.goal.no
  • Default: true

<qualifier>

No description.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: buildQualifier

<repositoryLocation>

No description.
  • Type: java.io.File
  • Required: report.plugin.goal.no

<repositoryName>

No description.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • Default: ${project.name}

<xzCompress>

Add XZ-compressed repository index files. XZ offers better compression ratios esp. for highly redundant file content.

  • Type: boolean
  • Required: report.plugin.goal.no
  • Default: true