Class MavenDeploy

java.lang.Object
aQute.bnd.maven.MavenDeploy
All Implemented Interfaces:
Deploy, Plugin

public class MavenDeploy extends Object implements Deploy, Plugin
  • Field Details

    • logger

      private static final org.slf4j.Logger logger
    • repository

      String repository
    • url

      String url
    • homedir

      String homedir
    • keyname

      String keyname
    • passphrase

      String passphrase
    • reporter

      Reporter reporter
  • Constructor Details

    • MavenDeploy

      public MavenDeploy()
  • Method Details

    • setProperties

      public void setProperties(Map<String,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(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, String jarName, InputStream jarStream) throws Exception
      Specified by:
      deploy in interface Deploy
      Throws:
      Exception
    • split

      private void split(Jar original, Jar main, Jar src)
    • maven_gpg_sign_and_deploy

      private void maven_gpg_sign_and_deploy(Project b, File file, String classifier, File pomFile) throws Exception
      Throws:
      Exception
    • optional

      private void optional(Command command, String key, String value)
    • javadoc

      private Jar javadoc(File tmp, Project b, Set<String> exports) throws Exception
      Throws:
      Exception
    • write

      private File write(File base, Resource r, String fileName) throws Exception
      Throws:
      Exception