Openstack Two-time development: Compiling OPENSTACK-JAVA-SDK in a Windows environment

Source: Internet
Author: User
Tags gnupg

Compiling OPENSTACK-JAVA-SDK using MAVEN in a Windows environment

Compiling source FilesDownload Source code

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

Download and install Gpg4win http://ftp.gpg4win.org/

The download for this process is Gpg4win-2.2.2.exe

Configuring GPGView
F:\GITHUB\OPENSTACK-JAVA-SDK>GPG--list-keygpg:c:/users/eric.sunah/appdata/roaming/gnupg/trustdb.gpg:trustdb Created


F:\github\openstack-java-sdk>gpg--list-key display is empty because no previous gpgkey has been created

Create GPG Key
F:\GITHUB\OPENSTACK-JAVA-SDK&GT;GPG--list-keyplease Select Whatkind of key you want: (1) Rsaand RSA (default) (2) DSA    and Elgamal (3) DSA (sign only) (4) RSA (sign only) yourselection? ========================= "Enter RSA keys may bebetween and 4096 bits long. What keysize do youwant? (2048)        Requested KeySize is2048 Bitsplease 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 = Ke Y expires in n months <n>y = key expires in n Yearskey isvalid for? (0) ==========================> "Enter key does not expireat Allis this correct?" (y/n) =========================== "y you need a user idto identify your key; The software constructs the user idfrom the Real name,comment and Email Address in this form: "Heinrich Heine (Der Dicht ER) <[email protected]> "Real Name:vipzrxemail address:[email protected]comment:vipzrx-commentyou SelectedThisuser-id: "Vipzrx (vipzrx-comment) <[email protected]>" Change (N) AME, (C) omment, (E) mail or (O) kay/(Q) Uit?

======================== "Oyou need apassphrase to protect your secret key.=========================================== ========================= here enter Passwordwe need to Generatea lot of random bytes. It's a good idea to perform will take a very long time some other action (type on the keyboard, move the mouse, utilize thedisks) during th Eprime generation; This gives the random numbergenerator a betterchance to gain enough entropy. Not enough randombytes available. Some other givethe OS a chance tocollect more entropy! (Need 268 more bytes) +++++....+++++we need to Generatea lot of random bytes. It's a good idea to performsome other action (type on the keyboard, move the mouse, utilize thedisks) during Theprime gene ration; 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) <[email protected]>sub 2048r/41a14e5 5 2013-11-28


Validation

Is the GPG key created successfully?

F:\github\openstack-java-sdk>gpg--list-key  GPG--list-keyc:/users/eric.sunah/appdata/roaming/gnupg/ PUBRING.GPG---------------------------Pub  2048r/acd99a24 2013-11-28uid                 vipzrx (vipzrx-comment) <[email Protected]>sub  2048r/41a14e55 2013-11-28


compiling source code

F:\GITHUB\OPENSTACK-JAVA-SDK>MVN Install

During compilation, you will be prompted to enter GPG password, and the data will continue to compile after password. Until it succeeds.

Openstack Two-time development: Compiling OPENSTACK-JAVA-SDK in a Windows environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.