1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <!--
4
+ Copyright 2014-2019 Grzegorz Slowikowski (gslowikowski at gmail dot com)
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License");
7
+ you may not use this file except in compliance with the License.
8
+ You may obtain a copy of the License at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ Unless required by applicable law or agreed to in writing,
13
+ software distributed under the License is distributed on an
14
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ KIND, either express or implied. See the License for the
16
+ specific language governing permissions and limitations
17
+ under the License.
18
+ -->
19
+
20
+ <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/xsd/maven-4.0.0.xsd" >
21
+
22
+ <modelVersion >4.0.0</modelVersion >
23
+ <groupId >org.scoverage.scoverage-maven-samples.simple</groupId >
24
+ <artifactId >scala-plugin-scala-2.13</artifactId >
25
+ <version >1.4.0-SNAPSHOT</version >
26
+ <packaging >jar</packaging >
27
+
28
+ <name >SCoverage Maven Samples : Simple : using Scala Maven Plugin and Scala 2.13</name >
29
+
30
+ <properties >
31
+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
32
+ <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
33
+
34
+ <scala .version>2.13.0</scala .version>
35
+
36
+ <junit .version>4.12</junit .version>
37
+
38
+ <compiler .plugin.version>3.8.0</compiler .plugin.version>
39
+ <project-info-reports .plugin.version>3.0.0</project-info-reports .plugin.version>
40
+ <site .plugin.version>3.7.1</site .plugin.version>
41
+ <surefire .plugin.version>2.22.1</surefire .plugin.version>
42
+
43
+ <scala .plugin.version>3.2.2</scala .plugin.version>
44
+ <scoverage .plugin.version>1.4.0</scoverage .plugin.version>
45
+ </properties >
46
+
47
+ <dependencies >
48
+ <dependency >
49
+ <groupId >org.scala-lang</groupId >
50
+ <artifactId >scala-library</artifactId >
51
+ <version >${scala.version} </version >
52
+ </dependency >
53
+
54
+ <dependency >
55
+ <groupId >junit</groupId >
56
+ <artifactId >junit</artifactId >
57
+ <version >${junit.version} </version >
58
+ <scope >test</scope >
59
+ </dependency >
60
+ </dependencies >
61
+
62
+ <build >
63
+ <sourceDirectory >${basedir} /src/main/scala</sourceDirectory >
64
+ <testSourceDirectory >${basedir} /src/test/scala</testSourceDirectory >
65
+
66
+ <plugins >
67
+ <plugin >
68
+ <groupId >org.apache.maven.plugins</groupId >
69
+ <artifactId >maven-compiler-plugin</artifactId >
70
+ <version >${compiler.plugin.version} </version >
71
+ <configuration >
72
+ <skipMain >true</skipMain > <!-- skip compile -->
73
+ <skip >true</skip > <!-- skip testCompile -->
74
+ </configuration >
75
+ </plugin >
76
+
77
+ <plugin >
78
+ <groupId >org.apache.maven.plugins</groupId >
79
+ <artifactId >maven-surefire-plugin</artifactId >
80
+ <version >${surefire.plugin.version} </version >
81
+ </plugin >
82
+
83
+ <plugin >
84
+ <groupId >net.alchim31.maven</groupId >
85
+ <artifactId >scala-maven-plugin</artifactId >
86
+ <version >${scala.plugin.version} </version >
87
+ <executions >
88
+ <execution >
89
+ <id >default-sbt-compile</id >
90
+ <goals >
91
+ <goal >compile</goal >
92
+ <goal >testCompile</goal >
93
+ </goals >
94
+ </execution >
95
+ </executions >
96
+ </plugin >
97
+
98
+ <plugin >
99
+ <groupId >org.scoverage</groupId >
100
+ <artifactId >scoverage-maven-plugin</artifactId >
101
+ <version >${scoverage.plugin.version} </version >
102
+ <configuration >
103
+ <highlighting >true</highlighting >
104
+ </configuration >
105
+ </plugin >
106
+ </plugins >
107
+
108
+ <pluginManagement >
109
+ <plugins >
110
+ <plugin >
111
+ <groupId >org.apache.maven.plugins</groupId >
112
+ <artifactId >maven-site-plugin</artifactId >
113
+ <version >${site.plugin.version} </version >
114
+ </plugin >
115
+ </plugins >
116
+ </pluginManagement >
117
+ </build >
118
+
119
+ <reporting >
120
+ <plugins >
121
+ <plugin >
122
+ <groupId >org.apache.maven.plugins</groupId >
123
+ <artifactId >maven-project-info-reports-plugin</artifactId >
124
+ <version >${project-info-reports.plugin.version} </version >
125
+ <reportSets >
126
+ <reportSet >
127
+ <reports >
128
+ <report >index</report >
129
+ </reports >
130
+ </reportSet >
131
+ </reportSets >
132
+ </plugin >
133
+
134
+ <plugin >
135
+ <groupId >org.scoverage</groupId >
136
+ <artifactId >scoverage-maven-plugin</artifactId >
137
+ <version >${scoverage.plugin.version} </version >
138
+ <reportSets >
139
+ <reportSet >
140
+ <reports >
141
+ <report >report</report > <!-- select only one report from: report, integration-report and report-only reporters -->
142
+ </reports >
143
+ </reportSet >
144
+ </reportSets >
145
+ </plugin >
146
+ </plugins >
147
+ </reporting >
148
+
149
+ </project >
0 commit comments