org.apache.directory.daemon.installers.rpm
Class RpmInstallerCommand
java.lang.Object
org.apache.directory.daemon.installers.MojoCommand
org.apache.directory.daemon.installers.rpm.RpmInstallerCommand
public class RpmInstallerCommand
- extends MojoCommand
The IzPack installer command.
- Version:
- $Rev: 434414 $
- Author:
- Apache Directory Project
Method Summary |
void |
execute()
Performs the following:
Bail if target is not for linux or current machine is not linux (no rpm builder)
Filter and copy project supplied spec file into place if it has been specified and exists
If no spec file exists filter and deposite into place bundled spec template
Bail if we cannot find the rpm builder executable
Execute rpm build on the filtered spec file
|
java.util.Properties |
getFilterProperties()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpmInstallerCommand
public RpmInstallerCommand(ServiceInstallersMojo mymojo,
RpmTarget target)
throws org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoFailureException
getFilterProperties
public java.util.Properties getFilterProperties()
- Specified by:
getFilterProperties
in class MojoCommand
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Performs the following:
- Bail if target is not for linux or current machine is not linux (no rpm builder)
- Filter and copy project supplied spec file into place if it has been specified and exists
- If no spec file exists filter and deposite into place bundled spec template
- Bail if we cannot find the rpm builder executable
- Execute rpm build on the filtered spec file
- Specified by:
execute
in class MojoCommand
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2004-2010. All Rights Reserved.