org.apache.felix.obrplugin
public class ObrUpdate extends Object
Constructor Summary | |
---|---|
ObrUpdate(URI repositoryXml, URI obrXml, MavenProject project, String mavenRepositoryPath, Config userConfig, Log logger)
initialize information. |
Method Summary | |
---|---|
boolean | parseRepositoryXml()
Parse the repository descriptor file.
|
void | updateRepository(URI bundleJar, URI sourceJar, URI docJar)
update the repository descriptor file. parse the old repository descriptor file,
get the old reference of the bundle or determine the id for a new bundle, extract
information from bindex set the new information in descriptor file and save it.
|
void | writeRepositoryXml() |
Parameters: repositoryXml path to the repository descriptor file obrXml path and filename to the obr.xml file project maven project description mavenRepositoryPath path to the local maven repository userConfig user information logger plugin logger
Returns: true if the repository file was parsed, otherwise false
Throws: MojoExecutionException if the plugin failed
Parameters: bundleJar path to the bundle jar file sourceJar path to the source jar file docJar path to the docs jar file
Throws: MojoExecutionException if the plugin failed