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
|
@ -374,7 +374,32 @@
|
|||
</releases>
|
||||
</repository>
|
||||
</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>
|
||||
|
||||
<dependencies>
|
||||
|
|
|
@ -60,10 +60,8 @@
|
|||
<configuration>
|
||||
<excludes>
|
||||
<exclude>**/AnnotationProcessor6.java</exclude>
|
||||
<exclude>**/SourceAnnotationHandler.java</exclude>
|
||||
</excludes>
|
||||
<testExcludes>
|
||||
<testExclude>**/TestCanonicalMetamodelGeneration.java</testExclude>
|
||||
</testExcludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
|
Loading…
Reference in New Issue