Skip to content

Commit

Permalink
Update URLs, especially pointing to code.google.com (#320)
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo authored and chingor13 committed Jul 3, 2019
1 parent f582839 commit fc6de57
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 20 deletions.
4 changes: 2 additions & 2 deletions google-oauth-client-appengine/pom.xml
Expand Up @@ -15,8 +15,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>http://download.oracle.com/javase/7/docs/api/</link>
<link>http://code.google.com/appengine/docs/java/javadoc</link>
<link>https://download.oracle.com/javase/7/docs/api/</link>
<link>https://cloud.google.com/appengine/docs/standard/java/javadoc/</link>
<link>https://googleapis.dev/java/google-http-client/${project.http.version}/</link>
</links>
<doctitle>${project.name} ${project.version}</doctitle>
Expand Down
Expand Up @@ -25,7 +25,7 @@
/**
* Simple extension of {@link AbstractAuthorizationCodeCallbackServlet} that uses the currently
* logged-in Google Account user, as directed in <a
* href="http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication">
* href="https://cloud.google.com/appengine/docs/standard/java/config/webxml#security-auth">
* Security and Authentication</a>.
*
* <p>
Expand Down
Expand Up @@ -25,7 +25,7 @@
/**
* Simple extension of {@link AbstractAuthorizationCodeServlet} that uses the currently logged-in
* Google Account user, as directed in <a
* href="http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication">
* href="https://cloud.google.com/appengine/docs/standard/java/config/webxml#security-auth">
* Security and Authentication</a>.
*
* <p>
Expand Down
4 changes: 2 additions & 2 deletions google-oauth-client-servlet/pom.xml
Expand Up @@ -15,8 +15,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<links>
<link>http://download.oracle.com/javase/7/docs/api/</link>
<link>http://code.google.com/appengine/docs/java/javadoc</link>
<link>https://download.oracle.com/javase/7/docs/api/</link>
<link>https://cloud.google.com/appengine/docs/standard/java/javadoc/</link>
<link>https://googleapis.dev/java/google-http-client/${project.http.version}/</link>
</links>
<doctitle>${project.name} ${project.version}</doctitle>
Expand Down
4 changes: 2 additions & 2 deletions overview.html
@@ -1,12 +1,12 @@
<html>
<body>
Written by Google, the <a href="https://code.google.com/p/google-oauth-java-client/">
Written by Google, the <a href="https://developers.google.com/api-client-library/java/google-oauth-java-client/">
google-oauth-java-client</a> library is a powerful and easy to use Java client library for the
OAuth 2 and OAuth 1.0a standards for authorization.

<p>
It is built on the Google HTTP Client Library for Java.
@see <a href="http://javadoc.google-http-java-client.googlecode.com/hg/index.html">
@see <a href="https://googleapis.dev/java/google-http-client/latest/index.html">
Google HTTP Java Client Library Javadoc</a>
</p>
</body>
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Expand Up @@ -30,13 +30,13 @@

<organization>
<name>Google</name>
<url>http://www.google.com/</url>
<url>https://www.google.com/</url>
</organization>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
Expand Down Expand Up @@ -312,8 +312,8 @@
<phase>site</phase>
<configuration>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://cloud.google.com/appengine/docs/java/javadoc</link>
<link>https://docs.oracle.com/javase/7/docs/api/</link>
<link>https://cloud.google.com/appengine/docs/java/javadoc</link>
<link>https://googleapis.dev/java/google-http-client/${project.http.version}/</link>
</links>
<doctitle>Google OAuth Client Library for Java ${project.version}</doctitle>
Expand Down
15 changes: 7 additions & 8 deletions samples/dailymotion-cmdline-sample/instructions.html
Expand Up @@ -7,33 +7,32 @@ <h3>Browse Online</h3>

<ul>
<li><a
href="http://code.google.com/p/google-oauth-java-client/source/browse?repo=samples#hg/dailymotion-cmdline-sample">Browse
href="https://github.com/googleapis/google-oauth-java-client/tree/master/samples/dailymotion-cmdline-sample">Browse
Source</a>, or main file <a
href="http://code.google.com/p/google-oauth-java-client/source/browse/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline/DailyMotionSample.java?repo=samples">DailyMotionSample.java</a></li>
href="https://github.com/googleapis/google-oauth-java-client/blob/master/samples/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline/DailyMotionSample.java">DailyMotionSample.java</a></li>
</ul>

<h3>Checkout Instructions</h3>

<p><b>Prerequisites:</b> install <a href="http://java.com">Java 6</a>, <a
href="http://mercurial.selenic.com/">Mercurial</a> and <a
<p><b>Prerequisites:</b> install <a href="https://java.com">Java 6</a>, git, and <a
href="http://maven.apache.org/download.html">Maven</a>. You may need to set
your <code>JAVA_HOME</code>.</p>

<p><b>Important:</b> after checking out the project, and before compiling
and running it, you should edit <code>OAuth2ClientCredentials.java</code> to enter the
required credentials information. Otherwise, you will get a <code>400 INVALID_CLIENT</code>
error in your browser. To begin, go to the
<a href="http://www.dailymotion.com/profile/developer">Dailymotion Developer Profile</a>,
<a href="https://www.dailymotion.com/profile/developer">Dailymotion Developer Profile</a>,
click "Create New API Key" and specify "http://127.0.0.1:8080/Callback" as the "Callback URL".</p>

<pre><code>cd <i>[someDirectory]</i>
hg clone https://code.google.com/p/google-oauth-java-client.samples/ google-oauth-java-client-samples
cd google-oauth-java-client-samples/dailymotion-cmdline-sample
git clone https://github.com/googleapis/google-oauth-java-client.git google-oauth-java-client
cd google-oauth-java-client/samples/dailymotion-cmdline-sample
<i>[editor]</i> src/main/java/com/google/api/services/samples/dailymotion/cmdline/OAuth2ClientCredentials.java
mvn compile
mvn -q exec:java</code></pre>

<h3>Setup Project in Eclipse 3.5/3.6</h3>
<h3>Setup Project in Eclipse</h3>

<p><b>Prerequisites:</b> install <a href="http://www.eclipse.org/downloads/">Eclipse</a>,
the <a href="http://javaforge.com/project/HGE">Mercurial plugin</a>, and the <a href="http://www.eclipse.org/m2e/download/">Maven
Expand Down

0 comments on commit fc6de57

Please sign in to comment.