private void addScoverageDependenciesToClasspath ( Artifact scalaScoveragePluginArtifact ) throws MojoExecutionException { @ SuppressWarnings ( "unchecked" ) Set < Artifact > set = new LinkedHashSet < Artifact > ( project . getDependencyArtifacts ( ) ) ; set . add ( scalaScoveragePluginArtifact ) ; project . setDependencyArtifacts ( set ) ; }
We need to tweak our test classpath for Scoverage .