Maven mvn Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alp ha-2:read-project-properties

发布于 2021-12-03 07:49:16 字数 5214 浏览 822 评论 1

我进入到 D:AndroidInstallmaven-android-sdk-deployer-master 这个目录,

执行 mvn install 

或 mvn clean install 就抛出如下错误,折腾几天了,没有搞定,请教高手指点迷津, 谢谢!

[INFO]

[INFO] ------------------------------------------------------------------------
[INFO] Building Android Google Play Licensing Extra 2.7.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ play-licensing ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ play-licensing
---
[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default)
 @ play-licensing ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Maven Android SDK Deployer ........................ SUCCESS [4.148s]
[INFO] Repositories ...................................... SUCCESS [0.013s]
[INFO] Google M2Repository ............................... SUCCESS [11.132s]
[INFO] Android M2Repository .............................. SUCCESS [26.617s]
[INFO] Android Extras .................................... SUCCESS [2.560s]
[INFO] Android Compatibility Extra V4 .................... SUCCESS [24.048s]
[INFO] Android Compatibility Extra V7 Gridlayout Library . SUCCESS [49.136s]
[INFO] Android Compatibility Extra V7 AppCompat Library .. SUCCESS [13.334s]
[INFO] Android Compatibility Extra V13 ................... SUCCESS [2.792s]
[INFO] Android Google Play Services Extra ................ SUCCESS [35.465s]
[INFO] Android Google Play Licensing Extra ............... FAILURE [0.074s]
[INFO] Android Extras - Apk Expansion .................... SKIPPED
[INFO] Android Google Play APK Expansion Extra - ZIP ..... SKIPPED
[INFO] Android Google Play APK Expansion Extra - Downloader  SKIPPED
[INFO] Android MultiDex .................................. SKIPPED
[INFO] Android Platforms ................................. SKIPPED
[INFO] Android Platform 2.2 API 8 ........................ SKIPPED
[INFO] Android Platform 2.3.3 API 10 ..................... SKIPPED
[INFO] Android Platform 4.0.3 API 15 ..................... SKIPPED
[INFO] Android Platform 4.1 API 16 ....................... SKIPPED
[INFO] Android Platform 4.2 API 17 ....................... SKIPPED
[INFO] Android Platform 4.3 API 18 ....................... SKIPPED
[INFO] Android Platform 4.4 API 19 ....................... SKIPPED
[INFO] Android Platform 4.4W API 20 ...................... SKIPPED
[INFO] Android Platform 5.0 API 21 ....................... SKIPPED
[INFO] Android Platform 5.1 API 22 ....................... SKIPPED
[INFO] Android Platform MNC API 23 ....................... SKIPPED
[INFO] Android Add-Ons ................................... SKIPPED
[INFO] Android Add-On Google Platform 2.2 API 8 (Maps) ... SKIPPED
[INFO] Android Add-On Google Platform 2.3.3 API 10 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 4.0.3 API 15 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 4.1 API 16 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 4.2 API 17 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 4.3 API 18 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 4.4 API 19 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 5.0 API 21 (Maps and USB)  SKIPPED
[INFO] Android Add-On Google Platform 5.1 API 22 (Maps and USB)  SKIPPED
[INFO] Google Glass Development Kit (GDK) API 19 ......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:56.762s
[INFO] Finished at: Thu Aug 06 15:27:03 CST 2015
[INFO] Final Memory: 35M/82M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alp
ha-2:read-project-properties (default) on project play-licensing: Properties fil
e not found: D:AndroidInstallandroid_sdkextrasgoogleplay_licensingsource.p
roperties -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


[ERROR]   mvn <goals> -rf :play-licensing
D:AndroidInstallmaven-android-sdk-deployer-master>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

猫九 2021-12-08 00:33:18

1.首先找到文件对应位置,查看propeties文件是否存在,如果存在.

2.查看pom.xml配置文件对应地址是否和properties文件所在地址是否一致

3.参考https://blog.csdn.net/leechy/article/details/7999527该文章,修改pom.xml的配置

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文