Interface DevelocityListener


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

    Modifier and Type
    Method
    Description
    void
    configure(DevelocityApi api, @Nullable MavenSession session)
    Allows configuring the Develocity Maven extension via the Develocity API.
  • Method Details

    • configure

      void configure(DevelocityApi api, @Nullable @Nullable MavenSession session) throws 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:
      Exception