impex:morphdata

Full name:

org.kuali.maven.plugins:maven-impex-plugin:1.0.22-SNAPSHOT:morphdata

Description:

Converts Ant impex data XML files into maven-impex-plugin data XML files

Attributes:

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

Required Parameters

Name Type Since Description
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.
newDataOutputDir File - The directory in which the morphed XML will be generated.
Default value is: ${project.build.directory}/generated-impex/xml.
oldDataXMLDir File - The directory containing the source (non-morphed) data XML files
Default value is: ${basedir}/src/main/impex.
oldDataXMLIncludes String - The default set of files in that directory to include (ant style notation)
Default value is: *.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}.
oldDataXMLExcludes String - The default set of files in that directory to exclude (ant style notation)
Default value is: schema.xml.
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

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

newDataOutputDir:

The directory in which the morphed XML will be generated.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${newDataOutputDir}
  • Default: ${project.build.directory}/generated-impex/xml

oldDataXMLDir:

The directory containing the source (non-morphed) data XML files
  • Type: java.io.File
  • Required: Yes
  • Expression: ${oldDataXMLDir}
  • Default: ${basedir}/src/main/impex

oldDataXMLExcludes:

The default set of files in that directory to exclude (ant style notation)
  • Type: java.lang.String
  • Required: No
  • Expression: ${oldDataXMLExcludes}
  • Default: schema.xml

oldDataXMLIncludes:

The default set of files in that directory to include (ant style notation)
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${oldDataXMLIncludes}
  • Default: *.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