impex:id-invalid-data-files

Full name:

org.kuali.maven.plugins:maven-impex-plugin:1.1.3:id-invalid-data-files

Description:

This mojo identifies data files that are present on the file system but are not present in schema.xml. This can happen if a table is removed from the schema. It sets a project property called "impex.data.invalid". This property is a comma delimited list of filenames that have no match in the db schema. If it finds any invalid files it will also set the project property "impex.found.invalid=true"

Attributes:

  • Requires a Maven project to be executed.

Required Parameters

Name Type Since Description
dataDir File - (no description)
Default value is: ${project.basedir}/src/main/impex.
extension String - (no description)
Default value is: .xml.
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.

Optional Parameters

Name Type Since Description
dataDirExcludes String - (no description)
Default value is: schema.xml.
dataDirIncludes String - (no description)
Default value is: *.xml.
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}.
markedForRemoval File - Any invalid files are listed in this file. One file per line
Default value is: ${project.build.directory}/impex/invalid.txt.
schemaXMLFile String - (no description)
Default value is: src/main/impex/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.
targetDatabase String - (no description)
Default value is: oracle.

Parameter Details

dataDir:

(no description)
  • Type: java.io.File
  • Required: Yes
  • Expression: ${dataDir}
  • Default: ${project.basedir}/src/main/impex

dataDirExcludes:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${dataDirExcludes}
  • Default: schema.xml

dataDirIncludes:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${dataDirIncludes}
  • Default: *.xml

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}

extension:

(no description)
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${extension}
  • Default: .xml

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

markedForRemoval:

Any invalid files are listed in this file. One file per line
  • Type: java.io.File
  • Required: No
  • Expression: ${impex.markedForRemoval}
  • Default: ${project.build.directory}/impex/invalid.txt

schemaXMLFile:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${schemaXMLFile}
  • Default: 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

targetDatabase:

(no description)
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetDatabase}
  • Default: oracle