Interface DevelocityListener


  • public interface DevelocityListener
    Allows to interact with the Develocity Maven extension.
    Since:
    1.21
    • Method Detail

      • configure

        void configure​(DevelocityApi api,
                       @Nullable
                       @Nullable MavenSession session)
                throws java.lang.Exception
        Allows configuring the Develocity Maven extension via the Develocity API. This callback is guaranteed to be taken into account by the Develocity Maven extension, even in case of catastrophic build failures, such as a very early unexpected exception.
        Parameters:
        api - the Develocity API
        session - the Maven session. Can be null in case of a very early error, before the Maven session is started
        Throws:
        java.lang.Exception