tycho-p2-repository:fix-artifacts-metadata
Full name:
org.eclipse.tycho:tycho-p2-repository-plugin:5.0.0-SNAPSHOT: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 Default: true User Property: p2.repository.xz.keep |
<qualifier> |
String |
- |
No description. User Property: buildQualifier |
<repositoryLocation> |
File |
- |
No description. User Property: p2.repository.location |
<repositoryName> |
String |
- |
No description. Default: ${project.name} User Property: p2.repository.name |
<xzCompress> |
boolean |
- |
Add XZ-compressed repository index files. XZ offers better compression ratios esp. for highly redundant file content. Default: true User Property: p2.repository.xz |
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
- User Property:
p2.repository.xz.keep
- Default:
true
<qualifier>
- Type:
java.lang.String
- Required:
No
- User Property:
buildQualifier
<repositoryLocation>
- Type:
java.io.File
- Required:
No
- User Property:
p2.repository.location
<repositoryName>
- Type:
java.lang.String
- Required:
No
- User Property:
p2.repository.name
- 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
- User Property:
p2.repository.xz
- Default:
true