maven and RPM

本文介绍Maven作为项目管理工具的应用,并详细讲解了如何使用RPM进行软件包的安装、卸载及查看已安装的软件包。此外,还介绍了如何在Maven的pom.xml中指定RPM spec文件的内容。

1. maven

 

项目管理工具,参考 http://www.ibm.com/developerworks/cn/java/j-maven/

 

2. RPM

 

删除: rpm -e

安装: rpm -i

查看: rpm -qa

 

spec文件:

参考 http://www.ibm.com/developerworks/cn/java/j-maven/

 

可以在maven的pom.xml指定产生的RPM的spec文件内容, 例如:

 

 

产生的spec文件如下:

 

 

E:\proj\jenkings\jenkins-plugin-manager>java -jar "E:\proj\jenkings\jenkins-plugin-manager\jenkins-plugin-manager-2.13.2.jar" --verbose --output-directory "E:\proj\jenkings\jenkins-plugin-manager\output" --plugin-file "E:\proj\jenkings\jenkins-plugin-manager\plugins.txt" --available-updates : Show available plugin updates for the requested plugins (default: false) --clean-download-directory : If set, cleans the plugin download directory before plugin installation. Otherwise the tool performs plugin download and reports compatibility issues, if any. (default: false) --credentials <CREDENTIALS,CREDENTIALS,...> : Comma-separated list of credentials in format '<host>[:port]:<username>:<password>'. The password must not contain space or ',' --hide-security-warnings : Hide if any security warnings exist for the requested plugins (default: false) --jenkins-experimental-update-center URL : Sets experimental update center; will override JENKINS_UC_EXPERIMENTAL environment variable. If not set via CLI option or environment variable, will default to https://updates.jenkins.io/experimental/upd ate-center.json --jenkins-incrementals-repo-mirror URL : Set Maven mirror to be used to download plugins from the Incrementals repository, will override the JENKINS_INCREMENTALS_REPO_MIRROR environment variable. If not set via CLI option or environment variable, will default to https://repo.jenkins-ci.org/incrementals --jenkins-plugin-info URL : Sets the location of plugin information; will override JENKINS_PLUGIN_INFO environment variable. If not set via CLI option or envir
最新发布
03-18
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值