Mobile dependency on Spring 3.1?
I am just getting started with Spring Mobile. Based on the instructions, I included the following Maven dependency:
When I look at the POM for Spring Mobile, I see that this project is dependent on spring-webmvc, 3.0.5.RELEASE. When I try to add a DeviceWebArgumentResolver however, the IDE complains:
Here, I am referencing the following schema:
"Element 'annotation-driven' must have no character or element information item [children], because the type's content type is empty."
Does the "argument-resolvers" child element require a dependency on Spring 3.1?
Answered my own question...
I had to fudge quite a bit of my maven dependencies to get this to work. In short, there are features in Spring Mobile which are dependent on Spring MVC 3.1. I think the POM needs to be updated to reflect that. Currently, Spring MVC 3.0.5 is listed as the dependency.
Also, the POM for Spring MVC 3.1.0.M2 is pretty much blank.
As a result, some of the other dependencies that are normally included are dropped. Can we get this fixed?
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
<description>POM was created by Sonatype Nexus</description>