Author: brett Date: Thu Sep 15 20:33:31 2005 New Revision: 289370 URL: http://svn.apache.org/viewcvs?rev=289370&view=rev Log: fix JDK 1.5 only call
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=289370&r1=289369&r2=289370&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 Thu Sep 15 20:33:31 2005 @@ -276,10 +276,11 @@ } 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(), --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]