@Component(role=ProjectInstaller.class, hint="jar") public class JarInstaller extends Object
Constructor and Description |
---|
JarInstaller() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getSupportedPackagingTypes()
Get list of supported packaging types.
|
void |
installProject(org.apache.maven.project.MavenProject project,
Package targetPackage,
PackagingRule rule)
Install Maven project into binary package.
|
public List<String> getSupportedPackagingTypes()
ProjectInstaller
public void installProject(org.apache.maven.project.MavenProject project, Package targetPackage, PackagingRule rule) throws IOException
ProjectInstaller
This method can be called only if project packaging type is on the list of supported packaging types, as returned
by getSupportedPackagingTypes()
method.
project
- Maven project to be installedtargetPackage
- binary package into which project should be installedrule
- effective packaging rule to useIOException
- if I/O error occurs when installing package filesCopyright © 2012-2013 Red Hat, Inc.. All Rights Reserved.