public class GeneratePluginPackageMojo extends AbstractGeneratePackageMojo
Look at the gvSIG plugin naming standard for information about installers naming and versioning.
InstallerManager
Constructor and Description |
---|
GeneratePluginPackageMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
createPackage(MakePluginPackageService makePluginService,
PackageInfo info,
OutputStream os)
Creates the package file into the given
OutputStream . |
protected String |
getPackageFileName(PackageInfo info)
Returns the name of the package file to create.
|
protected String |
getPackageTypeName()
Returns the name of the package type to create.
|
execute
protected void createPackage(MakePluginPackageService makePluginService, PackageInfo info, OutputStream os) throws MakePluginPackageServiceException
AbstractGeneratePackageMojo
OutputStream
.createPackage
in class AbstractGeneratePackageMojo
makePluginService
- to use to create the packageinfo
- the information of the package to createos
- where to create the package fileMakePluginPackageServiceException
- if there is an error creating the package fileprotected String getPackageTypeName()
AbstractGeneratePackageMojo
getPackageTypeName
in class AbstractGeneratePackageMojo
protected String getPackageFileName(PackageInfo info)
AbstractGeneratePackageMojo
getPackageFileName
in class AbstractGeneratePackageMojo
info
- package information