Plugin Documentation
This report describes goals, parameters details, requirements and sample usage of this plugin.
Goals
Goals available for this plugin:
Goal | Description |
---|---|
expanders:configure-test-classpath | Updates classpath for tests using the expansion-resource resolution. This prevents issues due to conflicts caused by maven using outdated artifacts.
Because it still preferred to update dependencies consistently, this class will log warnings when it updates an artifact. |
expanders:expand | Expand application. |
expanders:expansionResource | Generate ExpansionResource manifest. |
expanders:harvest | Harvest application. |
expanders:init-project | Generate a project setup for a new NSX project |
expanders:list-dependencies | List ExpansionResource dependencies of a ApplicationExpansionSettings, ExpansionResource artifact, or ExpansionTrace zip. |
expanders:prepare-resources | Experimental |
expanders:prime-task | EXPERIMENTAL
Execute any nsx-prime task. |
expanders:set-expansion-resource | Set the expansion-resource version in expansionSettings.xml or add it if not defined. |
expanders:set-model-version | Updates versions in model files. |
expanders:transmute-model | Transmute project model files |
expanders:update-expansion-settings | Update expansion-resources in expansionSettings xml file. |
expanders:validate-data | Validates DataResources for a project. |
expanders:validate-model | Validates project model files |
System Requirements
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.3.3 |
JDK | 17 |
System Requirements History
The following specifies the minimum requirements to run this Maven plugin for historical versions:
Plugin Version | Maven | JDK |
---|---|---|
from 2023.4.3 to 2024.6.1 | - | - |
from 2021.5.4 to 2023.4.2 | 3.3.3 | - |
from 2020.13.0 to 2021.5.3 | 3.3.3 | 8 |
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>net.democritus.maven.plugins</groupId> <artifactId>expanders-maven-plugin</artifactId> <version>2024.7.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>net.democritus.maven.plugins</groupId> <artifactId>expanders-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"