fix: Executable JAR: Include project version in final name (#3090)

This commit is contained in:
Patrick Kleindienst authored and GitHub committed 2024-11-15 21:04:25 +02:00
1 parent 82e30ab717
commit 97de002348
1 file changed
+2 -3
+2 -3
View File
@@ -318,9 +318,8 @@
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
<!-- below two line make sure the fat jar is sharing the same name <!-- below two line make sure the fat jar is sharing the same name as of project name -->
as of project name --> <finalName>${project.artifactId}-${project.version}</finalName>
<finalName>${project.artifactId}</finalName>
<appendAssemblyId>false</appendAssemblyId> <appendAssemblyId>false</appendAssemblyId>
</configuration> </configuration>
</execution> </execution>