Skip to content

Commit 275e9ea

Browse files
committed
Revert code coverage change
1 parent a294031 commit 275e9ea

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ install:
3939

4040
script:
4141
- echo "Run Unit Tests"
42-
- mvn test
42+
- mvn org.jacoco:jacoco-maven-plugin:prepare-agent test
4343
- 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}"
4545
- mvn sonar:sonar -Dsonar.projectKey=org.utplsql:utplsql-maven-plugin
4646

4747
before_deploy:

pom.xml

-38
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
<powermock.version>2.0.0-beta.5</powermock.version>
5252
<ojdbc.version>19.3.0.0</ojdbc.version>
5353
<jaxb.version>2.3.1</jaxb.version>
54-
<jacoco.version>0.8.5</jacoco.version>
5554
</properties>
5655

5756
<dependencies>
@@ -233,31 +232,6 @@
233232
</build>
234233

235234
<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-
261235
<profile>
262236
<id>release</id>
263237

@@ -390,18 +364,6 @@
390364
</execution>
391365
</executions>
392366
</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>
405367
</plugins>
406368
</build>
407369
</profile>

0 commit comments

Comments
 (0)