Skip to content

Commit 97de002

Browse files
authored
fix: Executable JAR: Include project version in final name (iluwatar#3090)
1 parent 82e30ab commit 97de002

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,8 @@
318318
<descriptorRefs>
319319
<descriptorRef>jar-with-dependencies</descriptorRef>
320320
</descriptorRefs>
321-
<!-- below two line make sure the fat jar is sharing the same name
322-
as of project name -->
323-
<finalName>${project.artifactId}</finalName>
321+
<!-- below two line make sure the fat jar is sharing the same name as of project name -->
322+
<finalName>${project.artifactId}-${project.version}</finalName>
324323
<appendAssemblyId>false</appendAssemblyId>
325324
</configuration>
326325
</execution>

0 commit comments

Comments
 (0)