scalatest-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <version>2.2.0</version> </dependency>
<?xml version="1.0"?> <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>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>9</version> </parent> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <version>2.2.0</version> <name>ScalaTest Maven Plugin</name> <description>Integrates ScalaTest into Maven</description> <url>https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin</url> <properties> <scala.major.version>2.12</scala.major.version> <scala.minor.version>17</scala.minor.version> <scala.version>${scala.major.version}.${scala.minor.version}</scala.version> <scalatest.version>3.2.14</scalatest.version> <scala.maven.plugin.version>4.3.0</scala.maven.plugin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <build.timestamp>${maven.build.timestamp}</build.timestamp> <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format> <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version> <maven.project.info.reports.plugin.version>2.9</maven.project.info.reports.plugin.version> <maven.plugin.api.version>3.8.6</maven.plugin.api.version> <maven.core.version>3.8.6</maven.core.version> <junit.version>4.12</junit.version> <maven.reporting.api.version>3.1.1</maven.reporting.api.version> <maven.enforcer.plugin.version>1.4.1</maven.enforcer.plugin.version> <java.version>8</java.version> </properties> <licenses> <license> <name>the Apache License, ASL Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <scm> <url>https://github.com/scalatest/scalatest-maven-plugin</url> <connection>scm:git:git@github.com:scalatest/scalatest-maven-plugin.git</connection> <developerConnection>scm:git:git@github.com:scalatest/scalatest-maven-plugin.git</developerConnection> </scm> <developers> <developer> <id>teigen</id> <name>Jon-Anders Teigen</name> </developer> <developer> <id>trenchguinea</id> <name>Sean Griffin</name> <email>trenchguinea@gmail.com</email> </developer> <developer> <id>gcberger</id> <name>George Berger</name> </developer> <developer> <id>cheeseng</id> <name>Chua Chee Seng</name> </developer> <developer> <id>bvenners</id> <name>Bill Venners</name> </developer> </developers> <dependencies> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version>${maven.plugin.api.version}</version> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.core.version}</version> </dependency> <dependency> <groupId>org.apache.maven.reporting</groupId> <artifactId>maven-reporting-api</artifactId> <version>${maven.reporting.api.version}</version> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest-core_${scala.major.version}</artifactId> <version>${scalatest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest-shouldmatchers_${scala.major.version}</artifactId> <version>${scalatest.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scalatestplus</groupId> <artifactId>junit-4-13_${scala.major.version}</artifactId> <version>${scalatest.version}.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.major.version}.${scala.minor.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.github.stefanbirkner</groupId> <artifactId>system-rules</artifactId> <version>1.19.0</version> <scope>test</scope> </dependency> </dependencies> <build> <sourceDirectory>src/main/java</sourceDirectory> <testSourceDirectory>src/test/scala</testSourceDirectory> <pluginManagement> <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> <version>3.5.1</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>${scala.maven.plugin.version}</version> <configuration> <recompileMode>incremental</recompileMode> <scalaVersion>${scala.version}</scalaVersion> </configuration> <executions> <execution> <id>scala-test-compile</id> <phase>test-compile</phase> <goals> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.5</version> <configuration> <argLine>-enableassertions</argLine> </configuration> </plugin> <plugin> <artifactId>maven-invoker-plugin</artifactId> <version>1.3</version> <executions> <execution> <id>integration-test</id> <phase>integration-test</phase> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> <configuration> <skipInvocation>false</skipInvocation> <projectsDirectory>src/it</projectsDirectory> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <pomIncludes> <pomInclude>lift/pom.xml</pomInclude> <pomInclude>spaces in path/pom.xml</pomInclude> <pomInclude>redirect-output/pom.xml</pomInclude> <pomInclude>no-scalatest-ignore/pom.xml</pomInclude> </pomIncludes> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <streamLogs>true</streamLogs> <settingsFile>src/it/settings.xml</settingsFile> <postBuildHookScript>verify</postBuildHookScript> <goals> <goal>clean</goal> <goal>test</goal> <goal>site</goal> </goals> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>${maven.enforcer.plugin.version}</version> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <!-- We get this from scala-maven-plugin --> <version>[3.0.4,)</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <additionalparam>-Xdoclint:none</additionalparam> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven.gpg.plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> <version>2.6</version> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.5.1</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-changes-plugin</artifactId> <version>2.6</version> <configuration> <filteringChanges>true</filteringChanges> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.3</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.7</version> <configuration> <charset>UTF-8</charset> <docencoding>UTF-8</docencoding> <docfilessubdirs>true</docfilessubdirs> <show>package</show> <source>${java.version}</source> <detectLinks>true</detectLinks> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>2.2</version> <configuration> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-report-plugin</artifactId> <version>2.5</version> </plugin> </plugins> </reporting> </profile> </profiles> </project>