maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r562227 - in /maven/plugins/trunk/maven-changes-plugin/src/main: java/org/apache/maven/plugin/jira/JiraReportGenerator.java resources/jira-report.properties
Date Thu, 02 Aug 2007 19:28:55 GMT
Author: dennisl
Date: Thu Aug  2 12:28:54 2007
New Revision: 562227

URL: http://svn.apache.org/viewvc?view=rev&rev=562227
Log:
[MCHANGES-50] Handle JIRA authentication failure

o Internationalize error message.

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraReportGenerator.java
    maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraReportGenerator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraReportGenerator.java?view=diff&rev=562227&r1=562226&r2=562227
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraReportGenerator.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/jira/JiraReportGenerator.java
Thu Aug  2 12:28:54 2007
@@ -47,7 +47,7 @@
     {
         sinkBeginReport( sink, bundle );
 
-        sink.text( "An error occured that made it impossible to generate this report." );
+        sink.text( bundle.getString( "report.jira.error" ) );
 
         sinkEndReport( sink );
     }

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties?view=diff&rev=562227&r1=562226&r2=562227
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties (original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/resources/jira-report.properties Thu
Aug  2 12:28:54 2007
@@ -17,7 +17,9 @@
 
 report.jira.name=Jira Report
 report.jira.description=Report on Issues from the JIRA Issue Tracking System.
-report.jira.header= Jira Report
+report.jira.error=An error occured that made it impossible to generate this report. \
+  Please check the console for information on what might be the cause of this.
+report.jira.header=Jira Report
 report.jira.label.key=Key
 report.jira.label.summary=Summary
 report.jira.label.status=Status



Mime
View raw message