public class Repackager extends Object
| Constructor and Description |
|---|
Repackager(File source,
org.apache.maven.plugin.logging.Log logger,
String mainClass) |
| Modifier and Type | Method and Description |
|---|---|
File |
getBackupFile()
Return the
File to use to backup the original source. |
File |
getFile() |
void |
repackage(File destination,
Libraries libraries)
Repackage to the given destination so that it can be launched using '
java -jar'.
|
public void repackage(File destination, Libraries libraries) throws IOException
destination - the destination file (may be the same as the source)libraries - the libraries required to run the archiveIOException - if the file cannot be repackagedpublic final File getBackupFile()
File to use to backup the original source.public final File getFile()
Copyright © 2025. All rights reserved.