Groovy Documentation

org.akhikhl.mavenize.osgi2mvn
[Groovy] Class Deployer

java.lang.Object
  org.akhikhl.mavenize.osgi2mvn.Deployer

class Deployer

Deploys OSGI bundle (jar or directory) to maven repository

Authors:
Andrey Hihlovskiy


Constructor Summary
Deployer(java.util.Map deployerOptions = [:], java.lang.String repositoryUrl)

Constructs Deployer with the specified parameters.

 
Method Summary
void deployBundle(java.util.Map options = [:], Pom pomStruct, java.io.File bundleFileOrDirectory)

Deploys the specified bundle with the specified POM to target maven repository.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

Deployer

Deployer(java.util.Map deployerOptions = [:], java.lang.String repositoryUrl)
Constructs Deployer with the specified parameters.
Parameters:
deployerOptions - - may contain properties "user" and "password"
repositoryUrl - - URL of the target maven repository


 
Method Detail

deployBundle

void deployBundle(java.util.Map options = [:], Pom pomStruct, java.io.File bundleFileOrDirectory)
Deploys the specified bundle with the specified POM to target maven repository.
Parameters:
options - - may contain sourceFile (of type java.io.File), pointing to sources jar.
pomStruct - - contains POM that will be used for deployment
bundleFileOrDirectory - - jar-file or directory, containing OSGI bundle


 

Groovy Documentation