@@ -4,11 +4,11 @@ Usage Documentation
4
4
5
5
[[1]] Disable the maven-surefire-plugin
6
6
7
- [[2]] Configure this maven- scalatest-plugin to run in the test phase
7
+ [[2]] Configure this scalatest-maven -plugin to run in the test phase
8
8
9
9
[]
10
10
11
- To replace the maven-surefire-report-plugin with this plugin, simply add the maven- scalatest-plugin instead of
11
+ To replace the maven-surefire-report-plugin with this plugin, simply add the scalatest-maven -plugin instead of
12
12
the maven-surefire-report-plugin to the reporting section of the POM.
13
13
14
14
For example, in the build section of the POM, add something like the following:
@@ -29,7 +29,7 @@ Usage Documentation
29
29
<!-- Enable Scalatest -->
30
30
<plugin>
31
31
<groupId>org.scalatest</groupId>
32
- <artifactId>maven- scalatest-plugin</artifactId>
32
+ <artifactId>scalatest-maven -plugin</artifactId>
33
33
<executions>
34
34
<execution>
35
35
<goals>
@@ -50,7 +50,7 @@ Usage Documentation
50
50
on the maven-surefire-plugin. There is nothing inherently wrong in having Surefire run your
51
51
tests, but if you want all your tests to run through ScalaTest instead, then disabling Surefire
52
52
in this manner will keep your tests from running twice. Since the "test" goal of the
53
- maven- scalatest-plugin is tied to the test phase by default you do not need to do this explicitly
53
+ scalatest-maven -plugin is tied to the test phase by default you do not need to do this explicitly
54
54
in your POM.
55
55
56
56
Optionally, in the reporting section of the POM you can add something like the following:
@@ -61,7 +61,7 @@ Usage Documentation
61
61
62
62
<plugin>
63
63
<groupId>org.scalatest</groupId>
64
- <artifactId>maven- scalatest-plugin</artifactId>
64
+ <artifactId>scalatest-maven -plugin</artifactId>
65
65
<configuration>
66
66
<fileReporterOptions>...</fileReporterOptions>
67
67
</configuration>
@@ -110,7 +110,7 @@ Usage Documentation
110
110
...
111
111
<plugin>
112
112
<groupId>org.scalatest</groupId>
113
- <artifactId>maven- scalatest-plugin</artifactId>
113
+ <artifactId>scalatest-maven -plugin</artifactId>
114
114
<executions>
115
115
<execution>
116
116
<goals>
@@ -133,7 +133,7 @@ Usage Documentation
133
133
<plugins>
134
134
<plugin>
135
135
<groupId>org.scalatest</groupId>
136
- <artifactId>maven- scalatest-plugin</artifactId>
136
+ <artifactId>scalatest-maven -plugin</artifactId>
137
137
<executions>
138
138
<execution>
139
139
<goals>
@@ -173,4 +173,4 @@ Usage Documentation
173
173
The "reporter" goal does not support this level of customization, however, because it doesn't really apply.
174
174
Instead, this goal has a "fileReporterOptions" option that allows you to specify the formatting options to
175
175
pass to the FileReporter. The plugin itself controls the name of that file, and the location of the file
176
- is configured through the standard "reportOutputDirectory" as is convention in report goals of other plugins.
176
+ is configured through the standard "reportOutputDirectory" as is convention in report goals of other plugins.
0 commit comments