INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
com.woorea:openstack-java-sdk:pom:3.2.2-SNAPSHOT
[WARNING] 'parent.relativePath' points at com.woorea:openstack-java-sdk instead of
org.sonatype.oss:oss-parent, please verify your project structure @ line 14, column 10
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of
your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such
malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenStack Java SDK 3.2.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ openstack-java-sdk ---
[INFO]
[INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ openstack-java-sdk ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.640s
[INFO] Finished at: Wed Mar 05 16:42:35 CST 2014
[INFO] Final Memory: 5M/15M
[INFO] ------------------------------------------------------------------------
[ERROR]
Failed to execute goal org.apache.maven.plugins:maven-gpg-plugin:1.4:sign (sign-
artifacts) on project openstack-java-sdk: Cannot obtain passphrase in batch mode -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
以上这个问题,网上已有相关帖子:
具体问题可以详细的看看Gnu 的GPG 的文档
GPG下载地址
http://ftp.gpg4win.org/
GnuPG is the GNU project's complete and free implementation of the OpenPGP standard as defined by RFC4880. GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications. A wealth of frontend applications and libraries are available. Version 2 of GnuPG also provides support for S/MIME.
GnuPG
(简称
GPG
,来自
http://www.gnupg.org
)是
PGP
(
Pretty Good Privacy
)标准的一个免费实现,无论类
UNIX
平台还是
Windows
平台都可使用它。
GPG
能帮助我们为文件生成签名、管理密钥以及验证签名等。
如果想偷懒,可以下载这个资源
http://download.csdn.net/detail/shatelang/6996959是编译好的openstack-java-sdk,相应的jar文件在每个模块的target目录下