Skip to content

Refactor it-tests a bit #336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/it/integration_tests_Scala3_parent/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
</parent>

<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Scoverage Plugin Integration Tests for Scala 3 Parent</name>
<description>Scoverage Plugin Integration Tests for Scala 3 Parent</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.5.2</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
</properties>

</project>
18 changes: 11 additions & 7 deletions src/it/integration_tests_parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,24 @@
<name>Scoverage Plugin Integration Tests Parent</name>
<description>Scoverage Plugin Integration Tests Parent</description>

<prerequisites>
<maven>3.6.3</maven>
</prerequisites>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>4.13.1</junit.version>
<junit.version>4.13.2</junit.version>
<scalatest.version>3.2.17</scalatest.version>

<compiler.plugin.version>3.11.0</compiler.plugin.version>
<surefire.plugin.version>3.1.2</surefire.plugin.version>
<scala.plugin.version>4.9.1</scala.plugin.version>
<scalatest.plugin.version>2.0.0</scalatest.plugin.version>
<project-info-reports.plugin.version>3.5.0</project-info-reports.plugin.version>
<compiler.plugin.version>3.13.0</compiler.plugin.version>
<surefire.plugin.version>3.5.2</surefire.plugin.version>
<scala.plugin.version>4.9.2</scala.plugin.version>
<scalatest.plugin.version>2.2.0</scalatest.plugin.version>
<project-info-reports.plugin.version>3.8.0</project-info-reports.plugin.version>
<site.plugin.version>3.21.0</site.plugin.version>

<scala.compat.version>2.13</scala.compat.version>
<scala.minor.version>14</scala.minor.version>
<scala.minor.version>15</scala.minor.version>
<scala.version>${scala.compat.version}.${scala.minor.version}</scala.version>
<scala.library.artifact.id>scala-library</scala.library.artifact.id>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<relativePath>../integration_tests_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala212_JUnit</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala2_12_JUnit</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 2.12 and JUnit</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<relativePath>../integration_tests_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala212_ScalaTest</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala2_12_ScalaTest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 2.12 and ScalaTest</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<relativePath>../integration_tests_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala213_JUnit</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala2_13_JUnit</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 2.13 and JUnit</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<relativePath>../integration_tests_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala213_ScalaTest</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala2_13_ScalaTest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 2.13 and ScalaTest</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,17 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala32Plus_ScalaTest</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala3_2_Plus_ScalaTest</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 3.2+ and ScalaTest</name>
<description>Test Scoverage Report using scala-maven-plugin, Scala 3.2+ and ScalaTest</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.3.1</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
</properties>

<build>
<plugins>
<plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,26 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_ScalaMavenPlugin_Scala32Plus_ScalaTest_ScalaVersion_Not_Set</artifactId>
<artifactId>test_ScalaMavenPlugin_Scala3_2_Plus_ScalaTest_ScalaVersion_Not_Set</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Test Scoverage Report using scala-maven-plugin, Scala 3.2+ and ScalaTest when scala.version is not set</name>
<description>Test Scoverage Report using scala-maven-plugin, Scala 3.2+ and ScalaTest when scala.version is not set</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version/>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
</properties>

<dependencies>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>${scala.library.artifact.id}</artifactId>
<version>3.3.1</version>
<version>3.5.2</version>
</dependency>
</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>test_Scala3_multimodule</artifactId>
<artifactId>test_aggregate_Scala3</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,17 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_Scala3_multimodule</artifactId>
<artifactId>test_aggregate_Scala3</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Test Scala 3 Multi-Module</name>
<description>Test Scala 3 Multi-Module</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.3.1</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<modules>
<module>module01</module>
</modules>
Expand Down
7 changes: 2 additions & 5 deletions src/it/test_exclusion_Scala3_3_3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_exclusion</artifactId>
Expand All @@ -18,10 +18,7 @@
<description>Test Scoverage exclusion</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.3.3</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
Expand Down
7 changes: 2 additions & 5 deletions src/it/test_exclusion_Scala3_3_4/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_exclusion</artifactId>
Expand All @@ -18,10 +18,7 @@
<description>Test Scoverage exclusion</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.3.4</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
Expand Down
7 changes: 2 additions & 5 deletions src/it/test_exclusion_Scala3_4_1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_exclusion</artifactId>
Expand All @@ -18,10 +18,7 @@
<description>Test Scoverage exclusion</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.4.1</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
Expand Down
7 changes: 2 additions & 5 deletions src/it/test_exclusion_Scala3_4_2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<parent>
<groupId>it.scoverage-maven-plugin</groupId>
<artifactId>integration_tests_parent</artifactId>
<artifactId>integration_tests_Scala3_parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../integration_tests_parent/pom.xml</relativePath>
<relativePath>../integration_tests_Scala3_parent/pom.xml</relativePath>
</parent>

<artifactId>test_exclusion</artifactId>
Expand All @@ -18,10 +18,7 @@
<description>Test Scoverage exclusion</description>

<properties>
<scala.compat.version>3</scala.compat.version>
<scala.version>3.4.2</scala.version>
<scala.library.artifact.id>scala3-library_3</scala.library.artifact.id>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
Expand Down