Class 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 java.lang.String bundleUrl
      Optional public URL where the bundle has been deployed.
      private boolean ignoreLock
      When true, ignore remote locking.
      private org.apache.maven.artifact.repository.ArtifactRepository localRepository
      Local Repository.
      private org.apache.maven.artifact.manager.WagonManager m_wagonManager
      The Wagon manager.
      private java.lang.String obrRepository
      Local OBR Repository.
      private java.lang.String remoteOBR
      Remote OBR Repository.
      private java.lang.String repositoryId
      Remote repository id, used to lookup authentication settings.
      private org.apache.maven.settings.Settings settings
      Local Maven settings.
      private java.util.List supportedProjectTypes
      Project types which this plugin supports.
      private java.lang.String url
      Remote OBR repository URL, where the bundle details are to be uploaded.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Constructor Summary

      Constructors 
      Constructor Description
      ObrDeployFile()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • 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 Detail

      • ignoreLock

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

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

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

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

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

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

        @Parameter(property="bundleUrl")
        private java.lang.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 Detail

      • ObrDeployFile

        public ObrDeployFile()
    • Method Detail

      • execute

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