|
30 | 30 |
|
31 | 31 | <properties> |
32 | 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
33 | | - <maven.compiler.source>1.7</maven.compiler.source> |
34 | | - <maven.compiler.target>1.7</maven.compiler.target> |
| 33 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 34 | + <maven.compiler.target>1.8</maven.compiler.target> |
35 | 35 | </properties> |
36 | 36 |
|
37 | 37 | <distributionManagement> |
|
114 | 114 | <artifactId>maven-surefire-plugin</artifactId> |
115 | 115 | <version>2.19.1</version> |
116 | 116 | <configuration> |
| 117 | + <reuseForks>true</reuseForks> |
| 118 | + <argLine>-Xmx1024M ${argLine}</argLine> |
117 | 119 | </configuration> |
118 | 120 | </plugin> |
119 | 121 | <plugin> |
|
142 | 144 | <artifactId>coveralls-maven-plugin</artifactId> |
143 | 145 | <version>4.3.0</version> |
144 | 146 | </plugin> |
145 | | - <plugin> |
146 | | - <groupId>org.jacoco</groupId> |
147 | | - <artifactId>jacoco-maven-plugin</artifactId> |
148 | | - <version>0.8.7</version> |
149 | | - <configuration> |
150 | | - <destfile>${basedir}/target/coverage-reports/jacoco-unit.exec</destfile> |
151 | | - <datafile>${basedir}/target/coverage-reports/jacoco-unit.exec</datafile> |
152 | | - </configuration> |
153 | | - <executions> |
154 | | - <execution> |
155 | | - <id>prepare-integration-tests</id> |
156 | | - <phase>pre-integration-test</phase> |
157 | | - <goals> |
158 | | - <goal>prepare-agent</goal> |
159 | | - </goals> |
160 | | - </execution> |
161 | | - <execution> |
162 | | - <id>jacoco-site</id> |
163 | | - <phase>post-integration-test</phase> |
164 | | - <goals> |
165 | | - <goal>report</goal> |
166 | | - </goals> |
167 | | - </execution> |
168 | | - </executions> |
169 | | - </plugin> |
170 | 147 | <plugin> |
171 | 148 | <groupId>org.apache.maven.plugins</groupId> |
172 | 149 | <artifactId>maven-checkstyle-plugin</artifactId> |
|
203 | 180 | <serverPort>1080</serverPort> |
204 | 181 | <proxyPort>1090</proxyPort> |
205 | 182 | <logLevel>OFF</logLevel> |
206 | | - <pipLogToConsole>false</pipLogToConsole> |
207 | 183 | <initializationClass>org.mockserver.maven.ExampleInitializationClass</initializationClass> |
208 | | - <argLine>-Dmockserver.disableSystemOut="true"</argLine> |
209 | 184 | </configuration> |
210 | 185 | <executions> |
211 | 186 | <execution> |
|
275 | 250 | <target>11</target> |
276 | 251 | </configuration> |
277 | 252 | </plugin> |
| 253 | + <plugin> |
| 254 | + <groupId>org.jacoco</groupId> |
| 255 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 256 | + <version>0.8.4</version> |
| 257 | + <executions> |
| 258 | + <execution> |
| 259 | + <id>default-prepare-agent</id> |
| 260 | + <goals> |
| 261 | + <goal>prepare-agent</goal> |
| 262 | + </goals> |
| 263 | + </execution> |
| 264 | + <execution> |
| 265 | + <id>jacoco-report</id> |
| 266 | + <phase>test</phase> |
| 267 | + <goals> |
| 268 | + <goal>report</goal> |
| 269 | + </goals> |
| 270 | + </execution> |
| 271 | + </executions> |
| 272 | + </plugin> |
278 | 273 | </plugins> |
279 | 274 | </build> |
280 | 275 | </project> |
0 commit comments