org.apache.felix.obrplugin
public class ObrUpdate extends java.lang.Object
Constructor and Description |
---|
ObrUpdate(java.net.URI repositoryXml,
java.net.URI obrXml,
org.apache.maven.project.MavenProject project,
java.lang.String mavenRepositoryPath,
Config userConfig,
org.apache.maven.plugin.logging.Log logger)
initialize information.
|
Modifier and Type | Method and Description |
---|---|
void |
parseRepositoryXml()
Parse the repository descriptor file.
|
void |
updateRepository(java.net.URI bundleJar,
java.net.URI sourceJar,
java.net.URI docJar)
update the repository descriptor file.
|
void |
writeRepositoryXml() |
public ObrUpdate(java.net.URI repositoryXml, java.net.URI obrXml, org.apache.maven.project.MavenProject project, java.lang.String mavenRepositoryPath, Config userConfig, org.apache.maven.plugin.logging.Log logger)
repositoryXml
- path to the repository descriptor fileobrXml
- path and filename to the obr.xml fileproject
- maven project descriptionmavenRepositoryPath
- path to the local maven repositoryuserConfig
- user informationlogger
- plugin loggerpublic void updateRepository(java.net.URI bundleJar, java.net.URI sourceJar, java.net.URI docJar) throws org.apache.maven.plugin.MojoExecutionException
bundleJar
- path to the bundle jar filesourceJar
- path to the source jar filedocJar
- path to the docs jar fileorg.apache.maven.plugin.MojoExecutionException
- if the plugin failedpublic void writeRepositoryXml() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void parseRepositoryXml() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- if the plugin failedCopyright © 2014. All Rights Reserved.