Spring Mobile is an extension to Spring Web MVC that aims to simplify the development of mobile web applications.
See downloading Spring artifacts for Maven repository information. Unable to use Maven or other transitive dependency management tools? See building a distribution with dependencies.
<dependency>
<groupId>org.springframework.mobile</groupId>
<artifactId>spring-mobile-device</artifactId>
<version>${org.springframework.mobile-version}</version>
</dependency>
<repository>
<id>spring-repo</id>
<name>Spring Repository</name>
<url>http://repo.spring.io/release</url>
</repository>
<repository>
<id>spring-milestone</id>
<name>Spring Milestone Repository</name>
<url>http://repo.spring.io/milestone</url>
</repository>
<repository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>http://repo.spring.io/snapshot</url>
</repository>
See the current Javadoc and reference docs.
Several example projects are available in the samples repository.
Report issues via the Spring Mobile JIRA. While JIRA is preferred, GitHub issues are also welcome. Understand our issue management process by reading about the lifecycle of an issue.
-
Clone the repository from GitHub:
$ git clone https://github.com/spring-projects/spring-mobile.git
-
Navigate into the cloned repository directory:
$ cd spring-mobile
-
The project uses Gradle to build:
$ ./gradlew build
-
Install jars into your local Maven cache (optional)
$ ./gradlew install
-
To generate Eclipse metadata (.classpath and .project files):
$ ./gradlew eclipse
-
Once complete, you may then import the projects into Eclipse as usual:
File -> Import -> Existing projects into workspace
Note: Spring Tool Suite has built in support for Gradle, and you can simply import as Gradle projects.
Generate IDEA metadata (.iml and .ipr files):
$ ./gradlew idea
Pull requests are welcome. See the contributor guidelines for details.
Spring Mobile is released under version 2.0 of the Apache License.