Plugin Documentation

Goals available for this plugin:

Goal Report? Description
eugene:available-data No Obtain the list of some known data informations. Use the dataTypes property to specify a specific data type to use (otherwise will display all known data types).
eugene:generate No Eugene generator plugin (a.k.a generate mojo) Fill inputs and mojo will chained needed writer.
eugene:help No Display help information on eugene-maven-plugin.
Call mvn eugene:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
eugene:tag-values-report Yes To report a TagValueMetadatasProvider. Created on 5/31/14.
eugene:transform-extension-model No To a transform some object model extension files from an input format to an output format. Available formats are
  • ini
  • properties

Example of ini format

[model]
modeTagValue=value
modelStereotype=true

[package fr.ird.observe.entities]
packageTagValue=value
packageStereotype=true

[class fr.ird.observe.entities.CommentableEntity]
classTagValue=value
classStereotype=true
attribute.attributeTagValue=value
attribute.attributeStereotype=true

Example of properties format

model.tagValue.modeTagValue=value
model.stereotype.modelStereotype
package.fr.ird.observe.entities.tagValue.packageTagValue=value
package.fr.ird.observe.entities.stereotype=packageStereotype
fr.ird.observe.entities.CommentableEntity.class.tagValue.classTagValue=value
fr.ird.observe.entities.CommentableEntity.class.stereotype=classStereotype
fr.ird.observe.entities.CommentableEntity.attribute.attribute.tagValue.attributeTagValue=value
fr.ird.observe.entities.CommentableEntity.attribute.attribute.stereotype=attributeStereotype*
Created on 09/09/16.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.nuiton.eugene</groupId>
          <artifactId>eugene-maven-plugin</artifactId>
          <version>3.1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.nuiton.eugene</groupId>
        <artifactId>eugene-maven-plugin</artifactId>
        <version>3.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.nuiton.eugene</groupId>
        <artifactId>eugene-maven-plugin</artifactId>
        <version>3.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"