diff --git a/.gitignore b/.gitignore
index fd197857..3ce96272 100644
--- a/.gitignore
+++ b/.gitignore
@@ -128,4 +128,6 @@ fabric.properties
/purpur/
/server
-buildtool/
\ No newline at end of file
+buildtool/
+
+.flattened-pom.xml
\ No newline at end of file
diff --git a/fakeplayer-api/pom.xml b/fakeplayer-api/pom.xml
index 66ec7e98..149c2b3e 100644
--- a/fakeplayer-api/pom.xml
+++ b/fakeplayer-api/pom.xml
@@ -6,7 +6,7 @@
io.github.hello09x.fakeplayer
fakeplayer-parent
- 1.0.0
+ ${revision}
fakeplayer-api
diff --git a/fakeplayer-core/pom.xml b/fakeplayer-core/pom.xml
index 804c5c91..1f92cfca 100644
--- a/fakeplayer-core/pom.xml
+++ b/fakeplayer-core/pom.xml
@@ -6,7 +6,7 @@
io.github.hello09x.fakeplayer
fakeplayer-parent
- 1.0.0
+ ${revision}
fakeplayer-core
diff --git a/fakeplayer-core/src/main/resources/plugin.yml b/fakeplayer-core/src/main/resources/plugin.yml
index 87083846..86cc8bd4 100644
--- a/fakeplayer-core/src/main/resources/plugin.yml
+++ b/fakeplayer-core/src/main/resources/plugin.yml
@@ -1,5 +1,5 @@
name: fakeplayer
-version: '${plugin.version}'
+version: '${revision}'
main: io.github.hello09x.fakeplayer.core.Main
api-version: '1.20'
author: hello09x
diff --git a/fakeplayer-dist/pom.xml b/fakeplayer-dist/pom.xml
index 0942dc39..73bcf95b 100644
--- a/fakeplayer-dist/pom.xml
+++ b/fakeplayer-dist/pom.xml
@@ -6,7 +6,7 @@
io.github.hello09x.fakeplayer
fakeplayer-parent
- 1.0.0
+ ${revision}
fakeplayer-dist
@@ -38,7 +38,7 @@
../target
- fakeplayer-${plugin.version}
+ fakeplayer-${revision}
org.apache.maven.plugins
@@ -75,7 +75,7 @@
-
+
diff --git a/fakeplayer-v1_21_R1/pom.xml b/fakeplayer-v1_21_R1/pom.xml
index dd08aaf9..a5412f99 100644
--- a/fakeplayer-v1_21_R1/pom.xml
+++ b/fakeplayer-v1_21_R1/pom.xml
@@ -6,7 +6,7 @@
io.github.hello09x.fakeplayer
fakeplayer-parent
- 1.0.0
+ ${revision}
fakeplayer-v1_21_R1
@@ -54,6 +54,31 @@
+
+ org.codehaus.mojo
+ flatten-maven-plugin
+ 1.6.0
+
+ true
+ resolveCiFriendliesOnly
+
+
+
+ flatten
+ process-resources
+
+ flatten
+
+
+
+ flatten.clean
+ clean
+
+ clean
+
+
+
+
net.md-5
specialsource-maven-plugin
diff --git a/pom.xml b/pom.xml
index f2eb0f04..b3318159 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
io.github.hello09x.fakeplayer
fakeplayer-parent
- 1.0.0
+ ${revision}
pom
fakeplayer-parent
@@ -20,7 +20,7 @@
21
UTF-8
- 0.3.2
+ 0.3.3
@@ -85,19 +85,19 @@
io.github.hello09x.fakeplayer
fakeplayer-api
- ${project.version}
+ ${revision}
io.github.hello09x.fakeplayer
fakeplayer-core
- ${project.version}
+ ${revision}
io.github.hello09x.fakeplayer
fakeplayer-v1_21_R1
- ${project.version}
+ ${revision}