Skip to content

Commit d1fecfe

Browse files
committed
DATAJPA-1021 - Make sure build profiles for Spring 5 skip OpenJPA tests.
Also disabled obsolete Spring 4.3 build execution as we're on Spring 4.3 anyway.
1 parent 0e68be8 commit d1fecfe

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ jdk:
66
env:
77
matrix:
88
- PROFILE=ci
9-
- PROFILE=spring43
109
- PROFILE=spring43-next
1110
- PROFILE=spring5,hibernate-43
1211
- PROFILE=spring5-next,hibernate-43

pom.xml

+14
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,23 @@
3030
<springdata.commons>1.13.0.BUILD-SNAPSHOT</springdata.commons>
3131

3232
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
33+
<skip-openjpa>false</skip-openjpa>
3334

3435
</properties>
3536

3637
<profiles>
38+
<profile>
39+
<id>spring5</id>
40+
<properties>
41+
<skip-openjpa>true</skip-openjpa>
42+
</properties>
43+
</profile>
44+
<profile>
45+
<id>spring5-next</id>
46+
<properties>
47+
<skip-openjpa>true</skip-openjpa>
48+
</properties>
49+
</profile>
3750
<profile>
3851
<id>hibernate-41</id>
3952
<properties>
@@ -457,6 +470,7 @@
457470
</goals>
458471
<phase>test</phase>
459472
<configuration>
473+
<skip>${skip-openjpa}</skip>
460474
<includes>
461475
<include>**/OpenJpa*Tests.java</include>
462476
</includes>

0 commit comments

Comments
 (0)