maven - project.build.finalName的值是什么?

标签 maven

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/

相关文章:

eclipse - 使用 Eclipse 安装 Maven 插件

mysql - 由于数据库访问凭据错误,Spring Boot War打包失败

maven - 替换 Maven 3 中的 plexus 组件

java - 如何使用 eclipse 在 appEngine 上运行 google test-analytics 项目

maven - 如何将闭源库发布到jCenter?

maven - spring 集成测试无法加载上下文 "Another resource already exists with name dataSource"

java - 如何使用maven配置文件和覆盖层来构建和打包多个指定项目?

maven - 如何在不将执行附加到 maven 阶段的情况下调用 maven-antrun-plugin 目标?

maven - 安装primefaces所有主题后,“artifactory”服务器上缺少jar