Loving Iron Fist of Maven™)
>
> Robert
>
> [1]
> https://maven.apache.org/enforcer/enforcer-rules/bannedDependencies.html
>
> On 25-1-2020 04:48:46, Scott Wilson wrote:
> Ok Thank you Elliotte. I've googled checkstyle so will read up on that.
>
> Another soluti
;s not going to work for the same reason.
> classpathDependencyExcludes removes a jar from the classpath, and you
> need the jar in the classpath, at least in most circumstances. A
> custom checkstyle rule might solve your problem, but you can't do it
> by changing the classpath.
>
I
> suspect the transitive dependencies would still be needed in the
> classpath or the tests will fail with runtime NoClassDefFoundErrors
> and the like.
>
> What you want sounds a little like strict_java_deps in bazel:
> https://blog.bazel.build/2017/06/28/sjd-unused_deps.htm
ism.html#Dependency_Scope
> >)
> > *and
> > AFAIK this is not currently supported, but I have a specific reason for
> > wanting this.
>
> It would be great if you could shared this with us
>
>
> Kind regards
> Karl Heinz Marbaise
>
>
> >
> >
> > *I'd really appreciate if someone can add that for me and let me know
> when
> > it's done.*
> >
> > *Please let me know if you have any questions.*
> >
> >
> > *Regards*
> >
> > *Scott Wilson*
> >
> > *http://linkedin.com/in/hockeyeh <http://linkedin.com/in/hockeyeh>*
> >
>
e>)
*and
AFAIK this is not currently supported, but I have a specific reason for
wanting this.
*I'd really appreciate if someone can add that for me and let me know when
it's done.*
*Please let me know if you have any questions.*
*Regards*
*Scott Wilson*
*http://linkedin.