tycho-packaging:package-iu

Full name:

org.eclipse.tycho:tycho-packaging-plugin:4.0.9:package-iu

Description:

Creates the zip for the IU and attaches it as an artifact

Attributes:

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

Required Parameters

Name Type Since Description
<buildDirectory> File - The output directory of the jar file By default this is the Maven "target/" directory.
User Property: project.build.directory

Optional Parameters

Name Type Since Description
<additionalFileSets> DefaultFileSet[] - Additional files to be included in the final .jar.

A typical usage might be when bin.includes in build.properties is not flexible enough, e.g., for generated files, as when conflicting additional files win over bin.includes.

Example:

<additionalFileSets>
 <fileSet>
  <directory>${project.build.directory}/mytool-gen/</directory>
  <includes>
   <include>**/*</include>
  </includes>
 </fileSet>
</additionalFileSets>
Note: currently, additional file sets are not used for the package-iu goal.
<artifactContentFolder> String - Folder containing the files to include in the final zip.
User Property: project.build.outputDirectory
<qualifier> String - Build qualifier. Recommended way to set this parameter is using build-qualifier goal.
User Property: buildQualifier
<skip> boolean - If true, skips the packaging entirely.
Default: false
<strictBinIncludes> boolean - If set to true (the default), missing build.properties bin.includes will cause build failure. If set to false, missing build.properties bin.includes will be reported as warnings but the build will not fail.
Default: true
<useDefaultExcludes> boolean - No description.
Default: true

Parameter Details

<additionalFileSets>

Additional files to be included in the final .jar.

A typical usage might be when bin.includes in build.properties is not flexible enough, e.g., for generated files, as when conflicting additional files win over bin.includes.

Example:

<additionalFileSets>
 <fileSet>
  <directory>${project.build.directory}/mytool-gen/</directory>
  <includes>
   <include>**/*</include>
  </includes>
 </fileSet>
</additionalFileSets>
Note: currently, additional file sets are not used for the package-iu goal.
  • Type: org.codehaus.plexus.archiver.util.DefaultFileSet[]
  • Required: No

<artifactContentFolder>

Folder containing the files to include in the final zip.
  • Type: java.lang.String
  • Required: No
  • User Property: project.build.outputDirectory

<buildDirectory>

The output directory of the jar file By default this is the Maven "target/" directory.
  • Type: java.io.File
  • Required: Yes
  • User Property: project.build.directory

<qualifier>

Build qualifier. Recommended way to set this parameter is using build-qualifier goal.
  • Type: java.lang.String
  • Required: No
  • User Property: buildQualifier

<skip>

If true, skips the packaging entirely.
  • Type: boolean
  • Required: No
  • Default: false

<strictBinIncludes>

If set to true (the default), missing build.properties bin.includes will cause build failure. If set to false, missing build.properties bin.includes will be reported as warnings but the build will not fail.
  • Type: boolean
  • Required: No
  • Default: true

<useDefaultExcludes>

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