pde:attach

Build PDE artifact. Use this goal with Maven default build lifecycle. The output of this build is deployable

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Executes as an aggregator plugin.
  • Requires dependency resolution of artifacts in scope: test
  • Automatically executes within the lifecycle phase: compile

Required Parameters

Name Type Description
eclipseInstall File Eclipse Platform SDK Directory Default value is c:/eclipse.

Optional Parameters

Name Type Description
antDebug boolean Ant debug capability Default value is false.
antVerbose boolean Ant verbose capability Default value is false.
buildProperties Map Additional system properties to be passed into PDE ant build. See the generated build.xml files for list of overrideable properties. javacFailOnError=true is injected automatically if not found.
eclipseBuildScriptProperties Map Additional system properties to be passed into PDE eclipse.buildScript task which is use to generete PDE Ant build files. buildDirectory and baseLocation are automatically injected if not set.
pdeBuildConfigDirectory String When a product build is run, then the location of the PDE build configuration directory must be specified. A product build will expect a build.properties file to exist in this directory. You can use ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/templates/headless-build/build.properties as a starter file. See http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.user/guide/tasks/pde_product_build.htm Building an RCP application from a product configuration file for more details. Default value is buildConfiguration.
pdeBuildTempFolder File PDE Ant build temporary directory Default value is ${project.build.directory}/pdeTemp.
pdeBuildVersion String When a product build is run then use this version of the pde build scripts. The build scripts are located at ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/scripts/productBuild
pdeProductFilename String Build a product instead of a feature. If defined then a PDE Product will be built (instead of the feature, fragment or plug-in). This value defines the product file that will be used to build the product.

Parameter Details

antDebug Ant debug capability
  • Type: boolean
  • Required: No
  • Expression: ${antDebug}
  • Default: false

antVerbose Ant verbose capability
  • Type: boolean
  • Required: No
  • Expression: ${antVerbose}
  • Default: false

buildProperties Additional system properties to be passed into PDE ant build. See the generated build.xml files for list of overrideable properties. javacFailOnError=true is injected automatically if not found.
  • Type: java.util.Map
  • Required: No

eclipseBuildScriptProperties Additional system properties to be passed into PDE eclipse.buildScript task which is use to generete PDE Ant build files. buildDirectory and baseLocation are automatically injected if not set.
  • Type: java.util.Map
  • Required: No

eclipseInstall Eclipse Platform SDK Directory
  • Type: java.io.File
  • Required: Yes
  • Expression: ${eclipseInstall}
  • Default: c:/eclipse

pdeBuildConfigDirectory When a product build is run, then the location of the PDE build configuration directory must be specified. A product build will expect a build.properties file to exist in this directory. You can use ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/templates/headless-build/build.properties as a starter file. See http://help.eclipse.org/help32/topic/org.eclipse.pde.doc.user/guide/tasks/pde_product_build.htm Building an RCP application from a product configuration file for more details.
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeBuildConfigDirectory}
  • Default: buildConfiguration

pdeBuildTempFolder PDE Ant build temporary directory
  • Type: java.io.File
  • Required: No
  • Expression: ${pdeTempDirectory}
  • Default: ${project.build.directory}/pdeTemp

pdeBuildVersion When a product build is run then use this version of the pde build scripts. The build scripts are located at ${eclipseInstall}/plugins/org.eclipse.pde.build_{pdeBuildVersion}/scripts/productBuild
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeBuildVersion}

pdeProductFilename Build a product instead of a feature. If defined then a PDE Product will be built (instead of the feature, fragment or plug-in). This value defines the product file that will be used to build the product.
  • Type: java.lang.String
  • Required: No
  • Expression: ${pdeProductFilename}