update version get for pom
This commit is contained in:
parent
979c2bd6e1
commit
678fc8a5f7
@ -11,7 +11,7 @@ public class VersionUtils {
|
||||
|
||||
public static String VERSION;
|
||||
/**获取当前version*/
|
||||
public static final String VERSION_DEFAULT = "${pom.version}";
|
||||
public static final String VERSION_DEFAULT = "${project.version}";
|
||||
|
||||
|
||||
static{
|
||||
|
@ -1 +1 @@
|
||||
${pom.version}
|
||||
${project.version}
|
||||
|
@ -121,6 +121,13 @@
|
||||
<exclude>static/console-fe/.vscode/**</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>nacos-version.txt</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
</project>
|
||||
|
@ -1 +1 @@
|
||||
version=${pom.version}
|
||||
version=${project.version}
|
||||
|
Loading…
Reference in New Issue
Block a user