Class NativeExtension

  • All Implemented Interfaces:
    org.codehaus.plexus.logging.LogEnabled

    @Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class,
               hint="native-build-tools")
    public class NativeExtension
    extends org.apache.maven.AbstractMavenLifecycleParticipant
    implements org.codehaus.plexus.logging.LogEnabled
    This extension is responsible for configuring the Surefire plugin to enable the JUnit Platform test listener and registering the native dependency transparently.
    • Constructor Summary

      Constructors 
      Constructor Description
      NativeExtension()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterProjectsRead​(org.apache.maven.execution.MavenSession session)  
      void enableLogging​(org.codehaus.plexus.logging.Logger logger)  
      • Methods inherited from class org.apache.maven.AbstractMavenLifecycleParticipant

        afterSessionEnd, afterSessionStart
      • Methods inherited from class java.lang.Object

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

      • NativeExtension

        public NativeExtension()
    • Method Detail

      • enableLogging

        public void enableLogging​(org.codehaus.plexus.logging.Logger logger)
        Specified by:
        enableLogging in interface org.codehaus.plexus.logging.LogEnabled
      • afterProjectsRead

        public void afterProjectsRead​(org.apache.maven.execution.MavenSession session)
        Overrides:
        afterProjectsRead in class org.apache.maven.AbstractMavenLifecycleParticipant