tycho-p2-repository:fix-artifacts-metadata

Full name:

org.eclipse.tycho:tycho-p2-repository-plugin:4.0.1: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 value is: true.
<repositoryLocation> File - (no description)
<repositoryName> String - (no description)
Default value is: ${project.name}.
<xzCompress> boolean -

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


Default value is: 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: No
  • Default: true

<repositoryLocation>

(no description)
  • Type: java.io.File
  • Required: No

<repositoryName>

(no description)
  • Type: java.lang.String
  • Required: 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: No
  • Default: true