Le 25/07/2017 à 22:45, Mykola Nikishov a écrit :

> Upgrade to 1.0~beta3.0.7-9 will drag junit. Please change default
> scope [1] to the test one.
> 
> [1] 
> https://anonscm.debian.org/cgit/pkg-java/plexus-containers.git/tree/pom.xml#n32

Actually in this case the scope is correct, because the jar generated
contains the PlexusTestCase class extending the TestCase class from
junit. Changing the scope to test would thus break the build.

That said, we may consider changing the scope to 'provided' as it is in
more recent versions of plexus-containers. That may break a few packages
where the pom only declares a dependency on plexus-container-default and
not junit, but that would avoid pulling junit for packages that don't
need it.

Reply via email to