impex:morphschema

Full name:

org.kuali.maven.plugins:maven-impex-plugin:1.1.0-SNAPSHOT:morphschema

Description:

Convert an Ant impex schema XML file into a maven-impex-plugin schema XML file

Attributes:

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

Required Parameters

Name Type Since Description
artifactId String - The artifactId (aka database schema)
Default value is: ${project.artifactId}.
forceMojoExecution boolean - Setting this parameter to true will force the execution of this mojo, even if it would get skipped usually.
Default value is: false.
newSchemaXMLFile File - The XML file describing the database schema (Maven style)
Default value is: ${project.build.directory}/generated-impex/${project.artifactId}.xml.
oldSchemaXMLFile File - The XML file describing the database schema (Ant style)
Default value is: ${basedir}/src/main/impex/schema.xml.

Optional Parameters

Name Type Since Description
encoding String - The encoding to use when reading/writing files. If not specified this defaults to the platform specific encoding of whatever machine the build is running on.
Default value is: ${project.build.sourceEncoding}.
skip boolean - When true, skip the execution of this mojo
Default value is: false.
startMavenLogger boolean - When true, redirect logging from Log4j and Jakarta Commons Logging to the Maven logging system
Default value is: true.

Parameter Details

artifactId:

The artifactId (aka database schema)
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${impex.artifactId}
  • Default: ${project.artifactId}

encoding:

The encoding to use when reading/writing files. If not specified this defaults to the platform specific encoding of whatever machine the build is running on.
  • Type: java.lang.String
  • Required: No
  • Expression: ${encoding}
  • Default: ${project.build.sourceEncoding}

forceMojoExecution:

Setting this parameter to true will force the execution of this mojo, even if it would get skipped usually.
  • Type: boolean
  • Required: Yes
  • Expression: ${forceMojoExecution}
  • Default: false

newSchemaXMLFile:

The XML file describing the database schema (Maven style)
  • Type: java.io.File
  • Required: Yes
  • Expression: ${newSchemaXMLFile}
  • Default: ${project.build.directory}/generated-impex/${project.artifactId}.xml

oldSchemaXMLFile:

The XML file describing the database schema (Ant style)
  • Type: java.io.File
  • Required: Yes
  • Expression: ${oldSchemaXMLFile}
  • Default: ${basedir}/src/main/impex/schema.xml

skip:

When true, skip the execution of this mojo
  • Type: boolean
  • Required: No
  • Default: false

startMavenLogger:

When true, redirect logging from Log4j and Jakarta Commons Logging to the Maven logging system
  • Type: boolean
  • Required: No
  • Expression: ${startMavenLogger}
  • Default: true