tycho-p2-repository:assemble-repository

Full name:

org.eclipse.tycho:tycho-p2-repository-plugin:2.7.5:assemble-repository

Description:

Aggregates content into a p2 repository in ${project.build.directory}/repository.

  1. Copies resources (if any) from ${project.build.outputDirectory} to ${project.build.directory}/repository. This allows to include additional files such as index.html or about files from src/main/resources (or elsewhere) into the p2 repository.
  2. The p2 aggregation into ${project.build.directory}/repository runs recursively: it starts with the content published in the current module, and traverses all artifacts that are marked as included in already aggregated artifacts. (The following artifacts can include other artifacts: categories, products, and features. Note: Dependencies with a strict version range, i.e. a range which only matches exactly one version of an artifact, are also considered as inclusions.)


Attributes:

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

Optional Parameters

Name Type Since Description
<compress> boolean -

Compress the repository index files content.xml and artifacts.xml.


Default value is: true.
<createArtifactRepository> boolean -

By default, this goal creates a p2 repository. Set this to false if only a p2 metadata repository (without the artifact files) shall be created.


Default value is: true.
<extraArtifactRepositoryProperties> Map - (no description)
<includeAllDependencies> boolean -

By default, only (transitive) inclusions of the published artifacts are aggregated. Set this parameter to true to aggregate all transitive dependencies, making the resulting p2 repository self-contained.


Default value is: false.
<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.
<profileProperties> Map -

Additional properties against which p2 filters are evaluated while aggregating.


<repositoryLocation> File - (no description)
<repositoryName> String -

The name attribute stored in the created p2 repository.


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

<compress>

Compress the repository index files content.xml and artifacts.xml.

  • Type: boolean
  • Required: No
  • Default: true

<createArtifactRepository>

By default, this goal creates a p2 repository. Set this to false if only a p2 metadata repository (without the artifact files) shall be created.

  • Type: boolean
  • Required: No
  • Default: true

<extraArtifactRepositoryProperties>

(no description)
  • Type: java.util.Map
  • Required: No

<includeAllDependencies>

By default, only (transitive) inclusions of the published artifacts are aggregated. Set this parameter to true to aggregate all transitive dependencies, making the resulting p2 repository self-contained.

  • Type: boolean
  • Required: No
  • Default: false

<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

<profileProperties>

Additional properties against which p2 filters are evaluated while aggregating.

  • Type: java.util.Map
  • Required: No

<repositoryLocation>

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

<repositoryName>

The name attribute stored in the created p2 repository.

  • 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