MojoExecutionException:使用Maven部署到APIGEE时出现NullPointerException

时间:2015-02-19 07:00:05

标签: maven deployment apigee

我正在尝试使用Maven将代码部署到APIGEE。

在尝试在Github的APIGEE页面上提供的示例时,我收到了此回复 -

~~~~~~

=============Now zipping the App Bundle================


[INFO]
[INFO] <<< apigee-edge-maven-plugin:1.0.0:deploy (deploy-bundle) < package @ for
ecastweatherapi <<<
[INFO]
[INFO] --- apigee-edge-maven-plugin:1.0.0:deploy (deploy-bundle) @ forecastweath
erapi ---
[INFO]

=============Initializing Maven Deployment================


[INFO]

=============Importing App================


[ERROR]


* * * * * * * * * * *

This deployment could have failed for a variety of reasons.



* * * * * * * * * * *



[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.171 s
[INFO] Finished at: 2015-02-19T12:12:36+05:30
[INFO] Final Memory: 7M/18M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.apigee.build-tools.enterprise4g:apigee-edge-ma
ven-plugin:1.0.0:deploy (deploy-bundle) on project forecastweatherapi: MojoExecu
tionException: NullPointerException -> [Help 1]

我如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

我认为您缺少身份验证信息 - 运行pom文件时。