Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk

Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk

大家好,又见面了,我是全栈君。

在windows环境下使用maven对openstack-java-sdk进行编译

编译源文件

下载源代码

git clonehttps://github.com/woorea/openstack-java-sdk.git

 

下载并安装gpg4win http://ftp.gpg4win.org/

本次过程中下载的是gpg4win-2.2.2.exe

配置gpg

查看

F:\github\openstack-java-sdk>gpg --list-key

gpg:C:/Users/Eric.sunah/AppData/Roaming/gnupg/trustdb.gpg: trustdb created

F:\github\openstack-java-sdk>gpg–list-key  显示为空,由于之前没有创建过gpgkey

 

创建gpg key

F:\github\openstack-java-sdk>gpg --list-key

Please select whatkind of key you want:

   (1) RSAand RSA (default)

   (2) DSAand Elgamal

   (3) DSA(sign only)

   (4) RSA(sign only)

Yourselection?    =========================》                回车

RSA keys may bebetween 1024 and 4096 bits long.

What keysize do youwant? (2048)

Requested keysize is2048 bits

Please specify howlong the key should be valid.

        0 = key does not expire

     <n>  = key expires in n days

     <n>w = key expires in n weeks

     <n>m = key expires in n months

     <n>y = key expires in n years

Key isvalid for? (0) ==========================>》回车

Key does not expireat all

Is this correct?(y/N) ===========================》 y

 

You need a user IDto identify your key; the software constructs the user ID

from the Real Name,Comment and Email Address in this form:

   "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>"

 

Real name: vipzrx

Email address:vipzrx@gmail.com

Comment:vipzrx-comment

You selected thisUSER-ID:

   "vipzrx (vipzrx-comment) <vipzrx@gmail.com>"

 

Change (N)ame,(C)omment, (E)mail or (O)kay/(Q)uit?

========================》 oYou need aPassphrase to protect your secret key.====================================================================》这里输入passwordWe need to generatea lot of random bytes. It is a good idea to perform会须要非常长非常长时间some other action(type on the keyboard, move the mouse, utilize thedisks) during theprime generation; this gives the random numbergenerator a betterchance to gain enough entropy. Not enough randombytes available. Please do some other work to givethe OS a chance tocollect more entropy! (Need 268 more bytes)+++++....+++++We need to generatea lot of random bytes. It is a good idea to performsome other action(type on the keyboard, move the mouse, utilize thedisks) during theprime generation; this gives the random numbergenerator a betterchance to gain enough entropy. gpg: key ACD99A24marked as ultimately trustedpublic and secretkey created and signed. gpg: checking thetrustdbgpg: 3 marginal(s)needed, 1 complete(s) needed, PGP trust modelgpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m,0f, 1upub 2048R/ACD99A24 2013-11-28 Key fingerprint = 601E E55C 7B9D 9E3C 4A9F 64AA 12FF A237 ACD9 9A24uid vipzrx (vipzrx-comment) <vipzrx@gmail.com>sub 2048R/41A14E55 2013-11-28

验证

创建gpg key是否成功?

F:\github\openstack-java-sdk>gpg--list-key  gpg --list-key

C:/Users/Eric.sunah/AppData/Roaming/gnupg/pubring.gpg

---------------------------

pub  2048R/ACD99A24 2013-11-28

uid                 vipzrx (vipzrx-comment) <vipzrx@gmail.com>

sub  2048R/41A14E55 2013-11-28

编译源代码

F:\github\openstack-java-sdk>mvn install

在编译的过程中会提示让你输入gpg的password,数据password后会继续编译。直到成功

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/115717.html原文链接:https://javaforall.net

(0)
上一篇 2022年1月31日 下午4:00
下一篇 2022年1月31日 下午4:00


相关推荐

  • 函数模版特化(类模板的实例化在什么阶段)

    本文转自:https://www.cnblogs.com/dracohan/p/3401660.html 转来收藏以便查阅,感谢原作者今天在写代码时,遇到了模板和特化,在网上找了资料后问题呗一一解决,转载此文用于以后查阅,感谢原创者。其中增加了我自己的总结:特化函数与模板函数的区别:(1)、模板函数的T参数只能传入类类型的参数;特化函数的参数只能传入对应的参数类型,基本类型或类类型。…

    2022年4月17日
    66
  • ASP Session 对象

    ASP Session 对象Session对象用于存储关于某个用户会话(session)的信息,或者修改相关的设置。存储在session对象中的变量掌握着单一用户的信息,同时这些信息对于页面中的所有页面都是可用的。实例设置并返回LCID本例演示”LCID”属性。此属性设置并返回一个指明位置或者地区的整数。类似于日期、时间以及货币等内容都要根据位置或者地区来显示。返回SessionID本例演示”Ses

    2022年7月25日
    6
  • jupyter跟python的关系_jupyter python

    jupyter跟python的关系_jupyter python大家好,我是时间财富网智能客服时间君,上述问题将由我为大家进行解答。jupyter和pycharm区别如下:1、Python是一种广泛使用的高级的、通用的、解释的、动态编程语言。”Python是一种相当古老且流行的语言,它是开源的,常被应用于网站开发(利用Django、Flask等框架)、科学统计计算(NumPy、SciPy等库可以帮助计算)、软件开发等甚至更多。Jupyter项目开…

    2022年8月28日
    4
  • 解决定时器关闭不掉的问题,clearInterval无效

    解决定时器关闭不掉的问题,clearInterval无效1.环境问题,this.interVal是我定义的定时器如直接写clearInterval(this.interVal);不好用,需要换成window.clearInterval(this.interVal);2.关闭指令执行的定时器源头问题,如开启了多个定时器,再去清除定时器是无效的,因为无法定位到想清除的定时器上。解决办法,将定时器归一每次开启定时器时,判断一下定时器是否存在,这样万无一失。开启:if(!this.interVal){this.interVal=

    2025年8月14日
    5
  • DeepSeek快速制作PPT的4种高效方法

    DeepSeek快速制作PPT的4种高效方法

    2026年3月16日
    2
  • 【愚公系列】《Manus极简入门》046-旅行规划专家:“旅途织梦师”

    【愚公系列】《Manus极简入门》046-旅行规划专家:“旅途织梦师”

    2026年3月15日
    3

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号