Goals available for this plugin:
Goal | Description |
---|---|
pom-editor:add-dep | Mojo responsible to add a given dependency to a target POM if such dependency is not declared or the given dependency's version is greater than the existent at target POM |
pom-editor:change-prop | Mojo responsible for setting (potentially overwriting), or removing a property value. |
pom-editor:commit | Mojo responsible for committing the POM changes and removing the backup POM file |
pom-editor:hello | Says "Hi" to the output |
pom-editor:help | Display help information on pom-editor-maven-plugin. Call mvn pom-editor:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
pom-editor:rollback | Restore the target POM file with the backup POM file |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.8.1 |
JDK | 11 |
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>br.org.soujava</groupId> <artifactId>pom-editor-maven-plugin</artifactId> <version>1.0.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>br.org.soujava</groupId> <artifactId>pom-editor-maven-plugin</artifactId> <version>1.0.0</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"