Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
moved oauth2 credentials to maven settings.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
renfeng committed Oct 21, 2015
1 parent 11cbf5f commit 7e90e48
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 29 deletions.
8 changes: 1 addition & 7 deletions gae-default/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,18 @@
<build>
<defaultGoal>install</defaultGoal>
</build>
<properties>
</properties>
</profile>
<profile>
<id>dev</id>
<build>
<defaultGoal>install appengine:update</defaultGoal>
<defaultGoal>clean install appengine:update</defaultGoal>
</build>
<properties>
</properties>
</profile>
<profile>
<id>beta</id>
<build>
<defaultGoal>clean install appengine:update</defaultGoal>
</build>
<properties>
</properties>
</profile>
</profiles>

Expand Down
2 changes: 1 addition & 1 deletion gae-ranking/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
<profile>
<id>dev</id>
<build>
<defaultGoal>install appengine:update</defaultGoal>
<defaultGoal>clean install appengine:update</defaultGoal>
</build>
<properties>
<guice.filter>com.google.developers.event.http.DevelopersSharedFilter</guice.filter>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-calendar</artifactId>
<version>v3-rev147-1.20.0</version>
<version>v3-rev148-1.20.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
Expand All @@ -363,7 +363,7 @@
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-plus</artifactId>
<version>v1-rev282-1.20.0</version>
<version>v1-rev284-1.20.0</version>
</dependency>
<dependency>
<groupId>com.google.apis</groupId>
Expand Down
9 changes: 9 additions & 0 deletions shared/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@

<build>
<defaultGoal>compile exec:java</defaultGoal>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>message.properties</include>
</includes>
</resource>
</resources>
<plugins>

