Author: vsiveton
Date: Wed Aug 24 03:56:50 2005
New Revision: 239599
URL: http://svn.apache.org/viewcvs?rev=239599&view=rev
Log:
MNG-754: Added artifact information in the exception
Modified:
maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
Modified:
maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java?rev=239599&r1=239598&r2=239599&view=diff
==============================================================================
---
maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
(original)
+++
maven/components/trunk/maven-plugins/maven-project-info-reports-plugin/src/main/java/org/apache/maven/report/projectinfo/DependenciesReport.java
Wed Aug 24 03:56:50 2005
@@ -233,8 +233,9 @@
}
catch ( ProjectBuildingException e )
{
- throw new IllegalArgumentException(
- "Can't find a valid Maven project in the repository
for the artifact [" + artifact + "]." );
+ throw new IllegalArgumentException( "Can't find a valid
Maven project in the repository for the artifact ["
+ +
artifact.getGroupId() + ":" + artifact.getArtifactId()
+ + ":" +
artifact.getVersion() + "]." );
}
tableRow( new String[]{artifact.getGroupId(),
artifact.getArtifactId(), artifact.getVersion(),
@@ -275,8 +276,10 @@
}
catch ( ProjectBuildingException e )
{
- throw new IllegalArgumentException(
- "Can't find a valid Maven project in the
repository for the artifact [" + artifact + "]." );
+ throw new IllegalArgumentException( "Can't find a
valid Maven project in the repository for the artifact ["
+ +
artifact.getGroupId() + ":"
+ +
artifact.getArtifactId() + ":"
+ +
artifact.getVersion() + "]." );
}
tableRow( new String[]{artifact.getGroupId(),
artifact.getArtifactId(), artifact.getVersion(),
artifactProject.getDescription(),
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]