Skip to content

Commit

Permalink
Make JUnit 5 versions parameters
Browse files Browse the repository at this point in the history
This should reduce the number of PRs and commits on new JUnit versions
  • Loading branch information
akurtakov committed Oct 22, 2024
1 parent 2a9f2aa commit edfea06
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
<equinoxVersion>3.21.0</equinoxVersion>
<ecjVersion>3.39.0</ecjVersion>
<bnd.version>7.0.0</bnd.version>
<junit5.version>5.11.3</junit5.version>
<junit5.platform.version>1.11.3</junit5.platform.version>
<!-- these are referenced from src/main/resources/META-INF/plexus/components.xml -->
<resources-plugin.version>3.3.1</resources-plugin.version>
<install-plugin.version>3.1.1</install-plugin.version>
Expand Down Expand Up @@ -215,7 +217,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.11.3</version>
<version>${junit5.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
6 changes: 3 additions & 3 deletions tycho-its/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,17 +160,17 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.11.3</version>
<version>${junit5.version}</version>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.11.3</version>
<version>${junit5.version}</version>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.11.3</version>
<version>${junit5.platform.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<version>1.11.3</version>
<version>${junit5.platform.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit edfea06

Please sign in to comment.