[Arakhnę-Dev] [335] * Remove warning output in tag-replace plugin.

[ Thread Index | Date Index | More arakhne.org/dev Archives ]


Revision: 335
Author:   galland
Date:     2012-04-03 17:16:29 +0200 (Tue, 03 Apr 2012)
Log Message:
-----------
* Remove warning output in tag-replace plugin.

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	2012-03-24 12:45:32 UTC (rev 334)
+++ trunk/tag-replacer/src/main/java/org/arakhne/maven/plugins/tagreplacer/AbstractReplaceMojo.java	2012-04-03 15:16:29 UTC (rev 335)
@@ -403,7 +403,7 @@
 	 * @return the result of the replacement
 	 */
 	protected final String replaceMacro(String macroName, String text, String replacement, ReplacementType type, File sourceFile, int sourceLine) {
-		return replaceMacro(macroName, text, replacement, type, true, sourceFile, sourceLine);
+		return replaceMacro(macroName, text, replacement, type, false, sourceFile, sourceLine);
 	}
 
 	/**
@@ -589,8 +589,8 @@
 		nline = replaceMacro(MACRO_VERSION, nline, replacementVersion, replacementType, sourceFile, sourceLine);
 		nline = replaceMacro(MACRO_ARTIFACTID, nline, replacementArtifactId, replacementType, sourceFile, sourceLine);
 		nline = replaceMacro(MACRO_GROUPID, nline, replacementGroupId, replacementType, sourceFile, sourceLine);
-		nline = replaceMacro(MACRO_WEBSITE, nline, replacementWebsite, replacementType, false, sourceFile, sourceLine);
-		nline = replaceMacro(MACRO_ORGANIZATION, nline, replacementOrganization, replacementType, false, sourceFile, sourceLine);
+		nline = replaceMacro(MACRO_WEBSITE, nline, replacementWebsite, replacementType, sourceFile, sourceLine);
+		nline = replaceMacro(MACRO_ORGANIZATION, nline, replacementOrganization, replacementType, sourceFile, sourceLine);
 		nline = replaceMacro(MACRO_DATE, nline, currentDate, replacementType, sourceFile, sourceLine);
 		nline = replaceMacro(MACRO_FULLVERSION, nline, replacementFullVersion, replacementType, sourceFile, sourceLine);
 		nline = replaceMacro(MACRO_FILENAME, nline, replacementFilename, replacementType, sourceFile, sourceLine);


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/