You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2013/01/09 10:02:21 UTC

svn commit: r1430738 - in /maven/plugins/trunk/maven-doap-plugin/src: it/MDOAP-38/verify.groovy main/java/org/apache/maven/plugin/doap/DoapMojo.java

Author: olamy
Date: Wed Jan  9 09:02:21 2013
New Revision: 1430738

URL: http://svn.apache.org/viewvc?rev=1430738&view=rev
Log:
say the first what :-)

Modified:
    maven/plugins/trunk/maven-doap-plugin/src/it/MDOAP-38/verify.groovy
    maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java

Modified: maven/plugins/trunk/maven-doap-plugin/src/it/MDOAP-38/verify.groovy
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/it/MDOAP-38/verify.groovy?rev=1430738&r1=1430737&r2=1430738&view=diff
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/it/MDOAP-38/verify.groovy (original)
+++ maven/plugins/trunk/maven-doap-plugin/src/it/MDOAP-38/verify.groovy Wed Jan  9 09:02:21 2013
@@ -21,4 +21,4 @@ def logFile = new File( basedir, 'build.
 assert logFile.exists()
 content = logFile.text
 
-assert content.contains( 'The <doapOptions><shortdesc/></doapOptions> first is too long maximum words number is 10.' )
+assert content.contains( 'The <doapOptions><shortdesc/></doapOptions> first sentence is too long maximum words number is 10.' )

Modified: maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java?rev=1430738&r1=1430737&r2=1430738&view=diff
==============================================================================
--- maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java (original)
+++ maven/plugins/trunk/maven-doap-plugin/src/main/java/org/apache/maven/plugin/doap/DoapMojo.java Wed Jan  9 09:02:21 2013
@@ -2641,7 +2641,7 @@ public class DoapMojo
                     break;
                 case SHORT_DESC_TOO_LONG:
                     errorMessages.add(
-                        "The " + toConfiguration( tags, value ) + " first is too long maximum words number is 10." );
+                        "The " + toConfiguration( tags, value ) + " first sentence is too long maximum words number is 10." );
                     break;
                 default:
                     throw new IllegalArgumentException( "Unknown errorId=" + errorId );