File tree 2 files changed +2
-40
lines changed
2 files changed +2
-40
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ install:
39
39
40
40
script :
41
41
- echo "Run Unit Tests"
42
- - mvn test
42
+ - mvn org.jacoco:jacoco-maven-plugin:prepare-agent test
43
43
- echo "Run Integration Tests"
44
- - mvn verify -Pintegration -DdbUser="${DB_UT3_USER}" -DdbPass="${DB_UT3_PASS}" -DdbUrl="jdbc:oracle:thin:@${DB_URL}"
44
+ - mvn org.jacoco:jacoco-maven-plugin:prepare-agent verify -Pintegration -DdbUser="${DB_UT3_USER}" -DdbPass="${DB_UT3_PASS}" -DdbUrl="jdbc:oracle:thin:@${DB_URL}"
45
45
- mvn sonar:sonar -Dsonar.projectKey=org.utplsql:utplsql-maven-plugin
46
46
47
47
before_deploy :
Original file line number Diff line number Diff line change 51
51
<powermock .version>2.0.0-beta.5</powermock .version>
52
52
<ojdbc .version>19.3.0.0</ojdbc .version>
53
53
<jaxb .version>2.3.1</jaxb .version>
54
- <jacoco .version>0.8.5</jacoco .version>
55
54
</properties >
56
55
57
56
<dependencies >
233
232
</build >
234
233
235
234
<profiles >
236
- <profile >
237
- <id >default</id >
238
-
239
- <activation >
240
- <activeByDefault >true</activeByDefault >
241
- </activation >
242
-
243
- <build >
244
- <plugins >
245
- <plugin >
246
- <groupId >org.jacoco</groupId >
247
- <artifactId >jacoco-maven-plugin</artifactId >
248
- <version >${jacoco.version} </version >
249
- <executions >
250
- <execution >
251
- <goals >
252
- <goal >prepare-agent</goal >
253
- </goals >
254
- </execution >
255
- </executions >
256
- </plugin >
257
- </plugins >
258
- </build >
259
- </profile >
260
-
261
235
<profile >
262
236
<id >release</id >
263
237
390
364
</execution >
391
365
</executions >
392
366
</plugin >
393
- <plugin >
394
- <groupId >org.jacoco</groupId >
395
- <artifactId >jacoco-maven-plugin</artifactId >
396
- <version >${jacoco.version} </version >
397
- <executions >
398
- <execution >
399
- <goals >
400
- <goal >prepare-agent-integration</goal >
401
- </goals >
402
- </execution >
403
- </executions >
404
- </plugin >
405
367
</plugins >
406
368
</build >
407
369
</profile >
You can’t perform that action at this time.
0 commit comments