Class BundlesPublisher
- java.lang.Object
-
- org.eclipse.tycho.surefire.provisioning.BundlesPublisher
-
public class BundlesPublisher extends Object
Convenience wrapper around FeaturesAndBundlesPublisher to help with bundle jars not available from a p2 repository.
-
-
Constructor Summary
Constructors Constructor Description BundlesPublisher(P2ApplicationLauncher launcher, org.codehaus.plexus.logging.Logger log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBundle(File bundle)URIpublishBundles(File targetDirectory)Creates a p2 repository in targetDirectory containing the bundles added.voidsetTimeout(int timeoutInSeconds)voidsetWorkingDir(File workingDir)
-
-
-
Constructor Detail
-
BundlesPublisher
public BundlesPublisher(P2ApplicationLauncher launcher, org.codehaus.plexus.logging.Logger log)
-
-
Method Detail
-
addBundle
public void addBundle(File bundle)
-
setTimeout
public void setTimeout(int timeoutInSeconds)
-
setWorkingDir
public void setWorkingDir(File workingDir)
-
publishBundles
public URI publishBundles(File targetDirectory) throws IOException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
Creates a p2 repository in targetDirectory containing the bundles added.- Parameters:
targetDirectory- (must be emtpy)- Returns:
- URI of p2 repository created
- Throws:
IOExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.plugin.MojoExecutionException
-
-