Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
habuma committed Jul 5, 2013
1 parent 9132c33 commit 1782e55
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 43 deletions.
5 changes: 3 additions & 2 deletions spring-social-canvas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ Spring Social Canvas
====================
This sample app demonstrates how to use Spring Social within a Facebook Canvas application.

To run, import the project into your IDE and deploy to a Servlet 2.5 or > container such as Tomcat 6 or 7. The container should also be able to serve the application over HTTPS.
IMPORTANT: Note that the steps for running the sample differ slightly from the other Spring Social samples:

Access the application via Facebook at http://apps.facebook.com/springsocialcanvas. This is the canvas page configured in Facebook for the Spring Social Canvas sample.
1. Deploy and start the application on a Servlet 2.5 or > container such as Tomcat 6 or 7 *and* ensure that HTTPS support is enabled. For convenience, you should be able to run the application using Maven with `mvn tomcat:run`.
2. Navigate to http://apps.facebook.com/springsocialcanvas in your browser. This is the canvas page configured in Facebook for the Spring Social Canvas sample.

The pertinent details of the application's Facebook configuration is as follows:
- __Display Name__: Spring Social Canvas
Expand Down
7 changes: 5 additions & 2 deletions spring-social-canvas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<java-version>1.6</java-version>
<org.springframework.social-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social-version>
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework-version>3.2.1.RELEASE</org.springframework-version>
<org.springframework.security.crypto-version>3.1.3.RELEASE</org.springframework.security.crypto-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security.crypto-version>3.1.4.RELEASE</org.springframework.security.crypto-version>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -136,6 +136,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<httpsPort>8443</httpsPort>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion spring-social-movies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<java-version>1.6</java-version>
<org.springframework.social-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion spring-social-popup/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework.social.twitter-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.twitter-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion spring-social-quickstart-3.0.x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<org.springframework.social-version>1.0.3.RELEASE</org.springframework.social-version>
<org.springframework.social.facebook-version>1.0.3.RELEASE</org.springframework.social.facebook-version>
<org.springframework-version>3.0.7.RELEASE</org.springframework-version>
<org.springframework.security.crypto-version>3.1.3.RELEASE</org.springframework.security.crypto-version>
<org.springframework.security.crypto-version>3.1.4.RELEASE</org.springframework.security.crypto-version>
</properties>
<dependencies>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion spring-social-quickstart/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<org.springframework.social-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social-version>
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security.crypto-version>3.1.3.RELEASE</org.springframework.security.crypto-version>
<org.springframework.security.crypto-version>3.1.4.RELEASE</org.springframework.security.crypto-version>
</properties>
<dependencies>
<dependency>
Expand Down
17 changes: 10 additions & 7 deletions spring-social-showcase-sec-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework.social.twitter-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.twitter-version>
<org.springframework.social.linkedin-version>1.0.0.BUILD-SNAPSHOT</org.springframework.social.linkedin-version>
<org.springframework-version>3.2.1.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.2</org.slf4j-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
Expand Down Expand Up @@ -103,19 +103,19 @@
</dependency>

<!-- Apache Http Client -->
<!-- <dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.2</version>
<version>4.2.5</version>
<exclusions>
Exclude Commons Logging in favor of SLF4j
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
-->

<!-- JSR 303 with Hibernate Validator -->
<dependency>
<groupId>javax.validation</groupId>
Expand Down Expand Up @@ -267,6 +267,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/spring-social-showcase</path>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
17 changes: 10 additions & 7 deletions spring-social-showcase-sec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework.social.twitter-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.twitter-version>
<org.springframework.social.linkedin-version>1.0.0.BUILD-SNAPSHOT</org.springframework.social.linkedin-version>
<org.springframework-version>3.2.1.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.2</org.slf4j-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
Expand Down Expand Up @@ -103,19 +103,19 @@
</dependency>

<!-- Apache Http Client -->
<!-- <dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.2</version>
<version>4.2.5</version>
<exclusions>
Exclude Commons Logging in favor of SLF4j
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
-->

<!-- JSR 303 with Hibernate Validator -->
<dependency>
<groupId>javax.validation</groupId>
Expand Down Expand Up @@ -267,6 +267,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/spring-social-showcase</path>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
facebook.clientId=0b754d95f9c9899b0d6c4454b6f2dde7
facebook.clientId=162886103757745
facebook.clientSecret=fa8a9825f555a7a8949ec48fb93bda58
facebook.appNamespace=socialshowcase
twitter.consumerKey=YR571S2JiVBOFyJS5MEg
Expand Down
19 changes: 11 additions & 8 deletions spring-social-showcase-xml/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<org.springframework.social-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social-version>
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework.social.twitter-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.twitter-version>
<org.springframework.social.linkedin-version>1.0.0.M2</org.springframework.social.linkedin-version>
<org.springframework-version>3.2.1.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.6.1</org.slf4j-version>
<org.springframework.social.linkedin-version>1.0.0.BUILD-SNAPSHOT</org.springframework.social.linkedin-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
Expand Down Expand Up @@ -103,19 +103,19 @@
</dependency>

<!-- Apache Http Client -->
<!-- <dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.2</version>
<version>4.2.5</version>
<exclusions>
Exclude Commons Logging in favor of SLF4j
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
-->

<!-- JSR 303 with Hibernate Validator -->
<dependency>
<groupId>javax.validation</groupId>
Expand Down Expand Up @@ -267,6 +267,9 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<version>1.1</version>
<configuration>
<path>/spring-social-showcase</path>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
14 changes: 7 additions & 7 deletions spring-social-showcase/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<org.springframework.social.facebook-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.facebook-version>
<org.springframework.social.twitter-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social.twitter-version>
<org.springframework.social.linkedin-version>1.0.0.BUILD-SNAPSHOT</org.springframework.social.linkedin-version>
<org.springframework-version>3.2.2.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.2</org.slf4j-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
Expand Down Expand Up @@ -103,19 +103,19 @@
</dependency>

<!-- Apache Http Client -->
<!-- <dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.1.2</version>
<version>4.2.5</version>
<exclusions>
Exclude Commons Logging in favor of SLF4j
<!-- Exclude Commons Logging in favor of SLF4j -->
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
-->

<!-- JSR 303 with Hibernate Validator -->
<dependency>
<groupId>javax.validation</groupId>
Expand Down
8 changes: 4 additions & 4 deletions spring-social-twitter4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<properties>
<java-version>1.6</java-version>
<org.springframework.social-version>1.1.0.BUILD-SNAPSHOT</org.springframework.social-version>
<org.springframework-version>3.2.1.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.3.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.2</org.slf4j-version>
<org.springframework-version>3.2.3.RELEASE</org.springframework-version>
<org.springframework.security-version>3.1.4.RELEASE</org.springframework.security-version>
<org.slf4j-version>1.7.5</org.slf4j-version>
</properties>
<dependencies>
<!-- Spring -->
Expand Down Expand Up @@ -73,7 +73,7 @@
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>2.2.3</version>
<version>3.0.3</version>
</dependency>

<!-- JSR 303 with Hibernate Validator -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void setConnectionValues(Twitter api, ConnectionValues values) {
values.setProviderUserId(Long.toString(user.getId()));
values.setDisplayName("@" + user.getScreenName());
values.setProfileUrl("http://twitter.com/" + user.getScreenName());
values.setImageUrl(user.getProfileImageURL().toExternalForm());
values.setImageUrl(user.getProfileImageURL());
} catch (TwitterException e) {
}
}
Expand Down

0 comments on commit 1782e55

Please sign in to comment.