public class Repackager
extends java.lang.Object
| 构造器和说明 |
|---|
Repackager(java.io.File source,
org.apache.maven.plugin.logging.Log logger,
java.lang.String mainClass) |
public Repackager(java.io.File source,
org.apache.maven.plugin.logging.Log logger,
java.lang.String mainClass)
throws java.lang.Exception
java.lang.Exceptionpublic void repackage(java.io.File destination,
Libraries libraries)
throws java.io.IOException
destination - the destination file (may be the same as the source)libraries - the libraries required to run the archivejava.io.IOException - if the file cannot be repackagedpublic final java.io.File getBackupFile()
File to use to backup the original source.public final java.io.File getFile()