tycho-pomgenerator:generate-poms

Full name:

org.eclipse.tycho:tycho-pomgenerator-plugin:2.7.5:generate-poms

Description:

Traverse the current directory to find eclipse-plugin/bundle, feature, update site (site.xml) or p2 repository (category.xml) projects and generate corresponding pom.xml's. This goal is intended to be used by existing projects for generating quick-start pom.xml's when converting their build to Tycho. The generated pom.xml's are only intended as a starting point and will most probably require manual refinement. Note that this goal is not intended for automatic pom.xml generation during build.

Attributes:

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

Required Parameters

Name Type Since Description
<baseDir> File - The base directory which will be traversed recursively when searching for projects.
Default value is: ${basedir}.
User property is: baseDir.

Optional Parameters

Name Type Since Description
<aggregator> boolean - If true (the default), additional aggregator poma.xml pom file will be generated for update site projects. This poma.xml file can be used to build update site and all its dependencies.
Default value is: true.
User property is: aggregator.
<executionEnvironment> String - (no description)
Default value is: J2SE-1.5.
<extraDirs> String - Additional directories to be traversed recursively when searching for projects.
User property is: extraDirs.
<groupId> String - Maven groupId to be used in the generated pom.xml files.
User property is: groupId.
<repoID> String - ID of the p2 repository to add in the aggregator pom.
Default value is: injected-repository.
User property is: repoID.
<repoURL> String - URL to p2 repository to add in the aggregator pom.
User property is: repoURL.
<rootProjects> String - Comma separated list of root project folders. If specified, generated pom.xml files will only include root projects and projects directly and indirectly referenced by the root projects.
User property is: rootProjects.
<templatesDir> File - Location of directory with template pom.xml file. pom.xml templates will be looked at this directory first, default templates will be used if template directory and the template itself does not exist. See src/main/resources/templates for the list of supported template files.
Default value is: ${basedir}/pom-templates.
User property is: templatesDir.
<testSuffix> String - Suffix used to determine test bundles to add to update site aggregator pom.
Default value is: .tests.
User property is: testSuffix.
<testSuite> String - Bundle-SymbolicName of the test suite, a special bundle that knows how to locate and execute all relevant tests.
User property is: testSuite.
<version> String - Maven version to be used in the generated pom.xml files (applies to parent pom and eclipse-repository/eclipse-update-site only).
Default value is: 0.0.1-SNAPSHOT.
User property is: version.

Parameter Details

<aggregator>

If true (the default), additional aggregator poma.xml pom file will be generated for update site projects. This poma.xml file can be used to build update site and all its dependencies.
  • Type: boolean
  • Required: No
  • User Property: aggregator
  • Default: true

<baseDir>

The base directory which will be traversed recursively when searching for projects.
  • Type: java.io.File
  • Required: Yes
  • User Property: baseDir
  • Default: ${basedir}

<executionEnvironment>

(no description)
  • Type: java.lang.String
  • Required: No
  • Default: J2SE-1.5

<extraDirs>

Additional directories to be traversed recursively when searching for projects.
  • Type: java.lang.String
  • Required: No
  • User Property: extraDirs

<groupId>

Maven groupId to be used in the generated pom.xml files.
  • Type: java.lang.String
  • Required: No
  • User Property: groupId

<repoID>

ID of the p2 repository to add in the aggregator pom.
  • Type: java.lang.String
  • Required: No
  • User Property: repoID
  • Default: injected-repository

<repoURL>

URL to p2 repository to add in the aggregator pom.
  • Type: java.lang.String
  • Required: No
  • User Property: repoURL

<rootProjects>

Comma separated list of root project folders. If specified, generated pom.xml files will only include root projects and projects directly and indirectly referenced by the root projects.
  • Type: java.lang.String
  • Required: No
  • User Property: rootProjects

<templatesDir>

Location of directory with template pom.xml file. pom.xml templates will be looked at this directory first, default templates will be used if template directory and the template itself does not exist. See src/main/resources/templates for the list of supported template files.
  • Type: java.io.File
  • Required: No
  • User Property: templatesDir
  • Default: ${basedir}/pom-templates

<testSuffix>

Suffix used to determine test bundles to add to update site aggregator pom.
  • Type: java.lang.String
  • Required: No
  • User Property: testSuffix
  • Default: .tests

<testSuite>

Bundle-SymbolicName of the test suite, a special bundle that knows how to locate and execute all relevant tests.
  • Type: java.lang.String
  • Required: No
  • User Property: testSuite

<version>

Maven version to be used in the generated pom.xml files (applies to parent pom and eclipse-repository/eclipse-update-site only).
  • Type: java.lang.String
  • Required: No
  • User Property: version
  • Default: 0.0.1-SNAPSHOT