modelant.mof14..:compare-mof14-metamodels

Full name:

net.mdatools:modelant.mof14.maven.plugin:3.3.0:compare-mof14-metamodels

Description:

Compare two metamodels and report the differences, that are needed to convert the source metamodel into the target one

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: compile.
  • Invokes the execution of the lifecycle phase compile prior to executing itself.

Required Parameters

Name Type Since Description
<sourceMetamodel> File - The name of the file with the source (original) model
User property is: project.build.sourceDirectory.
<targetMetamodel> File - The name of the file with the target (changed) model
<workDirectory> File - The directory where the temporary internal files are located
User property is: project.build.directory.

Optional Parameters

Name Type Since Description
<equals> List - Pairs of source and target model elements, that should be considered equal. The model elements are referred by their qualified name, reflecting their nesting in other model elements as namespaces. For example: Foundation::Core refers the MOF 1.4 model element named "Core", nested in the model element named "Foundation" (as its namespace), which is a top-level model element (not nested in anything).

Parameter Details

<equals>

Pairs of source and target model elements, that should be considered equal. The model elements are referred by their qualified name, reflecting their nesting in other model elements as namespaces. For example: Foundation::Core refers the MOF 1.4 model element named "Core", nested in the model element named "Foundation" (as its namespace), which is a top-level model element (not nested in anything).
  • Type: java.util.List
  • Required: No

<sourceMetamodel>

The name of the file with the source (original) model
  • Type: java.io.File
  • Required: Yes
  • User Property: project.build.sourceDirectory

<targetMetamodel>

The name of the file with the target (changed) model
  • Type: java.io.File
  • Required: Yes

<workDirectory>

The directory where the temporary internal files are located
  • Type: java.io.File
  • Required: Yes
  • User Property: project.build.directory