maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From khmarba...@apache.org
Subject svn commit: r1701672 - /maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java
Date Mon, 07 Sep 2015 19:12:54 GMT
Author: khmarbaise
Date: Mon Sep  7 19:12:54 2015
New Revision: 1701672

URL: http://svn.apache.org/r1701672
Log:
[MENFORCER-228] DependencyConvergence: Simplify logging errors

Modified:
    maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java

Modified: maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java
URL: http://svn.apache.org/viewvc/maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java?rev=1701672&r1=1701671&r2=1701672&view=diff
==============================================================================
--- maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java
(original)
+++ maven/enforcer/trunk/enforcer-rules/src/main/java/org/apache/maven/plugins/enforcer/DependencyConvergence.java
Mon Sep  7 19:12:54 2015
@@ -86,9 +86,8 @@ public class DependencyConvergence
                 (ArtifactMetadataSource) helper.getComponent( ArtifactMetadataSource.class
);
             ArtifactCollector collector = (ArtifactCollector) helper.getComponent( ArtifactCollector.class
);
             ArtifactFilter filter = null; // we need to evaluate all scopes
-            DependencyNode node =
-                dependencyTreeBuilder.buildDependencyTree( project, repository, factory,
metadataSource, filter,
-                                                           collector );
+            DependencyNode node = dependencyTreeBuilder.buildDependencyTree( project, repository,
factory,
+                                                                             metadataSource,
filter, collector );
             return node;
         }
         catch ( ExpressionEvaluationException e )
@@ -130,7 +129,7 @@ public class DependencyConvergence
             }
             if ( errorMsgs.size() > 0 )
             {
-                throw new EnforcerRuleException( "Failed while enforcing releasability the
error(s) are " + errorMsgs );
+                throw new EnforcerRuleException( "Failed while enforcing releasability. See
above detailed error message." );
             }
         }
         catch ( ComponentLookupException e )



Mime
View raw message