Class ObrDeployFile

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.felix.obrplugin.AbstractFileMojo
org.apache.felix.obrplugin.ObrDeployFile
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="deploy-file", requiresProject=false, defaultPhase=DEPLOY) public final class ObrDeployFile extends AbstractFileMojo
Deploys bundle details to a remote OBR repository (command-line goal)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    Optional public URL where the bundle has been deployed.
    private boolean
    When true, ignore remote locking.
    private org.apache.maven.artifact.repository.ArtifactRepository
    Local Repository.
    private org.apache.maven.artifact.manager.WagonManager
    The Wagon manager.
    private String
    Local OBR Repository.
    private String
    Remote OBR Repository.
    private String
    Remote repository id, used to lookup authentication settings.
    private org.apache.maven.settings.Settings
    Local Maven settings.
    private List
    Project types which this plugin supports.
    private String
    Remote OBR repository URL, where the bundle details are to be uploaded.

    Fields inherited from class org.apache.felix.obrplugin.AbstractFileMojo

    file, obrXml

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.felix.obrplugin.AbstractFileMojo

    getProject

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ignoreLock

      @Parameter(property="ignoreLock") private boolean ignoreLock
      When true, ignore remote locking.
    • remoteOBR

      @Parameter(property="remoteOBR") private String remoteOBR
      Remote OBR Repository.
    • obrRepository

      @Parameter(property="obrRepository") private String obrRepository
      Local OBR Repository.
    • supportedProjectTypes

      @Parameter private List supportedProjectTypes
      Project types which this plugin supports.
    • repositoryId

      @Parameter(property="repositoryId", defaultValue="remote-repository", required=true) private String repositoryId
      Remote repository id, used to lookup authentication settings.
    • url

      @Parameter(property="url", required=true) private String url
      Remote OBR repository URL, where the bundle details are to be uploaded.
    • bundleUrl

      @Parameter(property="bundleUrl") private String bundleUrl
      Optional public URL where the bundle has been deployed.
    • localRepository

      @Parameter(defaultValue="${localRepository}", readonly=true, required=true) private org.apache.maven.artifact.repository.ArtifactRepository localRepository
      Local Repository.
    • settings

      @Parameter(defaultValue="${settings}", readonly=true, required=true) private org.apache.maven.settings.Settings settings
      Local Maven settings.
    • m_wagonManager

      @Component private org.apache.maven.artifact.manager.WagonManager m_wagonManager
      The Wagon manager.
  • Constructor Details

    • ObrDeployFile

      public ObrDeployFile()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException