Examples of UnArchiver


Examples of org.codehaus.plexus.archiver.UnArchiver

      getLog().info("Unpacking " + file.getPath()
          + " to\n  " + location.getPath());

      location.mkdirs();

      UnArchiver unArchiver;
      unArchiver = archiverManager.getUnArchiver(file);
      unArchiver.setSourceFile(file);
      unArchiver.setDestDirectory(location);
      unArchiver.extract();

    } catch (final NoSuchArchiverException e) {
      throw new MojoExecutionException("Unknown archiver type", e);

    } catch (final ArchiverException e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.