|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.obrplugin.ObrUpdate
public class ObrUpdate
this class parse the old repository.xml file build the bundle resource description and update the repository.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 loggerMethod Detail |
---|
public 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 file
org.apache.maven.plugin.MojoExecutionException
- if the plugin failedpublic void writeRepositoryXml() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public boolean parseRepositoryXml() throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
- if the plugin failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |