Class CentralCheck

  • All Implemented Interfaces:
    VerifierPlugin

    public class CentralCheck
    extends java.lang.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:
    Sufficient Metadata
    • Constructor Summary

      Constructors 
      Constructor Description
      CentralCheck()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void verify​(Analyzer analyzer)
      This plugin is called after the manifest generation and after the jar is fully populated with resources.
      • Methods inherited from class java.lang.Object

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

      • CentralCheck

        public CentralCheck()
    • Method Detail

      • verify

        public void verify​(Analyzer analyzer)
                    throws java.lang.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:
        java.lang.Exception