fix JDK 1.5 only call

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289370 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-09-16 03:33:31 +00:00
parent 06ab86cb54
commit c193b0fa5d
1 changed files with 2 additions and 1 deletions

View File

@ -276,10 +276,11 @@ public class DependenciesReport
}
catch ( ProjectBuildingException e )
{
// TODO: better exception handling needed - log PBE
throw new IllegalArgumentException( "Can't find a valid Maven project in the repository for the artifact ["
+ artifact.getGroupId() + ":"
+ artifact.getArtifactId() + ":"
+ artifact.getVersion() + "].", e );
+ artifact.getVersion() + "]." );
}
tableRow( new String[]{artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(),
artifactProject.getDescription(),