<!-- phase: prepare-package -->
Expand Down
2 changes: 0 additions & 2 deletions shared/src/main/resources/.gitignore

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ gplus.article=\
# <div class="Bt Pm">
# <div class="tG QF">&nbsp;</div>
# <div class="Ct">
# 11/29 苏州谷歌开发者的活动不容错过
# 11/29 \u82CF\u5DDE\u8C37\u6B4C\u5F00\u53D1\u8005\u7684\u6D3B\u52A8\u4E0D\u5BB9\u9519\u8FC7\uFEFF
# </div>
# </div>
# <span role="button" class="d-s Yv on gj" style="display:none;" tabindex="0">Read more</span>
# <span role="button" class="d-s Xv zt gj" style="display:none;" tabindex="0">Show less</span>
# <span class="bH il" style="display: none;"> &nbsp;·&nbsp; </span>
# <span class="bH il" style="display: none;"> &nbsp;\u00B7&nbsp; </span>
# <span role="button" class="d-s PM uh" tabindex="0" jscontroller="BFjoqb" jsaction="click:XdPVYe; focus:npT2md; mouseover:npT2md">Translate</span>
# </div>
# </div>
Expand Down Expand Up @@ -224,12 +224,12 @@ gplus.article.noimage=\
# <div class="Bt Pm" style="max-height: none;">
# <div class="tG QF">&nbsp;</div>
# <div class="Ct">
# GDG Suzhou成员在实际的社区工作中长期坚持使用Google Apps进行协同:我们的活动方案及其他文档用Google Docs进行分享,我们使用Google Form来进行报名,我们使用Google Sheet来进行登记,我们用Google Drive来进行文件共享...。使用全套的Google产品,体现了GDG的特色,也实现了高效的协同工作。<br>这次活动,我们将请GDG Suzhou的组织者,Google Apps的资深使用者,Frank来为大家介绍如何使用Google Apps进行协作,也将介绍GDG Suzhou的使用经验。<br><br>为保证活动体验,参加人数限制限制为15人,我们将优先考虑各个社区的成员,具有协作需求的团队。<br><br>报名链接:<a rel="nofollow" target="_blank" href="http://t.cn/RL0ZN56" class="ot-anchor aaTEdf" jslog="10929; track:click" dir="ltr">http://t.cn/RL0ZN56</a><br><br>请在8月4日12:00前提交报名,我们将在12:00以后确定参与者人员名单。<br>我们将在8月4日通知成功报名的参与者。<br><br>时间:8月5日 19:00-21:30<br>地点:林泉街377号公共学院三号楼1楼,NUSRI 创业空间<br>公交:<br>&nbsp;* 独墅湖高教区首末站,115, 142, 178, 218, 228<br>&nbsp;* 公共学院站,166, 218<br>&nbsp;* 创苑路学堂街,146, 218<br>&nbsp;* 文萃广场站
# GDG Suzhou\u6210\u5458\u5728\u5B9E\u9645\u7684\u793E\u533A\u5DE5\u4F5C\u4E2D\u957F\u671F\u575A\u6301\u4F7F\u7528Google Apps\u8FDB\u884C\u534F\u540C\uFF1A\u6211\u4EEC\u7684\u6D3B\u52A8\u65B9\u6848\u53CA\u5176\u4ED6\u6587\u6863\u7528Google Docs\u8FDB\u884C\u5206\u4EAB\uFF0C\u6211\u4EEC\u4F7F\u7528Google Form\u6765\u8FDB\u884C\u62A5\u540D\uFF0C\u6211\u4EEC\u4F7F\u7528Google Sheet\u6765\u8FDB\u884C\u767B\u8BB0\uFF0C\u6211\u4EEC\u7528Google Drive\u6765\u8FDB\u884C\u6587\u4EF6\u5171\u4EAB...\u3002\u4F7F\u7528\u5168\u5957\u7684Google\u4EA7\u54C1\uFF0C\u4F53\u73B0\u4E86GDG\u7684\u7279\u8272\uFF0C\u4E5F\u5B9E\u73B0\u4E86\u9AD8\u6548\u7684\u534F\u540C\u5DE5\u4F5C\u3002<br>\u8FD9\u6B21\u6D3B\u52A8\uFF0C\u6211\u4EEC\u5C06\u8BF7GDG Suzhou\u7684\u7EC4\u7EC7\u8005\uFF0CGoogle Apps\u7684\u8D44\u6DF1\u4F7F\u7528\u8005\uFF0CFrank\u6765\u4E3A\u5927\u5BB6\u4ECB\u7ECD\u5982\u4F55\u4F7F\u7528Google Apps\u8FDB\u884C\u534F\u4F5C\uFF0C\u4E5F\u5C06\u4ECB\u7ECDGDG Suzhou\u7684\u4F7F\u7528\u7ECF\u9A8C\u3002<br><br>\u4E3A\u4FDD\u8BC1\u6D3B\u52A8\u4F53\u9A8C\uFF0C\u53C2\u52A0\u4EBA\u6570\u9650\u5236\u9650\u5236\u4E3A15\u4EBA\uFF0C\u6211\u4EEC\u5C06\u4F18\u5148\u8003\u8651\u5404\u4E2A\u793E\u533A\u7684\u6210\u5458\uFF0C\u5177\u6709\u534F\u4F5C\u9700\u6C42\u7684\u56E2\u961F\u3002<br><br>\u62A5\u540D\u94FE\u63A5\uFF1A<a rel="nofollow" target="_blank" href="http://t.cn/RL0ZN56" class="ot-anchor aaTEdf" jslog="10929; track:click" dir="ltr">http://t.cn/RL0ZN56</a><br><br>\u8BF7\u57288\u67084\u65E512:00\u524D\u63D0\u4EA4\u62A5\u540D\uFF0C\u6211\u4EEC\u5C06\u572812:00\u4EE5\u540E\u786E\u5B9A\u53C2\u4E0E\u8005\u4EBA\u5458\u540D\u5355\u3002<br>\u6211\u4EEC\u5C06\u57288\u67084\u65E5\u901A\u77E5\u6210\u529F\u62A5\u540D\u7684\u53C2\u4E0E\u8005\u3002<br><br>\u65F6\u95F4\uFF1A8\u67085\u65E5 19:00-21:30<br>\u5730\u70B9\uFF1A\u6797\u6CC9\u8857377\u53F7\u516C\u5171\u5B66\u9662\u4E09\u53F7\u697C1\u697C\uFF0CNUSRI \u521B\u4E1A\u7A7A\u95F4<br>\u516C\u4EA4\uFF1A<br>&nbsp;* \u72EC\u5885\u6E56\u9AD8\u6559\u533A\u9996\u672B\u7AD9\uFF0C115, 142, 178, 218, 228<br>&nbsp;* \u516C\u5171\u5B66\u9662\u7AD9\uFF0C166, 218<br>&nbsp;* \u521B\u82D1\u8DEF\u5B66\u5802\u8857\uFF0C146, 218<br>&nbsp;* \u6587\u8403\u5E7F\u573A\u7AD9
# </div>
# </div>
# <span role="button" class="d-s Yv on gj" tabindex="0" style="display: none;">Read more (23 lines)</span>
# <span role="button" class="d-s Xv zt gj" tabindex="0">Show less</span>
# <span class="bH il"> &nbsp;·&nbsp; </span>
# <span class="bH il"> &nbsp;\u00B7&nbsp; </span>
# <span role="button" class="d-s PM uh" tabindex="0" jscontroller="BFjoqb" jsaction="click:XdPVYe; focus:npT2md; mouseover:npT2md">Translate</span>
# </div>
# </div>
Expand All @@ -246,15 +246,15 @@ gplus.article.noimage=\
# </a>
# </div>
# <div class="ow">
# <a href="events/cbd2nbj0v2fbnc4mrjd6sfja748" target="_blank" class="d-s ob pw" data-tooltip="View event" tabindex="0">GDG Suzhou活动:如何使用Google Apps进行高效协同工作</a>
# <a href="events/cbd2nbj0v2fbnc4mrjd6sfja748" target="_blank" class="d-s ob pw" data-tooltip="View event" tabindex="0">GDG Suzhou\u6D3B\u52A8\uFF1A\u5982\u4F55\u4F7F\u7528Google Apps\u8FDB\u884C\u9AD8\u6548\u534F\u540C\u5DE5\u4F5C</a>
# <div class="pD">
# <div class="qW">
# <span class="l4"></span>
# Wed, August 5, 7:00 PM
# </div>
# <div class="aM k4">
# <span class="j4"></span>
# 林泉街377号公共学院三号楼1楼,NUSRI 创业空间
# \u6797\u6CC9\u8857377\u53F7\u516C\u5171\u5B66\u9662\u4E09\u53F7\u697C1\u697C\uFF0CNUSRI \u521B\u4E1A\u7A7A\u95F4
# </div>
# </div>
# <div class="VH rW">
Expand Down Expand Up @@ -310,7 +310,7 @@ gplus.event=\
# <div class="Bt Pm" style="max-height: 72px;">
# <div class="tG QF">&nbsp;</div>
# <div class="Ct">
# <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100160462017014431473" oid="100160462017014431473">GDG Suzhou</a></span>​ Redux, Google I/O 15 Extended - Suzhou<br><a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23io15">#io15</a> <a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23io15extended">#io15extended</a> <a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23ioredux">#ioredux</a> ​<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100457710470099718551" oid="100457710470099718551">Monica Bagagem</a></span>​ <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/118309337850655603796" oid="118309337850655603796">Bill Luan</a></span>​ <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/111192718276625642303" oid="111192718276625642303">Adriana Cerundolo</a></span>​ <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/109986325382240152197" oid="109986325382240152197">Sarah Tsui</a></span>​ <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/116155312904314109883" oid="116155312904314109883">Frank R.</a></span>​<br>
# <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100160462017014431473" oid="100160462017014431473">GDG Suzhou</a></span>\u200B Redux, Google I/O 15 Extended - Suzhou<br><a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23io15">#io15</a> <a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23io15extended">#io15extended</a>\uFEFF <a rel="nofollow" class="ot-hashtag aaTEdf" href="/s/%23ioredux">#ioredux</a> \u200B<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100457710470099718551" oid="100457710470099718551">Monica Bagagem</a></span>\u200B <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/118309337850655603796" oid="118309337850655603796">Bill Luan</a></span>\u200B <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/111192718276625642303" oid="111192718276625642303">Adriana Cerundolo</a></span>\u200B <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/109986325382240152197" oid="109986325382240152197">Sarah Tsui</a></span>\u200B <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/116155312904314109883" oid="116155312904314109883">Frank R.</a></span>\u200B<br>
# </div>
# </div>
# <span role="button" class="d-s Yv on gj" style="display:none;" tabindex="0">Read more</span>
Expand Down Expand Up @@ -430,12 +430,12 @@ gplus.video=\
# <div class="Bt Pm" style="max-height: 72px;">
# <div class="tG QF">&nbsp;</div>
# <div class="Ct">
# 1140 接到电话 <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100160462017014431473" oid="100160462017014431473">GDG Suzhou</a></span>&nbsp;的代表团正在登机,前往 GDG 全球峰会和Google I/O 2015!<br><br><span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/113662271548849465706" oid="113662271548849465706">Simon Li</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/110459328081799493422" oid="110459328081799493422">胡定宇 Snow</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/110074507636021361692" oid="110074507636021361692">Derek Grant</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/105000722069687538475" oid="105000722069687538475">Jin Jian</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/117193781103517082588" oid="117193781103517082588">William Sang</a></span>&nbsp;祝你们一路平安!<br><br><span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/104576453617011070521" oid="104576453617011070521">Cici Tsai</a></span>&nbsp;签证还有一线希望……不论什么样的结果,什么样的选择,都不要轻易放弃。这是为什么我们能够聚到一起!<br><br>请关注我们的实时报道。
# 1140 \u63A5\u5230\u7535\u8BDD <span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/100160462017014431473" oid="100160462017014431473">GDG Suzhou</a></span>&nbsp;\u7684\u4EE3\u8868\u56E2\u6B63\u5728\u767B\u673A\uFF0C\u524D\u5F80 GDG \u5168\u7403\u5CF0\u4F1A\u548CGoogle I/O 2015!<br><br><span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/113662271548849465706" oid="113662271548849465706">Simon Li</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/110459328081799493422" oid="110459328081799493422">\u80E1\u5B9A\u5B87 Snow</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/110074507636021361692" oid="110074507636021361692">Derek Grant</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/105000722069687538475" oid="105000722069687538475">Jin Jian</a></span>&nbsp;<span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/117193781103517082588" oid="117193781103517082588">William Sang</a></span>&nbsp;\u795D\u4F60\u4EEC\u4E00\u8DEF\u5E73\u5B89\uFF01<br><br><span class="proflinkWrapper"><span class="proflinkPrefix">+</span><a class="proflink aaTEdf" href="/104576453617011070521" oid="104576453617011070521">Cici Tsai</a></span>&nbsp;\u7B7E\u8BC1\u8FD8\u6709\u4E00\u7EBF\u5E0C\u671B\u2026\u2026\u4E0D\u8BBA\u4EC0\u4E48\u6837\u7684\u7ED3\u679C\uFF0C\u4EC0\u4E48\u6837\u7684\u9009\u62E9\uFF0C\u90FD\u4E0D\u8981\u8F7B\u6613\u653E\u5F03\u3002\u8FD9\u662F\u4E3A\u4EC0\u4E48\u6211\u4EEC\u80FD\u591F\u805A\u5230\u4E00\u8D77\uFF01<br><br>\u8BF7\u5173\u6CE8\u6211\u4EEC\u7684\u5B9E\u65F6\u62A5\u9053\u3002\uFEFF
# </div>
# </div>
# <span role="button" class="d-s Yv on gj" style="" tabindex="0">Read more</span>
# <span role="button" class="d-s Xv zt gj" style="display:none;" tabindex="0">Show less</span>
# <span class="bH il"> &nbsp;·&nbsp; </span>
# <span class="bH il"> &nbsp;\u00B7&nbsp; </span>
# <span role="button" class="d-s PM uh" tabindex="0" jscontroller="BFjoqb" jsaction="click:XdPVYe; focus:npT2md; mouseover:npT2md">Translate</span>
# </div>
# </div>
Expand All @@ -452,11 +452,21 @@ gplus.none=\
</div>

# How to get the following values? See https://docs.google.com/presentation/d/1D_nGz3iRO593CQKBTHWbnKaADiv1mtESytF4HC3sz04/edit
clientId=<put your client id here>
clientSecret=<put your client secret here>
refreshToken=<put your refresh token here>
metaSpreadsheet=<put your meta spreadsheet url here, e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=0>
creditRanking=<e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=1345071268>
streakRanking=<e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=351625001>
event=<e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=186033074>
chapter=<e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=304382967>
clientId=${clientId}
clientSecret=${clientSecret}
refreshToken=${refreshToken}

# e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=0
metaSpreadsheet=${metaSpreadsheet}

# e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=1345071268
creditRanking=${creditRanking}

# e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=351625001
streakRanking=${streakRanking}

# e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=186033074
event=${event}

# e.g. https://docs.google.com/spreadsheets/d/1RhmsOGeiy6lRpdLJlYGdZ3TAAlaYb2IVfiGI5C0jZno/edit#gid=304382967
chapter=${chapter}

0 comments on commit 7e90e48

Please sign in to comment.