Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Accessing Google APIs from plugins?
Accessing Google APIs from plugins? [message #1515368] Thu, 18 December 2014 03:12 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I am planning some plugins to access Google APIs, but having Google libraries in each plugin seems problematic. Is anyone already working on such a plugin?

Kaz Nishimura
Re: Accessing Google APIs from plugins? [message #1515389 is a reply to message #1515368] Thu, 18 December 2014 03:35 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
There is a plugin called "groovy_support" which includes groovy libraries. Several other plugins that does groovy stuff depend on this plugin. So the groovy libraries are included only once. You could try similar strategy. There are two plugins- google_analytics and google_code. But, not sure if they include Google libraries you looking for.

Winston Prakash
Eclipse Hudson team
Re: Accessing Google APIs from plugins? [message #1515508 is a reply to message #1515389] Thu, 18 December 2014 06:04 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Thank you for the advice. I just made such a plugin and uploaded to the snapshots repository of the OSS: https://oss.sonatype.org/content/repositories/snapshots/org/vx68k/hudson/plugin/google-api-client-plugin/

If anyone is interested in cooperation, please let me know.

[Addition] To avoid collisions with packages provided by Hudson, I excluded these artifacts from dependencies: commons-codec, commons-logging, and guava-jdk5.


Kaz Nishimura

[Updated on: Thu, 18 December 2014 06:08]

Report message to a moderator

Re: Accessing Google APIs from plugins? [message #1517357 is a reply to message #1515508] Fri, 19 December 2014 12:46 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I just released Google APIs Client Library Plugin (org.vx68k.hudson.plugin:google-api-client-plugin) 1.0 to OSS. It contains the Google APIs Client Library for Java (google-api-client) 1.19.0.

Kaz Nishimura
Re: Accessing Google APIs from plugins? [message #1517756 is a reply to message #1517357] Fri, 19 December 2014 18:39 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Since the groupid is not "org.hudsonci.plugins", we did not get the notification. I downloaded the .hpi from maven central and uploaded to Plugin Central (3.2)

Winston Prakash
Eclipse Hudson team
Re: Accessing Google APIs from plugins? [message #1518247 is a reply to message #1517756] Sat, 20 December 2014 01:11 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Can I use that groupId for my artifacts?

Kaz Nishimura
Re: Accessing Google APIs from plugins? [message #1548463 is a reply to message #1518247] Tue, 06 January 2015 01:54 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Looks like I forgot to reply to this. Of course you can use that group ID. We recommend to use that.

Winston Prakash
Eclipse Hudson team
Re: Accessing Google APIs from plugins? [message #1548545 is a reply to message #1548463] Tue, 06 January 2015 02:56 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
Thank you for replying. I have just got permissions from OSS.

Kaz Nishimura
Previous Topic:git repository symlinks get replaced by text files
Next Topic:Current page path in jelly?
Goto Forum:
  


Current Time: Sun Dec 22 06:01:02 GMT 2024

Powered by FUDForum. Page generated in 0.05314 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top