You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/01/06 02:11:25 UTC
[maven-plugin-tools] branch master updated: [MPLUGIN-326] remove
timestamp in generated descriptor
This is an automated email from the ASF dual-hosted git repository.
hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git
The following commit(s) were added to refs/heads/master by this push:
new 2cf98d7 [MPLUGIN-326] remove timestamp in generated descriptor
2cf98d7 is described below
commit 2cf98d78f9be8938dbee8ea055a293b1f9587f8c
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Sat Jan 6 03:11:24 2018 +0100
[MPLUGIN-326] remove timestamp in generated descriptor
---
.../maven/tools/plugin/generator/PluginDescriptorGenerator.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java
index 67e55db..3278f0f 100644
--- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java
+++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginDescriptorGenerator.java
@@ -24,8 +24,6 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
-import java.text.SimpleDateFormat;
-import java.util.Date;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
@@ -129,8 +127,7 @@ public class PluginDescriptorGenerator
XMLWriter w = new PrettyPrintXMLWriter( writer, encoding, null );
- w.writeMarkup( "\n<!-- Generated by maven-plugin-tools " + getVersion() + " on " + new SimpleDateFormat(
- "yyyy-MM-dd" ).format( new Date() ) + " -->\n\n" );
+ w.writeMarkup( "\n<!-- Generated by maven-plugin-tools " + getVersion() + " -->\n\n" );
w.startElement( "plugin" );
--
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].