@Mojo(name="download",
defaultPhase=PRE_INTEGRATION_TEST,
requiresProject=true)
public final class EventStoreDownloadMojo
extends AbstractEventStoreMojo
VERSION_URL| Constructor and Description |
|---|
EventStoreDownloadMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeGoal()
Executes the goal code.
|
File |
getDownloadFile()
Returns the file where the result of the download is located.
|
static void |
unTarGz(File archive,
File destDir)
Unpacks the given TAR/GZ file into a target directory.
|
static void |
unzip(File zipFile,
File destDir)
Unzips the given ZIP file into a target directory.
|
asList, checkNotNull, deletePid, execute, getDownloadOsQualifier, getDownloadUrl, getEventStoreDir, getIncludeRc, getPidFile, getTargetDir, getVersionUrl, isIncludeRc, logDebug, logError, readPid, setDownloadOsQualifier, setDownloadUrl, setEventStoreDir, setIncludeRc, setTargetDir, setVersionUrl, writePidprotected final void executeGoal()
throws org.apache.maven.plugin.MojoExecutionException
AbstractEventStoreMojoexecuteGoal in class AbstractEventStoreMojoorg.apache.maven.plugin.MojoExecutionException - if goal execution failedpublic final File getDownloadFile() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException - Error initializing the variables necessary to construct the
result.public static void unzip(File zipFile, File destDir) throws org.apache.maven.plugin.MojoExecutionException
zipFile - ZIP file.destDir - Target directory.org.apache.maven.plugin.MojoExecutionException - Error unzipping the file.public static void unTarGz(File archive, File destDir) throws org.apache.maven.plugin.MojoExecutionException
archive - TAR/GZ archive file.destDir - Target directory.org.apache.maven.plugin.MojoExecutionException - Error unpacking the file.Copyright © 2019 fuin.org (Germany). All rights reserved.