Skip to content

Commit d917015

Browse files
committed
Include project version in final name
1 parent 8bd3175 commit d917015

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
@@ -317,9 +317,8 @@
317317
<descriptorRefs>
318318
<descriptorRef>jar-with-dependencies</descriptorRef>
319319
</descriptorRefs>
320-
<!-- below two line make sure the fat jar is sharing the same name
321-
as of project name -->
322-
<finalName>${project.artifactId}</finalName>
320+
<!-- below two line make sure the fat jar is sharing the same name as of project name -->
321+
<finalName>${project.artifactId}-${project.version}</finalName>
323322
<appendAssemblyId>false</appendAssemblyId>
324323
</configuration>
325324
</execution>

0 commit comments

Comments
 (0)