public class BundlesPublisher extends Object
Constructor and Description |
---|
BundlesPublisher(P2ApplicationLauncher launcher,
org.codehaus.plexus.logging.Logger log) |
Modifier and Type | Method and Description |
---|---|
void |
addBundle(File bundle) |
URI |
publishBundles(File targetDirectory)
Creates a p2 repository in targetDirectory containing the bundles added.
|
void |
setTimeout(int timeoutInSeconds) |
void |
setWorkingDir(File workingDir) |
public BundlesPublisher(P2ApplicationLauncher launcher, org.codehaus.plexus.logging.Logger log)
public void addBundle(File bundle)
public void setTimeout(int timeoutInSeconds)
public void setWorkingDir(File workingDir)
public URI publishBundles(File targetDirectory) throws IOException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
targetDirectory
- (must be emtpy)IOException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2008-2016 Eclipse Foundation. All Rights Reserved.