简体   繁体   English

具有Maven依赖关系的Google Plus Java Cli Starter导出jar

[英]Google Plus Java Cli Starter export jar with Maven Dependencies

I wrote an Application-Project in java and now i want to import the google plus java starter project( https://code.google.com/p/google-plus-java-starter/)(slightly modified) to this Project. 我用Java编写了一个Application-Project,现在我想将google plus java入门项目( https://code.google.com/p/google-plus-java-starter/ )(稍作修改)导入到该项目中。 If i run it in eclipse all works fine, but if i export that project als runnable jar file all methods concerning this google plus java starter project are not able to run. 如果我在eclipse中运行它,一切正常,但是如果我导出该项目ALS可运行的jar文件,则与该Google Plus Java Starter项目有关的所有方法均无法运行。 I thinkt this has to do with the maven dependencies, but i don't know how to solve this problem. 我认为这与Maven依赖关系有关,但我不知道如何解决此问题。

The CLI starter is old, you should use the latest Google+ API samples from the GitHub page: CLI入门版本很旧,您应该使用GitHub页面上的最新Google+ API示例:

https://github.com/googleplus https://github.com/googleplus

Additional instructions for building and running the samples are available from the Google+ developer site: 您可以从Google+开发者网站上获取有关构建和运行示例的其他说明:

https://developers.google.com/+/quickstart https://developers.google.com/+/quickstart

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM