tycho-p2-director:director

Full name:

org.eclipse.tycho:tycho-p2-director-plugin:4.0.5:director

Description:

Allows to run the director application to manage Eclipse Installations. This mojo can be used in two ways

  1. As a commandline invocation passing arguments as properties using mvn org.eclipse.tycho:tycho-p2-director-plugin:director -Ddestination=[target] ... -D...
  2. as an execution inside a pom
    <plugin>
       <groupId>org.eclipse.tycho</groupId>
       <artifactId>tycho-p2-director-plugin</artifactId>
       <version>${tycho-version}</version>
       <executions>
          <execution>
             <goals>
                <goal>director</goal>
             </goals>
             <phase>package</phase>
             <configuration>
                <destination>...</destination>
                ... other arguments ...
             </configuration>
          </execution>
       </executions>
    </plugin>
    

Attributes:

  • The goal is thread-safe and supports parallel builds.

Required Parameters

Name Type Since Description
<destination> File - The folder in which the targeted product is located.
User Property: destination

Optional Parameters

Name Type Since Description
<artifactrepositories> String - comma separated list of URLs denoting artifact repositories.
User Property: artifactrepositories
Alias: artifactrepository
<bundlepool> File - The location where the plug-ins and features will be stored. Effective only when a new profile is created.
User Property: bundlepool
<downloadOnly> boolean - Only download the artifacts.
User Property: downloadOnly
<flavor> String - Defines what flavor to use for a newly created profile.
User Property: flavor
<followReferences> boolean - Follow repository references.
User Property: followReferences
<includeProjectRepository> boolean - If specified, the current project and its artifacts are included as part of the repository that is used to install units
<install> List<DirectorMojo$IU> - Alternative way to specify the IU to install in a more declarative (but also verbose) way, example:
<install>
   <iu>
      <id>...</id>
      <version>...optional version...</id>
      <feature>true/false</feature> <!-- optional if true .feature.group is automatically added to the id  -->
</install>
<installFeatures> boolean - No description.
Default: true
User Property: installFeatures
<installIUs> String - comma separated list of IUs to install, each entry in the list is in the form [ '/' ].
User Property: installIUs
Alias: installIU
<iuProfileproperties> File - Path to a properties file containing a list of IU profile properties to set.
User Property: iuProfileproperties
<list> boolean - Lists all IUs found in the given repositories. IUs can optionally be listed. Each entry in the list is in the form [ '/' ].
User Property: list
<listFormat> String - Formats the list of IUs according to the given string. Use ${property} for variable parts, e.g. ${org.eclipse.equinox.p2.name} for the IU's name. ID and version of an IU are available through ${id} and ${version}.
User Property: listFormat
<listInstalledRoots> boolean - Lists all root IUs found in the given profile. Each entry in the list is in the form [ '/' ].
User Property: listInstalledRoots
<listTags> boolean - List the tags available
User Property: listTags
<metadatarepositories> String - comma separated list of URLs denoting meta-data repositories
User Property: metadatarepositories
Alias: metadatarepository
<p2arch> String - The architecture to use when the profile is created.
User Property: p2.arch
<p2nl> String - The language to use when the profile is created.
User Property: p2.nl
<p2os> String - The OS to use when the profile is created.
User Property: p2.os
<p2ws> String - The windowing system to use when the profile is created.
User Property: p2.ws
<profile> String - Defines what profile to use for the actions.
Default: DefaultProfile
User Property: profile
<profileproperties> String - A list of properties in the form key=value pairs. Effective only when a new profile is created. For example org.eclipse.update.install.features=true to install the features into the product.
User Property: profileproperties
<properties> Map<String,String> - Additional profile properties to set when materializing the product
<purgeHistory> boolean - Remove the history of the profile registry.
User Property: purgeHistory
<repositories> String - comma separated list denoting co-located meta-data and artifact repositories
User Property: repositories
Alias: repository
<revert> String - comma separated list of numbers, revert the installation to a previous state. The number representing the previous state of the profile as found in p2/org.eclipse.equinox.p2.engine/ /.
User Property: revert
<roaming> boolean - Indicates that the product resulting from the installation can be moved. Effective only when a new profile is created.
User Property: roaming
<shared> String - Use a shared location for the install. The defaults to ${user.home}/.p2
User Property: shared
<tag> String - Tag the provisioning operation for easy referencing when reverting.
User Property: tag
<trustedAuthorities> String - comma separated list of the authorities from which repository content, including repository metadata, is trusted. An empty value will reject all remote connections.
User Property: trustedAuthorities
<trustedCertificates> String - The SHA-256 'fingerprints' of unanchored certficates to trust as signers of artifacts. An empty value will reject all unanchored certificates.
User Property: trustedCertificates
<trustedPGPKeys> String - comma separated list of the fingerprints of PGP keys to trust as signers of artifacts. An empty value will reject all PGP keys.
User Property: trustedPGPKeys
<trustSignedContentOnly> boolean - Whether to trust each artifact only if it is jar-signed or PGP-signed.
User Property: trustSignedContentOnly
<uninstall> List<DirectorMojo$IU> - Alternative way to specify the IU to uninstall in a more declarative (but also verbose) way, example:
<install>
   <iu>
      <id>...</id>
      <version>...optional version...</id>
      <feature>true/false</feature> <!-- optional if true .feature.group is automatically added to the id  -->
