- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="locksmith",
requiresProject=false)
public class Locksmith
extends Base
Find an delete stale locks. JVM crashes or kill -9 does not properly cleanup locks. This goals repairs them by looking for locks
from processes that no longer exists.
Note that this locking cleanup should run in a single, separate process to avoid running into its own locking problems. It
must not be included in the lock file creating itself because there are multiple processes involved.