this.getLog().info("");
artifact = new DefaultArtifact( this.getProject().getArtifact().toString() );
DependencyService dependencyService = new DependencyService();
ConsoleVisualizer consoleVisualizer = new ConsoleVisualizer();
ClashCollectResultWrapper clashCollectResultWrapper = new ClashCollectResultWrapper( dependencyService.getDependencyTree( artifact, this.getRepoSession(), this.getRepoSystem(), this.getIncludedScopesList(), this.getExcludedScopesList(), this.isIncludeOptional() ) );
consoleVisualizer.visualize( clashCollectResultWrapper, this.getSeverity(), this );
if ( this.getFailOnError() && clashCollectResultWrapper.getNumberOfOuterClashesForSeverityLevel( this.getSeverity())>0 ) {
throw new MojoExecutionException( "Version Clashes for Detection-Level " + this.getSeverity() + " detected!!" );