Author: khmarbaise
Date: Sat Sep  6 13:25:36 2014
New Revision: 1622859

URL: http://svn.apache.org/r1622859
Log:
[MDEP-448]
 - NPE prevented cause don't access the file attribute of the 
   artifact which can be null under different circumstances.

Modified:
    
maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromDependencies/CopyDependenciesMojo.java

Modified: 
maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromDependencies/CopyDependenciesMojo.java
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromDependencies/CopyDependenciesMojo.java?rev=1622859&r1=1622858&r2=1622859&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromDependencies/CopyDependenciesMojo.java
 (original)
+++ 
maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/fromDependencies/CopyDependenciesMojo.java
 Sat Sep  6 13:25:36 2014
@@ -153,7 +153,7 @@ public class CopyDependenciesMojo
         Set<Artifact> skippedArtifacts = dss.getSkippedDependencies();
         for ( Artifact artifact : skippedArtifacts )
         {
-            getLog().info( artifact.getFile().getName() + " already exists in 
destination." );
+            getLog().info( artifact.getId() + " already exists in 
destination." ) ;
         }
 
         if ( isCopyPom() && !useRepositoryLayout )


Reply via email to