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

Source: Internet
Author: User
Tags gnupg gpg

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 is displayed as empty because Gpgkey has not been created before

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 the password we need to Generatea lot of random bytes. It's a good idea to perform will take a long long time some other action (type on the keyboard, move the mouse, utilize thedisks) during Thep Rime 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 A 237 ACD9 9a24uid Vipzrx (vipzrx-comment) <[email protected]>sub 2048r/41a14e55 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

In the process of compiling will prompt you to enter the GPG password, the data password will continue to compile until the success

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.