Use jenkins-test-harness to implement ITs on Shared Library

Hi,

I develop since few years a shared library and I would like to implement some IT with jenkins-test-harness.
I followed some tutorials I found on internet but nothing is working.

When my test is running all jenkins terms are unknown (pipeline, scm, …)

groovy.lang.MissingMethodException: No signature of method: foo.pipeline() is applicable for argument types: (foo$_call_closure1) values: [foo$_call_closure1@384408e2]

groovy.lang.MissingPropertyException: No such property: scm for class: myPipeline

I think I am missing some dependencies in the maven pom.xml but I have no idea.

I have created a minimal project which produce my problem, if someone can give my an help :