impex:morphschema

Full name:

org.kuali.maven.plugins:maven-impex-plugin:1.1.13-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
antSchemaName String - The XML file describing the database schema (Maven style)
Default value is: kfs.
User property is: impex.antSchemaName.
artifactId String - The artifactId (aka database schema)
Default value is: ${project.artifactId}.
User property is: impex.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.
User property is: forceMojoExecution.
newSchemaXMLFile File - The XML file describing the database schema (Maven style)
Default value is: ${project.build.directory}/generated-impex/${project.artifactId}.xml.
User property is: newSchemaXMLFile.
oldSchemaXMLFile File - The XML file describing the database schema (Ant style)
Default value is: ${basedir}/src/main/impex/schema.xml.
User property is: oldSchemaXMLFile.

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}.
User property is: encoding.
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.
User property is: startMavenLogger.

Parameter Details

antSchemaName:

The XML file describing the database schema (Maven style)
  • Type: java.lang.String
  • Required: Yes
  • User Property: impex.antSchemaName
  • Default: kfs

artifactId:

The artifactId (aka database schema)
  • Type: java.lang.String
  • Required: Yes
  • User Property: 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
  • User Property: 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
  • User Property: forceMojoExecution
  • Default: false

newSchemaXMLFile:

The XML file describing the database schema (Maven style)
  • Type: java.io.File
  • Required: Yes
  • User Property: 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
  • User Property: 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
  • User Property: startMavenLogger
  • Default: true