Source:
<code>private void apply( ClassFileVisitor v, File outputDirectory, MavenProject project, Logger logger ) throws IOException { v.process( outputDirectory ); if ( ignoreDependencies ) { PatternIncludesArtifactFilter includesFilter = includeDependencies == null ? null : new PatternIncludesArtifactFilter( Arrays.asList( includeDependencies ) ); PatternExcludesArtifactFilter excludesFilter = excludeDependencies == null ? null : new PatternExcludesArtifactFilter( Arrays.asList( excludeDependencies ) ); logger.debug( "Building list of classes from dependencies" ); for ( Iterator i = project.getArtifacts().iterator(); i.hasNext(); ) { Artifact artifact = (Artifact) i.next(); if ( !artifact.getArtifactHandler().isAddedToClasspath() ) { logger.debug( "Skipping artifact " + artifactId( artifact ) + " as it is not added to the classpath." ); continue; } if ( !( Artifact.SCOPE_COMPILE.equals( artifact.getScope() ) || Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) || Artifact.SCOPE_SYSTEM.equals( artifact.getScope() ) ) ) { logger.debug( "Skipping artifact " + artifactId( artifact ) + " as it is not on the compile classpath." ); continue; } if ( includesFilter != null && !includesFilter.include( artifact ) ) { logger.debug( "Skipping classes in artifact " + artifactId( artifact ) + " as it does not match include rules." ); continue; } if ( excludesFilter != null && !excludesFilter.include( artifact ) ) { logger.debug( "Skipping classes in artifact " + artifactId( artifact ) + " as it does matches exclude rules." ); continue; } if ( artifact.getFile() == null ) { <START> logger.debug( "Skipping classes in artifact " + artifactId( artifact ) <END> + " as there are unresolved dependencies." ); continue; } logger.debug( "Adding classes in artifact " + artifactId( artifact ) + " to the ignores" ); v.process( artifact.getFile() ); } } }</code><technical_language>a normal situation. get that</technical_language>

Target:
private void apply( ClassFileVisitor v, File outputDirectory, MavenProject project, Logger logger ) throws IOException { v.process( outputDirectory ); if ( ignoreDependencies ) { PatternIncludesArtifactFilter includesFilter = includeDependencies == null ? null : new PatternIncludesArtifactFilter( Arrays.asList( includeDependencies ) ); PatternExcludesArtifactFilter excludesFilter = excludeDependencies == null ? null : new PatternExcludesArtifactFilter( Arrays.asList( excludeDependencies ) ); logger.debug( "Building list of classes from dependencies" ); for ( Iterator i = project.getArtifacts().iterator(); i.hasNext(); ) { Artifact artifact = (Artifact) i.next(); if ( !artifact.getArtifactHandler().isAddedToClasspath() ) { logger.debug( "Skipping artifact " + artifactId( artifact ) + " as it is not added to the classpath." ); continue; } if ( !( Artifact.SCOPE_COMPILE.equals( artifact.getScope() ) || Artifact.SCOPE_PROVIDED.equals( artifact.getScope() ) || Artifact.SCOPE_SYSTEM.equals( artifact.getScope() ) ) ) { logger.debug( "Skipping artifact " + artifactId( artifact ) + " as it is not on the compile classpath." ); continue; } if ( includesFilter != null && !includesFilter.include( artifact ) ) { logger.debug( "Skipping classes in artifact " + artifactId( artifact ) + " as it does not match include rules." ); continue; } if ( excludesFilter != null && !excludesFilter.include( artifact ) ) { logger.debug( "Skipping classes in artifact " + artifactId( artifact ) + " as it does matches exclude rules." ); continue; } if ( artifact.getFile() == null ) { logger.warn( "Skipping classes in artifact " + artifactId( artifact ) + " as there are unresolved dependencies." ); continue; } logger.debug( "Adding classes in artifact " + artifactId( artifact ) + " to the ignores" ); v.process( artifact.getFile() ); } } }