Skip to content

Commit 6005c67

Browse files
authored
log lib version (#115)
Signed-off-by: Etienne LESOT <[email protected]>
1 parent a36b058 commit 6005c67

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@
6565
<groupId>org.apache.maven.plugins</groupId>
6666
<artifactId>maven-failsafe-plugin</artifactId>
6767
</plugin>
68+
<plugin>
69+
<groupId>org.codehaus.mojo</groupId>
70+
<artifactId>templating-maven-plugin</artifactId>
71+
</plugin>
72+
<plugin>
73+
<groupId>org.codehaus.mojo</groupId>
74+
<artifactId>buildnumber-maven-plugin</artifactId>
75+
</plugin>
6876
</plugins>
6977
</build>
7078

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/**
2+
* Copyright (c) 2025, RTE (http://www.rte-france.com)
3+
* This Source Code Form is subject to the terms of the Mozilla Public
4+
* License, v. 2.0. If a copy of the MPL was not distributed with this
5+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6+
*/
7+
package org.gridsuite.modification;
8+
9+
import com.google.auto.service.AutoService;
10+
import com.powsybl.tools.AbstractVersion;
11+
import com.powsybl.tools.Version;
12+
13+
/**
14+
* @author Etienne Lesot <etienne.lesot at rte-france.com>
15+
*/
16+
@AutoService(Version.class)
17+
public class ModificationVersion extends AbstractVersion {
18+
19+
public ModificationVersion() {
20+
super("network-modification", "${project.version}", "${buildNumber}", "${scmBranch}", Long.parseLong("${timestamp}"));
21+
}
22+
}

0 commit comments

Comments
 (0)