Groovy Documentation

org.akhikhl.unpuzzle.osgi2maven
[Groovy] Class Deployer

java.lang.Object
  org.akhikhl.unpuzzle.osgi2maven.Deployer

class Deployer

Deploys OSGI bundle (jar or directory) to maven repository

Authors:
akhikhl


Property Summary
java.util.Map deployerOptions

java.net.URL repositoryUrl

 
Constructor Summary
Deployer(java.util.Map deployerOptions = [:], java.io.File localRepositoryDir)

Constructs Deployer with the specified parameters.

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

Deployer(java.util.Map deployerOptions = [:], java.net.URL 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(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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()
 

Property Detail

deployerOptions

final java.util.Map deployerOptions


repositoryUrl

final java.net.URL repositoryUrl


 
Constructor Detail

Deployer

Deployer(java.util.Map deployerOptions = [:], java.io.File localRepositoryDir)
Constructs Deployer with the specified parameters.
Parameters:
deployerOptions - - may contain properties "user" and "password"
localRepositoryDir - - target maven repository


Deployer

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


Deployer

Deployer(java.util.Map deployerOptions = [:], java.net.URL 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