public class ObrUpdate extends Object
Constructor and Description |
---|
ObrUpdate(URI repositoryXml,
URI obrXml,
org.apache.maven.project.MavenProject project,
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(URI bundleJar,
URI sourceJar,
URI docJar)
update the repository descriptor file.
|
void |
writeRepositoryXml() |
public ObrUpdate(URI repositoryXml, URI obrXml, org.apache.maven.project.MavenProject project, 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(URI bundleJar, URI sourceJar, 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 © 2006–2021 The Apache Software Foundation. All rights reserved.