Skip to content

Commit

Permalink
Merge pull request #88 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 eca9c1c + c77129b commit bccb2c8
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.8</version>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -472,5 +472,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 bccb2c8

Please # to comment.