Class MavenDeploy

  • All Implemented Interfaces:
    Deploy, Plugin

    public class MavenDeploy
    extends java.lang.Object
    implements Deploy, Plugin
    • Constructor Summary

      Constructors 
      Constructor Description
      MavenDeploy()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean deploy​(Project project, java.lang.String jarName, java.io.InputStream jarStream)  
      void setProperties​(java.util.Map<java.lang.String,​java.lang.String> map)
      Give the plugin the remaining properties.
      void setReporter​(aQute.service.reporter.Reporter processor)
      Set the current reporter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MavenDeploy

        public MavenDeploy()
    • Method Detail

      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.String> map)
        Description copied from interface: Plugin
        Give the plugin the remaining properties. When a plugin is declared, the clause can contain extra properties. All the properties and directives are given to the plugin to use.
        Specified by:
        setProperties in interface Plugin
        Parameters:
        map - attributes and directives for this plugin's clause
      • setReporter

        public void setReporter​(aQute.service.reporter.Reporter processor)
        Description copied from interface: Plugin
        Set the current reporter. This is called at init time. This plugin should report all errors and warnings to this reporter.
        Specified by:
        setReporter in interface Plugin
      • deploy

        public boolean deploy​(Project project,
                              java.lang.String jarName,
                              java.io.InputStream jarStream)
                       throws java.lang.Exception
        Specified by:
        deploy in interface Deploy
        Throws:
        java.lang.Exception