mirror of https://github.com/apache/openjpa.git
EXclude JDK6 dependent source and test
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@769497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7adb7932e8
commit
d86b15e30d
|
@ -375,6 +375,31 @@
|
||||||
</repository>
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<!-- =============================================================== -->
|
||||||
|
<!-- Compiling with JDK5 compiler excludes classes that explicitly -->
|
||||||
|
<!-- import and use JDK6 classes/packages for annotation processing -->
|
||||||
|
<!-- =============================================================== -->
|
||||||
|
<id>jdk5-compiler</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
|
||||||
|
<configuration>
|
||||||
|
<testExcludes>
|
||||||
|
<testExclude>**/TestCanonicalMetamodelGeneration.java</testExclude>
|
||||||
|
</testExcludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<activation>
|
||||||
|
<jdk>1.5</jdk>
|
||||||
|
</activation>
|
||||||
|
</profile>
|
||||||
|
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -60,10 +60,8 @@
|
||||||
<configuration>
|
<configuration>
|
||||||
<excludes>
|
<excludes>
|
||||||
<exclude>**/AnnotationProcessor6.java</exclude>
|
<exclude>**/AnnotationProcessor6.java</exclude>
|
||||||
|
<exclude>**/SourceAnnotationHandler.java</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
<testExcludes>
|
|
||||||
<testExclude>**/TestCanonicalMetamodelGeneration.java</testExclude>
|
|
||||||
</testExcludes>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|
Loading…
Reference in New Issue