Author: stliu
Date: 2010-05-10 11:36:31 -0400 (Mon, 10 May 2010)
New Revision: 19449
Modified:
core/branches/Branch_3_3_2_GA_CP/jdbc4-testing/pom.xml
Log:
JBPAPP-4270 enable hibernate core build-able on jdk6
Modified: core/branches/Branch_3_3_2_GA_CP/jdbc4-testing/pom.xml
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/jdbc4-testing/pom.xml 2010-05-10 12:30:01 UTC (rev
19448)
+++ core/branches/Branch_3_3_2_GA_CP/jdbc4-testing/pom.xml 2010-05-10 15:36:31 UTC (rev
19449)
@@ -36,29 +36,37 @@
<name>Hibernate JDBC4-JdbcSupport Testing</name>
<description>Test support of JDBC4 through JdbcSupport</description>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- <compilerVersion>1.6</compilerVersion>
- <executable>${jdk16_home}/bin/javac</executable>
- <fork>true</fork>
- <verbose>true</verbose>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <jvm>${jdk16_home}/bin/java</jvm>
- </configuration>
- </plugin>
- </plugins>
- </build>
+ <profiles>
+ <profile>
+ <id>jdbc4-jdk6</id>
+ <activation>
+ <jdk>1.5</jdk>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <compilerVersion>1.6</compilerVersion>
+ <executable>${jdk16_home}/bin/javac</executable>
+ <fork>true</fork>
+ <verbose>true</verbose>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <jvm>${jdk16_home}/bin/java</jvm>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
Show replies by date