2024-05-15 12:00:12 发布
网友
rpm maven插件生成隐式预编译文件。我不需要这个文件和这个新文件停止我的rpm生成,因为这些文件在我的rpm规范中不是自动的。 灵魂 https://www.redhat.com/archives/rpm-list/2007-November/msg00020.html 别在我的专业背景下帮我!在
解决方案是在pom.xml文件公司名称:
<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>rpm-maven-plugin</artifactId> <version>2.1-alpha-1</version> <extensions>true</extensions> <configuration> <name>${project.name}</name> <version>1.1</version> <release>111</release> <distribution>Red Hat 6.2 Enterprise Server</distribution> <group>Application/Media</group> <defineStatements> <defineStatement>__os_install_post /usr/lib/rpm/redhat/brp-compress %{!?__debug_package: /usr/lib/rpm/redhat/brp-strip %{__strip} /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} } /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} /usr/lib/rpm/redhat/brp-python-hardlink </defineStatement> </defineStatements>
原始宏是:
我的解决方案是使用以下方法:
<defineStatements> <defineStatement>_unpackaged_files_terminate_build 0</defineStatement> </defineStatements>
更改后,我现在得到一个关于“找到已安装(但未打包)文件”的警告,而不是一个错误,我的构建继续进行。在
解决方案是在pom.xml文件公司名称:
原始宏是:
^{pr2}$我的解决方案是使用以下方法:
更改后,我现在得到一个关于“找到已安装(但未打包)文件”的警告,而不是一个错误,我的构建继续进行。在
相关问题 更多 >
编程相关推荐