#65 - Added stub module for JDK 8 types.

Added a build module to contain an abbreviated version of JDK 8's Optional to be able to add support for it as query method result in Spring Data Commons.

Client modules should refer to it with a provided scope to make sure it's not leaking into the user's projects classpath.
This commit is contained in:
Oliver Gierke
2014-04-22 12:36:04 +02:00
parent facc762ba9
commit 7a92a11e81
3 changed files with 78 additions and 0 deletions

30
java8/pom.xml Normal file
View File

@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>spring-data-java8-stub</artifactId>
<parent>
<groupId>org.springframework.data.build</groupId>
<artifactId>spring-data-build</artifactId>
<version>1.4.0.BUILD-SNAPSHOT</version>
</parent>
<name>Spring Data Build - Java 8 Stubs</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project>