Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updating some versions in the pom

  • Loading branch information...
commit ae10539cf1076ba8da4fe24def2440f8e20bfcb3 1 parent 402c06c
@Treydone authored
View
33 pom.xml
@@ -3,21 +3,19 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-viadeo</artifactId>
- <version>1.0.0.BUILD-SNAPSHOT</version>
+ <version>1.0.1.BUILD-SNAPSHOT</version>
<name>Spring Social Viadeo</name>
<description>Spring Social extension with connection support and an API binding for Viadeo</description>
<properties>
<java-version>1.6</java-version>
- <spring.version>3.1.0.RC1</spring.version>
- <spring-social.version>1.0.0.RELEASE</spring-social.version>
+ <spring.version>3.1.0.BUILD-SNAPSHOT</spring.version>
+ <spring-social.version>1.0.1.BUILD-SNAPSHOT</spring-social.version>
<org.slf4j-version>1.6.1</org.slf4j-version>
- <junit.version>4.9</junit.version>
+ <junit.version>4.10</junit.version>
<easymock.version>3.0</easymock.version>
- <unitils.version>3.1</unitils.version>
-
- <github.maven.repository>file:///C:/maven-repository/</github.maven.repository>
+ <unitils.version>3.2</unitils.version>
</properties>
<distributionManagement>
@@ -34,12 +32,6 @@
<groupId>org.springframework.social</groupId>
<artifactId>spring-social-core</artifactId>
<version>${spring-social.version}</version>
- <exclusions>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- </exclusion>
- </exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
@@ -51,7 +43,7 @@
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
- <version>1.8.5</version>
+ <version>1.9.2</version>
</dependency>
<!-- Logging -->
@@ -130,6 +122,19 @@
<target>${java-version}</target>
</configuration>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
View
2  src/main/java/org/springframework/social/viadeo/api/impl/json/ViadeoModule.java
@@ -48,7 +48,7 @@
public class ViadeoModule extends SimpleModule {
public ViadeoModule() {
- super("ViadeoModule", new Version(1, 0, 0, null));
+ super("ViadeoModule", new Version(1, 0, 1, null));
}
@Override
View
11 src/main/java/org/springframework/social/viadeo/api/impl/json/ViadeoProfileMixin.java
@@ -24,12 +24,17 @@
/**
* Annotated mixin to add Jackson annotations to ViadeoProfile.
*/
-@JsonIgnoreProperties({ "type" })
+@JsonIgnoreProperties(ignoreUnknown = true)
abstract class ViadeoProfileMixin {
@JsonCreator
- ViadeoProfileMixin(@JsonProperty("id") String id, @JsonProperty("gender") String gender, @JsonProperty("first_name") String firstName, @JsonProperty("last_name") String lastName,
- @JsonProperty("nickname") String nickName, @JsonProperty("link") String profileUrl, @JsonProperty("picture_large") String imageUrl) {
+ ViadeoProfileMixin(@JsonProperty("id") String id,
+ @JsonProperty("gender") String gender,
+ @JsonProperty("first_name") String firstName,
+ @JsonProperty("last_name") String lastName,
+ @JsonProperty("nickname") String nickName,
+ @JsonProperty("link") String profileUrl,
+ @JsonProperty("picture_large") String imageUrl) {
}
@JsonProperty("name")
Please sign in to comment.
Something went wrong with that request. Please try again.