Maven documentation讨论的是一个称为project.build.finalName
的属性,但是我无法根据pom.xml
中的其他值找到该值的定义。
在project.build.finalName
中没有覆盖属性定义的情况下,如何计算pom.xml
的值?
最佳答案
谷歌...
查看Maven POM引用: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.
关于maven - project.build.finalName的值是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20859734/