It’s like it says in the doc. You can define a dependency that you need to run your code. E.g. if you test it outside a container. But the dependency is not packed into the WAR (usually because the container would provide it in production).
I am not sure what you mean by “lib-provided” here?
But it is adding dependencies into war as lib-provided.