Browse Source

DATACMNS-535 - Build now requires Java 7 to run.

Added Maven Enforcer Plugin to make sure the build is run against a JDK 7.

Related ticket: DATACMNS-532.
pull/88/head
Oliver Gierke 12 years ago
parent
commit
6f79d9d727
  1. 23
      pom.xml
  2. 26
      readme.md

23
pom.xml

@ -204,6 +204,28 @@ @@ -204,6 +204,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<id>enforce-rules</id>
<goals>
<goal>enforce</goal>
</goals>
</execution>
</executions>
<configuration>
<rules>
<requireJavaVersion>
<version>[1.7,1.9)</version>
</requireJavaVersion>
</rules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
@ -212,6 +234,7 @@ @@ -212,6 +234,7 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

26
readme.md

@ -1,9 +1,8 @@ @@ -1,9 +1,8 @@
# Spring Data Commons #
# Spring Data Commons
[Spring Data Commons](http://projects.spring.io/spring-data/) is part of the umbrella Spring Data project that provides shared infrastructure across the Spring Data projects.
Most importantly at the moment it contains technology neutral repository interfaces as well as a metadata model for persisting Java classes.
[Spring Data Commons](http://projects.spring.io/spring-data/) is part of the umbrella Spring Data project that provides shared infrastructure across the Spring Data projects. It contains technology neutral repository interfaces as well as a metadata model for persisting Java classes.
## Features ##
## Features
* Powerful Repository and custom object-mapping abstractions
* Support for cross-store persistence
@ -13,7 +12,20 @@ Most importantly at the moment it contains technology neutral repository interfa @@ -13,7 +12,20 @@ Most importantly at the moment it contains technology neutral repository interfa
* Possibility to integrate custom repository code
* Easy Spring integration with custom namespace
## Getting Help ##
## Building the project
### Prerequisites
- Maven 3
- Java 7 (the project produces Java 6 compatible bytecode but partially integrates with Java 7)
```
$ git clone https://github.com/spring-projects/spring-data-commons.git
$ cd spring-data-commons
$ mvn clean install
```
## Getting Help
This README as well as the [reference documentation](http://docs.spring.io/spring-data/data-commons/docs/current/reference/html/) are the best places to start learning about Spring Data Commons.
@ -21,12 +33,10 @@ The main project [website](http://www.springsource.org/spring-data) contains lin @@ -21,12 +33,10 @@ The main project [website](http://www.springsource.org/spring-data) contains lin
For more detailed questions, use the [forum](http://forum.spring.io/forum/spring-projects/data). If you are new to Spring as well as to Spring Data, look for information about [Spring projects](https://spring.io/projects).
## Contributing to Spring Data Commons##
## Contributing to Spring Data Commons
Here are some ways for you to get involved in the community:
* Get involved with the Spring community on the Spring Community Forums. Please help out on the [forum](http://forum.spring.io/forum/spring-projects/data) by responding to questions and joining the debate.
* Create [JIRA](https://jira.springsource.org/browse/DATACMNS) tickets for bugs and new features and comment and vote on the ones that you are interested in.
* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
* Watch for upcoming articles on Spring by [subscribing](https://spring.io/blog.atom) to springframework.org

Loading…
Cancel
Save