[Arakhnę-Dev] [321] * Replace exception throwing by Maven warning |
[ Thread Index |
Date Index
| More arakhne.org/dev Archives
]
Revision: 321
Author: galland
Date: 2011-12-26 13:35:42 +0100 (Mon, 26 Dec 2011)
Log Message:
-----------
* Replace exception throwing by Maven warning
Modified Paths:
--------------
trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java
Modified: trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java
===================================================================
--- trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java 2011-12-17 12:29:18 UTC (rev 320)
+++ trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java 2011-12-26 12:35:42 UTC (rev 321)
@@ -499,9 +499,6 @@
sourceFile.getName()
+":"+sourceLine //$NON-NLS-1$
+": unable to find a developer or a contributor with an id, a name or an email equal to: " + login; //$NON-NLS-1$
- if (getLog().isDebugEnabled()) {
- throw new MojoExecutionException(msg);
- }
getLog().warn(msg);
}
}
@@ -513,9 +510,6 @@
String msg = sourceFile.getName()
+":"+sourceLine //$NON-NLS-1$
+": no login for Author tag: " + m.group(0); //$NON-NLS-1$
- if (getLog().isDebugEnabled()) {
- throw new MojoExecutionException(msg);
- }
getLog().warn(msg);
}
}
@@ -523,9 +517,6 @@
String msg = sourceFile.getName()
+":"+sourceLine //$NON-NLS-1$
+": no login for Author tag: " + m.group(0); //$NON-NLS-1$
- if (getLog().isDebugEnabled()) {
- throw new MojoExecutionException(msg);
- }
getLog().warn(msg);
}
hasResult = m.find();