What is the value of project.build.finalName?

Google that…
Look at the Maven POM reference: http://maven.apache.org/pom.html#BaseBuild_Element

finalName: This is the name of the bundled project when it is finally
built (sans the file extension, for example: my-project-1.0.jar). It
defaults to ${artifactId}-${version}. The term “finalName” is kind of
a misnomer, however, as plugins that build the bundled project have
every right to ignore/modify this name (but they usually do not). For
example, if the maven-jar-plugin is configured to give a jar a
classifier of test, then the actual jar defined above will be built as
my-project-1.0-test.jar.

Leave a Comment