Skip to content

Commit

Permalink
Merge pull request #21 from sbesson/testng
Browse files Browse the repository at this point in the history
Use Maven profiles to handle different versions of TestNG
  • Loading branch information
sbesson authored Mar 18, 2024
2 parents 21bd756 + 859ea70 commit 8b5019a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
properties for your dependencies rather than hardcoding them. -->

<logback.version>1.3.14</logback.version>
<testng.version>6.8</testng.version>
<ome-common.version>6.0.21</ome-common.version>

<!-- NB: Avoid platform encoding warning when copying resources. -->
Expand Down Expand Up @@ -398,5 +397,23 @@
</plugins>
</build>
</profile>
<profile>
<id>jdk8-only</id>
<activation>
<jdk>(,11)</jdk>
</activation>
<properties>
<testng.version>7.5</testng.version>
</properties>
</profile>
<profile>
<id>jdk11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<properties>
<testng.version>7.9.0</testng.version>
</properties>
</profile>
</profiles>
</project>

0 comments on commit 8b5019a

Please sign in to comment.