Class LocalExistsMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="local",
          defaultPhase=VERIFY,
          threadSafe=true)
    public class LocalExistsMojo
    extends AbstractExistsMojo
    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.
    Since:
    0.0.2