jomc:validate-main-java-classes

Full name:

org.jomc:maven-jomc-plugin:1.0-alpha-16:validate-main-java-classes

Description:

Validates a projects' main java classes.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: process-classes.

Optional Parameters

Name Type Since Description
classProcessingEnabled boolean - Contols processing of classes.
Default value is: true.
classesDirectory String - Directory holding compiled class files of the project.
Default value is: ${project.build.outputDirectory}.
jomcModuleName String - Name of the JOMC module to process.
Default value is: ${project.name}.
jomcTestModuleName String - Name of the JOMC test module to process.
Default value is: ${project.name} Tests.
modelProcessingEnabled boolean - Controls processing of models.
Default value is: true.
moduleLocation String - The location to search for modules.
schemaLocation String - The location to search for schemas.
serviceLocation String - The location to search for services.
sourceEncoding String - The encoding to use for reading and writing files.
Default value is: ${project.build.sourceEncoding}.
sourceProcessingEnabled boolean - Contols processing of sources.
Default value is: true.
templateEncoding String - The encoding to use for reading templates.
templateProfile String - The template profile to use when accessing templates.
Default value is: default.
testClassesDirectory String - Directory holding compiled test class files of the project.
Default value is: ${project.build.testOutputDirectory}.
transformerLocation String - The location to search for transformers.
verbose boolean - Controls verbosity of the plugin.
Default value is: false.

Parameter Details

classProcessingEnabled:

Contols processing of classes.
  • Type: boolean
  • Required: No
  • Expression: ${jomc.classProcessing}
  • Default: true

classesDirectory:

Directory holding compiled class files of the project.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.outputDirectory}

jomcModuleName:

Name of the JOMC module to process.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.name}

jomcTestModuleName:

Name of the JOMC test module to process.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.name} Tests

modelProcessingEnabled:

Controls processing of models.
  • Type: boolean
  • Required: No
  • Expression: ${jomc.modelProcessing}
  • Default: true

moduleLocation:

The location to search for modules.
  • Type: java.lang.String
  • Required: No

schemaLocation:

The location to search for schemas.
  • Type: java.lang.String
  • Required: No

serviceLocation:

The location to search for services.
  • Type: java.lang.String
  • Required: No

sourceEncoding:

The encoding to use for reading and writing files.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.sourceEncoding}

sourceProcessingEnabled:

Contols processing of sources.
  • Type: boolean
  • Required: No
  • Expression: ${jomc.sourceProcessing}
  • Default: true

templateEncoding:

The encoding to use for reading templates.
  • Type: java.lang.String
  • Required: No

templateProfile:

The template profile to use when accessing templates.
  • Type: java.lang.String
  • Required: No
  • Default: default

testClassesDirectory:

Directory holding compiled test class files of the project.
  • Type: java.lang.String
  • Required: No
  • Default: ${project.build.testOutputDirectory}

transformerLocation:

The location to search for transformers.
  • Type: java.lang.String
  • Required: No

verbose:

Controls verbosity of the plugin.
  • Type: boolean
  • Required: No
  • Expression: ${jomc.verbose}
  • Default: false