Skip to content

Commit ed19c90

Browse files
committed
Fixed coveralls support.
1 parent ddbec55 commit ed19c90

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

pom.xml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,11 @@
356356
<dataFile>${basedir}/target/coverage-reports/jacoco-unit.exec</dataFile>
357357
</configuration>
358358
</plugin>
359+
<plugin>
360+
<groupId>org.eluder.coveralls</groupId>
361+
<artifactId>coveralls-maven-plugin</artifactId>
362+
<version>2.2.0</version>
363+
</plugin>
359364
<plugin>
360365
<groupId>org.asciidoctor</groupId>
361366
<artifactId>asciidoctor-maven-plugin</artifactId>
@@ -443,6 +448,51 @@
443448
</issueManagement>
444449

445450
<profiles>
451+
<profile>
452+
<id>travis</id>
453+
<activation>
454+
<property>
455+
<name>env.TRAVIS</name>
456+
<value>true</value>
457+
</property>
458+
</activation>
459+
<build>
460+
<plugins>
461+
<plugin>
462+
<groupId>org.jacoco</groupId>
463+
<artifactId>jacoco-maven-plugin</artifactId>
464+
</plugin>
465+
<plugin>
466+
<groupId>org.eluder.coveralls</groupId>
467+
<artifactId>coveralls-maven-plugin</artifactId>
468+
</plugin>
469+
<plugin>
470+
<groupId>org.apache.maven.plugins</groupId>
471+
<artifactId>maven-javadoc-plugin</artifactId>
472+
<executions>
473+
<execution>
474+
<id>attach-javadocs</id>
475+
<goals>
476+
<goal>jar</goal>
477+
</goals>
478+
</execution>
479+
</executions>
480+
</plugin>
481+
<plugin>
482+
<groupId>org.apache.maven.plugins</groupId>
483+
<artifactId>maven-source-plugin</artifactId>
484+
<executions>
485+
<execution>
486+
<id>attach-sources</id>
487+
<goals>
488+
<goal>jar</goal>
489+
</goals>
490+
</execution>
491+
</executions>
492+
</plugin>
493+
</plugins>
494+
</build>
495+
</profile>
446496
<profile>
447497
<id>release-sign-artifacts</id>
448498
<activation>

0 commit comments

Comments
 (0)