diff --git a/metrix-integration/pom.xml b/metrix-integration/pom.xml
index 9cd1667fa..ef971529d 100644
--- a/metrix-integration/pom.xml
+++ b/metrix-integration/pom.xml
@@ -17,6 +17,14 @@
org.codehaus.gmavenplus
gmavenplus-plugin
+
+ org.codehaus.mojo
+ templating-maven-plugin
+
+
+ org.codehaus.mojo
+ buildnumber-maven-plugin
+
diff --git a/metrix-integration/src/main/java-templates/com/powsybl/metrix/tools/PowsyblMetrixVersion.java b/metrix-integration/src/main/java-templates/com/powsybl/metrix/tools/PowsyblMetrixVersion.java
new file mode 100644
index 000000000..854cb7581
--- /dev/null
+++ b/metrix-integration/src/main/java-templates/com/powsybl/metrix/tools/PowsyblMetrixVersion.java
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2021, RTE (http://www.rte-france.com)
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ */
+package com.powsybl.metrix.tools;
+
+import com.google.auto.service.AutoService;
+import com.powsybl.tools.AbstractVersion;
+import com.powsybl.tools.Version;
+
+@AutoService(Version.class)
+public class PowsyblMetrixVersion extends AbstractVersion {
+
+ public PowsyblMetrixVersion() {
+ super("powsybl-metrix", "${project.version}", "${buildNumber}", "${scmBranch}", Long.parseLong("${timestamp}"));
+ }
+}