Goals available for this plugin:
Goal | Description |
---|---|
exists:help | Display help information on exists-maven-plugin.
Call mvn exists:help -Ddetail=true -Dgoal=<goal-name> to display parameter details. |
exists:local | Set a property if the artifact in the local repository is same as the just built artifact. The local repository is either defined in settings.xml or defaults to ~/.m2/repository. Using the defaults, executing this plugin will prevent the install plugin from reinstalling identical artifacts to the local repository. This situation will often occur with a recurring schedule build job. |
exists:remote | Set a property if the artifact in the remote repository is same as the just built artifact. The remote repository is usually defined in the pom's distributionManagement section. Using the defaults, executing this plugin will prevent the install plugin from reinstalling identical artifacts to the remote repository. This situation will often occur with a recurring schedule build job. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.8.8 |
JDK | 11 |
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.honton.chas</groupId> <artifactId>exists-maven-plugin</artifactId> <version>0.14.0</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.honton.chas</groupId> <artifactId>exists-maven-plugin</artifactId> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"