张思许Snow
思寒老师好,我参考你的博客 https://blog.csdn.net/itfootball/article/details/37910683 下载了Appium android bootstrap的源码后,导入eclipse后,Pom.xml显示Missing artifact android.test.uiautomator:uiautomator:jar:4.4.2_r4, 然后我Run As Maven build,报错信息如下:
[WARNING] Some problems were encountered while building the effective model for io.appium.android:bootstrap:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 31, column 21
[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] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.641 s
[INFO] Finished at: 2019-10-29T04:21:45-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [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.
Maven的镜像库改为阿里的了,build后,根据settings文件的localRepository的位置,没有找到下载下来的jar包,希望老师解答一下,谢谢。
作者回复: 这不是我的博客,是testerhome社区的doctorq同学的。bootstrap这个项目官方已经不维护了,推荐去关注我视频里提到的 uiautomator2-server那个项目,那个项目是gradle构建的