|
1 | 1 | <?xml version="1.0"?>
|
2 |
| -<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"> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| 4 | + |
3 | 5 | <modelVersion>4.0.0</modelVersion>
|
4 | 6 |
|
5 | 7 | <parent>
|
|
12 | 14 | <artifactId>scalatest-maven-plugin</artifactId>
|
13 | 15 | <packaging>maven-plugin</packaging>
|
14 | 16 | <version>2.0.1-SNAPSHOT</version>
|
| 17 | + |
15 | 18 | <name>ScalaTest Maven Plugin</name>
|
16 | 19 | <description>Integrates ScalaTest into Maven</description>
|
17 | 20 |
|
18 | 21 | <properties>
|
19 | 22 | <scala.major.version>2.11</scala.major.version>
|
20 | 23 | <scala.minor.version>12</scala.minor.version>
|
21 | 24 | <scala.version>${scala.major.version}.${scala.minor.version}</scala.version>
|
| 25 | + |
22 | 26 | <scalatest.version>3.0.1</scalatest.version>
|
23 | 27 | <scala.maven.plugin.version>4.3.0</scala.maven.plugin.version>
|
| 28 | + |
24 | 29 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
25 | 30 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
| 31 | + |
26 | 32 | <build.timestamp>${maven.build.timestamp}</build.timestamp>
|
27 | 33 | <maven.build.timestamp.format>yyyy-MM-dd</maven.build.timestamp.format>
|
28 | 34 | <maven.gpg.plugin.version>1.6</maven.gpg.plugin.version>
|
|
32 | 38 | <junit.version>4.12</junit.version>
|
33 | 39 | <maven.reporting.api.version>3.0</maven.reporting.api.version>
|
34 | 40 | <maven.enforcer.plugin.version>1.4.1</maven.enforcer.plugin.version>
|
35 |
| - <java.version>6</java.version> |
| 41 | + |
| 42 | + <java.version>8</java.version> |
36 | 43 | </properties>
|
37 | 44 |
|
38 | 45 | <licenses>
|
|
129 | 136 | </pluginManagement>
|
130 | 137 |
|
131 | 138 | <plugins>
|
132 |
| - |
133 |
| - <plugin> |
134 |
| - <groupId>org.apache.maven.plugins</groupId> |
135 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
136 |
| - <version>2.7</version> |
137 |
| - <configuration> |
138 |
| - <additionalparam>-Xdoclint:none</additionalparam> |
139 |
| - </configuration> |
140 |
| - </plugin> |
141 |
| - |
142 | 139 | <plugin>
|
143 | 140 | <groupId>net.alchim31.maven</groupId>
|
144 | 141 | <artifactId>scala-maven-plugin</artifactId>
|
|
161 | 158 | <artifactId>maven-compiler-plugin</artifactId>
|
162 | 159 | <version>3.8.1</version>
|
163 | 160 | <configuration>
|
164 |
| - <source>1.${java.version}</source> |
165 |
| - <target>1.${java.version}</target> |
| 161 | + <source>${java.version}</source> |
| 162 | + <target>${java.version}</target> |
166 | 163 | </configuration>
|
167 | 164 | </plugin>
|
168 | 165 | <plugin>
|
|
194 | 191 | <pomIncludes>
|
195 | 192 | <pomInclude>lift/pom.xml</pomInclude>
|
196 | 193 | <pomInclude>spaces in path/pom.xml</pomInclude>
|
| 194 | + <pomInclude>redirect-output/pom.xml</pomInclude> |
197 | 195 | </pomIncludes>
|
198 | 196 | <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
|
199 | 197 | <streamLogs>true</streamLogs>
|
|
206 | 204 | </goals>
|
207 | 205 | </configuration>
|
208 | 206 | </plugin>
|
209 |
| - |
210 |
| - <plugin> |
211 |
| - <groupId>org.apache.maven.plugins</groupId> |
212 |
| - <artifactId>maven-gpg-plugin</artifactId> |
213 |
| - <version>${maven.gpg.plugin.version}</version> |
214 |
| - <executions> |
215 |
| - <execution> |
216 |
| - <id>sign-artifacts</id> |
217 |
| - <phase>verify</phase> |
218 |
| - <goals> |
219 |
| - <goal>sign</goal> |
220 |
| - </goals> |
221 |
| - </execution> |
222 |
| - </executions> |
223 |
| - </plugin> |
224 | 207 | <plugin>
|
225 | 208 | <groupId>org.apache.maven.plugins</groupId>
|
226 | 209 | <artifactId>maven-enforcer-plugin</artifactId>
|
|
245 | 228 | </plugins>
|
246 | 229 | </build>
|
247 | 230 |
|
248 |
| - <reporting> |
249 |
| - <plugins> |
250 |
| - <plugin> |
251 |
| - <groupId>org.apache.maven.plugins</groupId> |
252 |
| - <artifactId>maven-plugin-plugin</artifactId> |
253 |
| - <version>2.6</version> |
254 |
| - </plugin> |
255 |
| - <plugin> |
256 |
| - <groupId>org.codehaus.mojo</groupId> |
257 |
| - <artifactId>cobertura-maven-plugin</artifactId> |
258 |
| - <version>2.5.1</version> |
259 |
| - </plugin> |
260 |
| - <plugin> |
261 |
| - <groupId>org.apache.maven.plugins</groupId> |
262 |
| - <artifactId>maven-changes-plugin</artifactId> |
263 |
| - <version>2.6</version> |
264 |
| - <configuration> |
265 |
| - <filteringChanges>true</filteringChanges> |
266 |
| - </configuration> |
267 |
| - </plugin> |
268 |
| - <plugin> |
269 |
| - <groupId>org.apache.maven.plugins</groupId> |
270 |
| - <artifactId>maven-dependency-plugin</artifactId> |
271 |
| - <version>2.3</version> |
272 |
| - </plugin> |
273 |
| - <plugin> |
274 |
| - <groupId>org.apache.maven.plugins</groupId> |
275 |
| - <artifactId>maven-javadoc-plugin</artifactId> |
276 |
| - <version>2.7</version> |
277 |
| - <configuration> |
278 |
| - <charset>UTF-8</charset> |
279 |
| - <docencoding>UTF-8</docencoding> |
280 |
| - <docfilessubdirs>true</docfilessubdirs> |
281 |
| - <show>package</show> |
282 |
| - <source>1.${java.version}</source> |
283 |
| - <detectLinks>true</detectLinks> |
284 |
| - </configuration> |
285 |
| - </plugin> |
286 |
| - <plugin> |
287 |
| - <groupId>org.apache.maven.plugins</groupId> |
288 |
| - <artifactId>maven-jxr-plugin</artifactId> |
289 |
| - <version>2.2</version> |
290 |
| - <configuration> |
291 |
| - <inputEncoding>UTF-8</inputEncoding> |
292 |
| - <outputEncoding>UTF-8</outputEncoding> |
293 |
| - </configuration> |
294 |
| - </plugin> |
295 |
| - <plugin> |
296 |
| - <groupId>org.apache.maven.plugins</groupId> |
297 |
| - <artifactId>maven-surefire-report-plugin</artifactId> |
298 |
| - <version>2.5</version> |
299 |
| - </plugin> |
300 |
| - </plugins> |
301 |
| - </reporting> |
| 231 | + <profiles> |
| 232 | + <profile> |
| 233 | + <id>release</id> |
| 234 | + <build> |
| 235 | + <plugins> |
| 236 | + <plugin> |
| 237 | + <groupId>org.apache.maven.plugins</groupId> |
| 238 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 239 | + <version>2.7</version> |
| 240 | + <configuration> |
| 241 | + <additionalparam>-Xdoclint:none</additionalparam> |
| 242 | + </configuration> |
| 243 | + </plugin> |
| 244 | + <plugin> |
| 245 | + <groupId>org.apache.maven.plugins</groupId> |
| 246 | + <artifactId>maven-gpg-plugin</artifactId> |
| 247 | + <version>${maven.gpg.plugin.version}</version> |
| 248 | + <executions> |
| 249 | + <execution> |
| 250 | + <id>sign-artifacts</id> |
| 251 | + <phase>verify</phase> |
| 252 | + <goals> |
| 253 | + <goal>sign</goal> |
| 254 | + </goals> |
| 255 | + </execution> |
| 256 | + </executions> |
| 257 | + </plugin> |
| 258 | + </plugins> |
| 259 | + </build> |
| 260 | + <reporting> |
| 261 | + <plugins> |
| 262 | + <plugin> |
| 263 | + <groupId>org.apache.maven.plugins</groupId> |
| 264 | + <artifactId>maven-plugin-plugin</artifactId> |
| 265 | + <version>2.6</version> |
| 266 | + </plugin> |
| 267 | + <plugin> |
| 268 | + <groupId>org.codehaus.mojo</groupId> |
| 269 | + <artifactId>cobertura-maven-plugin</artifactId> |
| 270 | + <version>2.5.1</version> |
| 271 | + </plugin> |
| 272 | + <plugin> |
| 273 | + <groupId>org.apache.maven.plugins</groupId> |
| 274 | + <artifactId>maven-changes-plugin</artifactId> |
| 275 | + <version>2.6</version> |
| 276 | + <configuration> |
| 277 | + <filteringChanges>true</filteringChanges> |
| 278 | + </configuration> |
| 279 | + </plugin> |
| 280 | + <plugin> |
| 281 | + <groupId>org.apache.maven.plugins</groupId> |
| 282 | + <artifactId>maven-dependency-plugin</artifactId> |
| 283 | + <version>2.3</version> |
| 284 | + </plugin> |
| 285 | + <plugin> |
| 286 | + <groupId>org.apache.maven.plugins</groupId> |
| 287 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 288 | + <version>2.7</version> |
| 289 | + <configuration> |
| 290 | + <charset>UTF-8</charset> |
| 291 | + <docencoding>UTF-8</docencoding> |
| 292 | + <docfilessubdirs>true</docfilessubdirs> |
| 293 | + <show>package</show> |
| 294 | + <source>${java.version}</source> |
| 295 | + <detectLinks>true</detectLinks> |
| 296 | + </configuration> |
| 297 | + </plugin> |
| 298 | + <plugin> |
| 299 | + <groupId>org.apache.maven.plugins</groupId> |
| 300 | + <artifactId>maven-jxr-plugin</artifactId> |
| 301 | + <version>2.2</version> |
| 302 | + <configuration> |
| 303 | + <inputEncoding>UTF-8</inputEncoding> |
| 304 | + <outputEncoding>UTF-8</outputEncoding> |
| 305 | + </configuration> |
| 306 | + </plugin> |
| 307 | + <plugin> |
| 308 | + <groupId>org.apache.maven.plugins</groupId> |
| 309 | + <artifactId>maven-surefire-report-plugin</artifactId> |
| 310 | + <version>2.5</version> |
| 311 | + </plugin> |
| 312 | + </plugins> |
| 313 | + </reporting> |
| 314 | + </profile> |
| 315 | + </profiles> |
302 | 316 | </project>
|
0 commit comments