This project has retired. For details please refer to its Attic page.
Jpox Modello Maven Plugin – jpox-modello:jpox-jdo-mapping Fork me on GitHub

jpox-modello:jpox-jdo-mapping

Full name:

org.apache.archiva.redback.components.modello:jpox-modello-maven-plugin:1.1-SNAPSHOT:jpox-jdo-mapping

Description:

Creates a JDO mapping from the Modello model.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-resources.

Required Parameters

Name Type Since Description
models String[] - List of relative paths to mdo files containing the models.
outputDirectory File - The output directory of the generated JDO mapping file. Please be aware of the <model jpox.mapping-in-package="true" > attribute present in the model file itself.
Default value is: ${basedir}/target/generated-resources/modello.
packageWithVersion boolean - True if the generated package names should include the version.
Default value is: false.
User property is: packageWithVersion.
version String - The version of the model we will be working on.
User property is: version.

Optional Parameters

Name Type Since Description
packagedVersions List - Additional historical versions to generate, each being packaged with the version regardless of the packageWithVersion setting.
replicationParameters boolean - Produce a mapping file suitable for replication. It will have an alternate extension of '.jdorepl' so it is not picked up by default, and all value-strategy and objectid-class entries are removed from the mapping so that the original identities can be used.
Default value is: false.

Parameter Details

models:

List of relative paths to mdo files containing the models.
  • Type: java.lang.String[]
  • Required: Yes

outputDirectory:

The output directory of the generated JDO mapping file. Please be aware of the <model jpox.mapping-in-package="true" > attribute present in the model file itself.
  • Type: java.io.File
  • Required: Yes
  • Default: ${basedir}/target/generated-resources/modello

packageWithVersion:

True if the generated package names should include the version.
  • Type: boolean
  • Required: Yes
  • User Property: packageWithVersion
  • Default: false

packagedVersions:

Additional historical versions to generate, each being packaged with the version regardless of the packageWithVersion setting.
  • Type: java.util.List
  • Required: No

replicationParameters:

Produce a mapping file suitable for replication. It will have an alternate extension of '.jdorepl' so it is not picked up by default, and all value-strategy and objectid-class entries are removed from the mapping so that the original identities can be used.
  • Type: boolean
  • Required: No
  • Default: false

version:

The version of the model we will be working on.
  • Type: java.lang.String
  • Required: Yes
  • User Property: version