Logo Search packages:      
Sourcecode: maven-debian-helper version File versions  Download package

SysUninstallMojo.java

package org.debian.maven.plugin;

import java.io.IOException;
import org.codehaus.plexus.util.FileUtils;

/**
 * Remove installed files and symlinks from the /usr/share hierarchy
 *
 * @goal sysuninstall
 */
00011 public class SysUninstallMojo extends SysInstallMojo
{
  // ----------------------------------------------------------------------
  // Mojo parameters
  // ----------------------------------------------------------------------

  // ----------------------------------------------------------------------
  // Public methods
  // ----------------------------------------------------------------------

  // ----------------------------------------------------------------------
  // Private methods
  // ----------------------------------------------------------------------

00025   protected void runMojo() throws IOException
  {
    FileUtils.forceDelete(fullRepoPath());
    FileUtils.fileDelete(fullCompatPath());
  }
}

Generated by  Doxygen 1.6.0   Back to index