HHH-5642 Disable Byteman tests on Java5 - feedback from Java6 runs is good enough to prevent regressions

This commit is contained in:
Sanne Grinovero 2011-03-14 14:34:34 +00:00
parent 752ebe22e2
commit d3098ebcd7
1 changed files with 11 additions and 1 deletions

View File

@ -43,6 +43,7 @@
<properties>
<!-- Skip artifact deployment -->
<maven.deploy.skip>true</maven.deploy.skip>
<surefire.jvm.parameter></surefire.jvm.parameter>
</properties>
<dependencies>
@ -138,7 +139,7 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>once</forkMode>
<argLine>-Dorg.jboss.byteman.verbose=true -javaagent:${settings.localRepository}/org/jboss/byteman/byteman/${bytemanVersion}/byteman-${bytemanVersion}.jar=script:${project.build.testOutputDirectory}/bytemanrules.txt</argLine>
<argLine>${surefire.jvm.parameter}</argLine>
<systemProperties>
<property>
<name>hibernate.test.validatefailureexpected</name>
@ -171,6 +172,15 @@
</dependency>
</dependencies>
</profile>
<profile>
<id>byteman</id>
<activation>
<jdk>1.6</jdk>
</activation>
<properties>
<surefire.jvm.parameter>-Dorg.jboss.byteman.verbose=true -javaagent:${settings.localRepository}/org/jboss/byteman/byteman/${bytemanVersion}/byteman-${bytemanVersion}.jar=script:${project.build.testOutputDirectory}/bytemanrules.txt</surefire.jvm.parameter>
</properties>
</profile>
</profiles>
</project>