Hi Jörg,
This is excellent and worked a treat. Thank you so much, for future reference,
once the dependencies are declared with a , here is the correct plugin
configuration solution
org.apache.maven.plugins
maven-dependency-plugin
Hi,
if you use the copy goal, you don't have to add them to your list of
dependencies. Personally I would use the
copy-dependencies goal and copy only the ones with scope provided (i.e. you
don't have to specify each one
again).
Cheers,
Jörg
Am Fri, 23 Feb 2018 09:58:09 -0800 schrieb lewis
I should also say, that the workaround is to list each and every transitive
dependency in the dependency declaration with scope 'provided', such that
they are NOT on the normal runtime classpath but ARE correctly copied into
the target directory defined within the maven-dependency-plugin