Class CentralCheck

java.lang.Object
aQute.bnd.plugin.maven.CentralCheck
All Implemented Interfaces:
VerifierPlugin

public class CentralCheck extends Object implements VerifierPlugin
Sets a warning when a header is missing to publish at Central. The Sonatype Nexus does some verifications and it is pretty annoying if they fail.
See Also:
  • Constructor Details

    • CentralCheck

      public CentralCheck()
  • Method Details

    • verify

      public void verify(Analyzer analyzer) throws Exception
      Description copied from interface: VerifierPlugin
      This plugin is called after the manifest generation and after the jar is fully populated with resources. The plugin is intended to verify details of the jar and manifest.
      Specified by:
      verify in interface VerifierPlugin
      Throws:
      Exception