Interface PropertyContributor

All Superinterfaces:
SpiService

@Experimental @Consumer public interface PropertyContributor extends SpiService
Component able to contribute to Maven session user properties. This SPI component is invoked very early, while there is no session created yet.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    contribute(Map<String,String> userProperties)
    Invoked just before session is created with a mutable map that carries collected user properties so far.
  • Method Details

    • contribute

      void contribute(Map<String,String> userProperties)
      Invoked just before session is created with a mutable map that carries collected user properties so far.
      Parameters:
      userProperties - The mutable user properties, never null.