Annotation Type Basedir


  • @Retention(RUNTIME)
    @Inherited
    @Target({TYPE,METHOD})
    public @interface Basedir
    Specifies the base directory for test resources in Maven plugin tests. This annotation can be applied to test methods, or test class, to define where test resources are located.

    Example usage:

     {@code
    Since:
    3.4.0
    See Also:
    MojoTest, MojoExtension
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value
        Default:
        ""