标签: maven rpm-maven-plugin
在外部postinstallScriptlet中,如下所示,是否有办法访问maven属性,例如${project.artifactId}? pom.xml文件包含以下代码段:
postinstallScriptlet
${project.artifactId}
<postinstallScriptlet> <scriptFile>scripts/postinstall.sh</scriptFile> <fileEncoding>utf-8</fileEncoding> </postinstallScriptlet>