Class RemoteExistsMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

    @Mojo(name="remote",
          defaultPhase=VERIFY,
          threadSafe=true)
    public class RemoteExistsMojo
    extends AbstractExistsMojo
    implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
    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.
    Since:
    0.0.2