</install>
<uninstallIUs> String - comma separated list of IUs to install, each entry in the list is in the form [ '/' ].
User Property: uninstallIUs
Alias: uninstallIU
<verboseTrust> boolean - Whether to print detailed information about the content trust.
User Property: verboseTrust
<verifyOnly> boolean - Only verify that the actions can be performed. Don't actually install or remove anything.
User Property: verifyOnly

Parameter Details

<artifactrepositories>

comma separated list of URLs denoting artifact repositories.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: artifactrepositories
  • Alias: artifactrepository

<bundlepool>

The location where the plug-ins and features will be stored. Effective only when a new profile is created.
  • Type: java.io.File
  • Required: report.plugin.goal.no
  • User Property: bundlepool

<destination>

The folder in which the targeted product is located.
  • Type: java.io.File
  • Required: report.plugin.goal.yes
  • User Property: destination

<downloadOnly>

Only download the artifacts.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: downloadOnly

<flavor>

Defines what flavor to use for a newly created profile.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: flavor

<followReferences>

Follow repository references.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: followReferences

<includeProjectRepository>

If specified, the current project and its artifacts are included as part of the repository that is used to install units
  • Type: boolean
  • Required: report.plugin.goal.no

<install>

Alternative way to specify the IU to install in a more declarative (but also verbose) way, example:
<install>
   <iu>
      <id>...</id>
      <version>...optional version...</id>
      <feature>true/false</feature> <!-- optional if true .feature.group is automatically added to the id  -->
</install>
  • Type: java.util.List<org.eclipse.tycho.plugins.p2.director.DirectorMojo$IU>
  • Required: report.plugin.goal.no

<installFeatures>

No description.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: installFeatures
  • Default: true

<installIUs>

comma separated list of IUs to install, each entry in the list is in the form [ '/' ].
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: installIUs
  • Alias: installIU

<iuProfileproperties>

Path to a properties file containing a list of IU profile properties to set.
  • Type: java.io.File
  • Required: report.plugin.goal.no
  • User Property: iuProfileproperties

<list>

Lists all IUs found in the given repositories. IUs can optionally be listed. Each entry in the list is in the form [ '/' ].
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: list

<listFormat>

Formats the list of IUs according to the given string. Use ${property} for variable parts, e.g. ${org.eclipse.equinox.p2.name} for the IU's name. ID and version of an IU are available through ${id} and ${version}.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: listFormat

<listInstalledRoots>

Lists all root IUs found in the given profile. Each entry in the list is in the form [ '/' ].
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: listInstalledRoots

<listTags>

List the tags available
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: listTags

<metadatarepositories>

comma separated list of URLs denoting meta-data repositories
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: metadatarepositories
  • Alias: metadatarepository

<p2arch>

The architecture to use when the profile is created.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: p2.arch

<p2nl>

The language to use when the profile is created.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: p2.nl

<p2os>

The OS to use when the profile is created.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: p2.os

<p2ws>

The windowing system to use when the profile is created.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: p2.ws

<profile>

Defines what profile to use for the actions.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: profile
  • Default: DefaultProfile

<profileproperties>

A list of properties in the form key=value pairs. Effective only when a new profile is created. For example org.eclipse.update.install.features=true to install the features into the product.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: profileproperties

<properties>

Additional profile properties to set when materializing the product
  • Type: java.util.Map<java.lang.String, java.lang.String>
  • Required: report.plugin.goal.no

<purgeHistory>

Remove the history of the profile registry.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: purgeHistory

<repositories>

comma separated list denoting co-located meta-data and artifact repositories
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: repositories
  • Alias: repository

<revert>

comma separated list of numbers, revert the installation to a previous state. The number representing the previous state of the profile as found in p2/org.eclipse.equinox.p2.engine/ /.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: revert

<roaming>

Indicates that the product resulting from the installation can be moved. Effective only when a new profile is created.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: roaming

<shared>

Use a shared location for the install. The defaults to ${user.home}/.p2
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: shared

<tag>

Tag the provisioning operation for easy referencing when reverting.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: tag

<trustedAuthorities>

comma separated list of the authorities from which repository content, including repository metadata, is trusted. An empty value will reject all remote connections.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: trustedAuthorities

<trustedCertificates>

The SHA-256 'fingerprints' of unanchored certficates to trust as signers of artifacts. An empty value will reject all unanchored certificates.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: trustedCertificates

<trustedPGPKeys>

comma separated list of the fingerprints of PGP keys to trust as signers of artifacts. An empty value will reject all PGP keys.
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: trustedPGPKeys

<trustSignedContentOnly>

Whether to trust each artifact only if it is jar-signed or PGP-signed.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: trustSignedContentOnly

<uninstall>

Alternative way to specify the IU to uninstall in a more declarative (but also verbose) way, example:
<install>
   <iu>
      <id>...</id>
      <version>...optional version...</id>
      <feature>true/false</feature> <!-- optional if true .feature.group is automatically added to the id  -->
</install>
  • Type: java.util.List<org.eclipse.tycho.plugins.p2.director.DirectorMojo$IU>
  • Required: report.plugin.goal.no

<uninstallIUs>

comma separated list of IUs to install, each entry in the list is in the form [ '/' ].
  • Type: java.lang.String
  • Required: report.plugin.goal.no
  • User Property: uninstallIUs
  • Alias: uninstallIU

<verboseTrust>

Whether to print detailed information about the content trust.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: verboseTrust

<verifyOnly>

Only verify that the actions can be performed. Don't actually install or remove anything.
  • Type: boolean
  • Required: report.plugin.goal.no
  • User Property: verifyOnly