tycho-packaging:update-consumer-pom

Full name:

org.eclipse.tycho:tycho-packaging-plugin:3.0.1:update-consumer-pom

Description:

Updates the pom file with the dependencies from the tycho model. If you further like to customize the pom you should take a look at the Maven Flatten Plugin

Attributes:

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

Required Parameters

Name Type Since Description
<outputDirectory> File - The directory where the tycho generated POM file will be written to.
Default value is: ${project.basedir}.
<tychoPomFilename> String - The filename of the tycho generated POM file.
Default value is: .tycho-consumer-pom.xml.

Optional Parameters

Name Type Since Description
<archive> MavenArchiveConfiguration - (no description)
<deleteOnExit> boolean - If deleteOnExit is true the file will be marked for deletion on JVM exit
Default value is: true.
<includeP2Dependencies> boolean - If includeP2Dependencies is true Tycho will include P2 dependencies in the consumer pom as optional items with provided scope. If the value is false, such items are skipped and only such items are included that can be mapped to a valid maven artifact
Default value is: false.
<mapP2Dependencies> boolean - If mapP2Dependencies is true then Tycho tries to reverse-resolve P2 dependencies to true maven artifact coordinates and include those in the pom instead of the P2 system scoped ones.
Default value is: false.
<resolver> String - (no description)
Default value is: local,central.
<skipPomGeneration> Boolean - (no description)
<updatePomFile> boolean - Indicate if the generated tycho POM should become the new project.
Default value is: true.

Parameter Details

<archive>

(no description)
  • Type: org.apache.maven.archiver.MavenArchiveConfiguration
  • Required: No

<deleteOnExit>

If deleteOnExit is true the file will be marked for deletion on JVM exit
  • Type: boolean
  • Required: No
  • Default: true

<includeP2Dependencies>

If includeP2Dependencies is true Tycho will include P2 dependencies in the consumer pom as optional items with provided scope. If the value is false, such items are skipped and only such items are included that can be mapped to a valid maven artifact
  • Type: boolean
  • Required: No
  • Default: false

<mapP2Dependencies>

If mapP2Dependencies is true then Tycho tries to reverse-resolve P2 dependencies to true maven artifact coordinates and include those in the pom instead of the P2 system scoped ones.
  • Type: boolean
  • Required: No
  • Default: false

<outputDirectory>

The directory where the tycho generated POM file will be written to.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.basedir}

<resolver>

(no description)
  • Type: java.lang.String
  • Required: No
  • Default: local,central

<skipPomGeneration>

(no description)
  • Type: java.lang.Boolean
  • Required: No

<tychoPomFilename>

The filename of the tycho generated POM file.
  • Type: java.lang.String
  • Required: Yes
  • Default: .tycho-consumer-pom.xml

<updatePomFile>

Indicate if the generated tycho POM should become the new project.
  • Type: boolean
  • Required: No
  • Default: true