maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r810407 - in /maven/plugins/branches/maven-site-plugin-3.x: ./ src/it/full-reporting/ src/main/java/org/apache/maven/plugins/site/
Date Wed, 02 Sep 2009 08:11:32 GMT
Author: olamy
Date: Wed Sep  2 08:11:31 2009
New Revision: 810407

URL: http://svn.apache.org/viewvc?rev=810407&view=rev
Log:
add more details on exception.

Modified:
    maven/plugins/branches/maven-site-plugin-3.x/pom.xml
    maven/plugins/branches/maven-site-plugin-3.x/src/it/full-reporting/pom.xml
    maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
    maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/ReportDocumentRenderer.java

Modified: maven/plugins/branches/maven-site-plugin-3.x/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/pom.xml?rev=810407&r1=810406&r2=810407&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/pom.xml (original)
+++ maven/plugins/branches/maven-site-plugin-3.x/pom.xml Wed Sep  2 08:11:31 2009
@@ -160,7 +160,9 @@
     <mavenVersion>3.0-SNAPSHOT</mavenVersion>
     <wagonVersion>1.0-beta-4</wagonVersion>
     <plexusVersion>1.2.1-SNAPSHOT</plexusVersion>
+    <!-- SNAPSHOT use due to MJAVADOC-251  -->
     <javadocPluginVersion>2.6.1-SNAPSHOT</javadocPluginVersion>
+    <!-- previous version breaks due to use of plexusContainer.getLoggerManager() -->
     <projectInfoReportsPluginVersion>2.2-SNAPSHOT</projectInfoReportsPluginVersion>
   </properties>
 

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/it/full-reporting/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/it/full-reporting/pom.xml?rev=810407&r1=810406&r2=810407&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/it/full-reporting/pom.xml (original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/it/full-reporting/pom.xml Wed Sep  2
08:11:31 2009
@@ -15,6 +15,7 @@
   <properties>
     <!-- SNAPSHOT use due to MJAVADOC-251  -->
     <javadocPluginVersion>@javadocPluginVersion@</javadocPluginVersion>
+    <projectInfoReportsPluginVersion>@projectInfoReportsPluginVersion@</projectInfoReportsPluginVersion>
   </properties>
   <dependencies>
     <dependency>
@@ -36,7 +37,12 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>${javadocPluginVersion}</version>          
-      </plugin>      
+      </plugin> 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-project-info-reports-plugin</artifactId>
+        <version>@projectInfoReportsPluginVersion@</version>
+      </plugin>           
     </plugins>
   </build>  
   <reporting>
@@ -44,7 +50,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.1.2</version>
+        <version>@projectInfoReportsPluginVersion@</version>
         <configuration>
           <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
@@ -54,7 +60,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>${javadocPluginVersion}</version>          
-      </plugin>      
+      </plugin>  
+          
     </plugins>
   </reporting>
   <profiles>

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java?rev=810407&r1=810406&r2=810407&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
(original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/DefaultMavenReportExecutor.java
Wed Sep  2 08:11:31 2009
@@ -188,13 +188,13 @@
             boolean isMavenReport = MavenReport.class.isAssignableFrom( mojoDescriptor.getImplementationClass()
);
             if ( !isMavenReport )
             {
-                getLog().info( " skip non MavenReport " + mojoExecution.getMojoDescriptor().getId()
);
+                getLog().debug( " skip non MavenReport " + mojoExecution.getMojoDescriptor().getId()
);
             }
             return isMavenReport;
         }
         catch ( LinkageError e )
         {
-            getLog().warn( "skip LinkageError  mojoExecution.goal" + mojoExecution.getGoal()
+ " : " + e.getMessage(),
+            getLog().warn( "skip LinkageError  mojoExecution.goal : " + mojoExecution.getGoal()
+ " : " + e.getMessage(),
                            e );
             // pluginRealm.display();
             return false;

Modified: maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/ReportDocumentRenderer.java
URL: http://svn.apache.org/viewvc/maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/ReportDocumentRenderer.java?rev=810407&r1=810406&r2=810407&view=diff
==============================================================================
--- maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/ReportDocumentRenderer.java
(original)
+++ maven/plugins/branches/maven-site-plugin-3.x/src/main/java/org/apache/maven/plugins/site/ReportDocumentRenderer.java
Wed Sep  2 08:11:31 2009
@@ -177,7 +177,7 @@
             StringBuilder stringBuilder =
                 new StringBuilder( " an issue has occured with report " + report.getClass().getName()
);
             stringBuilder.append( ", skip LinkageError " + e.getMessage() + ", please report
an issue to maven dev team" );
-            log.warn( stringBuilder.toString() );
+            log.warn( stringBuilder.toString(), e );
         }
         finally 
         {



Mime
View raw message