Goals available for this plugin:
| Goal | Description | 
|---|---|
| itexpression:eval | Creates a properties file with the effective values of some
user-defined expressions. Unlike Maven's built-in expression syntax
for interpolation, these expressions use forward slashes to
navigate down the object graph and support access to individual
collection/array elements. Furthermore, the result of an expression
need not be a scalar value but can also be a collection/array or a
bean-like object (from the Maven model). For example, the
expression "project/dependencies/0" would extract the first project
dependency. In more detail, this example expression could output
the following keys to the properties file: project.dependencies.0.groupId = org.apache.maven project.dependencies.0.artifactId = maven-project project.dependencies.0.type = jar project.dependencies.0.version = 2.0 project.dependencies.0.optional = false project.dependencies.0.exclusions = 2 project.dependencies.0.exclusions.0.groupId = plexus project.dependencies.0.exclusions.0.artifactId = plexus-utils project.dependencies.0.exclusions.1.groupId = plexus project.dependencies.0.exclusions.1.artifactId = plexus-container-defaultExpressions that reference non-existing objects or use invalid collection/array indices silently resolve to null. For
collections and arrays, the special index "*" can be used to
iterate all elements. | 
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 | 
| JDK | Default target for maven-compiler-plugin version 3.8.1 | 
| Memory | No minimum requirement. | 
| Disk Space | No minimum requirement. | 
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.apache.maven.its.plugins</groupId>
          <artifactId>maven-it-plugin-expression</artifactId>
          <version>2.1-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.maven.its.plugins</groupId>
        <artifactId>maven-it-plugin-expression</artifactId>
        <version>2.1-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"