Skip to content

Commit ff432ba

Browse files
committed
Tried to fix coveralls.
1 parent c277621 commit ff432ba

File tree

2 files changed

+47
-38
lines changed

2 files changed

+47
-38
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ jdk:
33
- oraclejdk8
44
after_success:
55
- mvn deploy -Dmaven.test.skip -DcreateDocs=true -s settings.xml
6-
- mvn clean test jacoco:report org.eluder.coveralls:coveralls-maven-plugin:jacoco -DsourceEncoding=UTF-8
6+
- mvn jacoco:report coveralls:jacoco -DsourceEncoding=UTF-8

pom.xml

Lines changed: 46 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -277,43 +277,52 @@
277277

278278

279279
<profiles>
280-
<profile>
281-
<id>release-createDocs</id>
282-
<activation>
283-
<property>
284-
<name>createDocs</name>
285-
<value>true</value>
286-
</property>
287-
</activation>
288-
<build>
289-
<plugins>
290-
<plugin>
291-
<groupId>org.apache.maven.plugins</groupId>
292-
<artifactId>maven-javadoc-plugin</artifactId>
293-
<executions>
294-
<execution>
295-
<id>attach-javadocs</id>
296-
<goals>
297-
<goal>jar</goal>
298-
</goals>
299-
</execution>
300-
</executions>
301-
</plugin>
302-
<plugin>
303-
<groupId>org.apache.maven.plugins</groupId>
304-
<artifactId>maven-source-plugin</artifactId>
305-
<executions>
306-
<execution>
307-
<id>attach-sources</id>
308-
<goals>
309-
<goal>jar</goal>
310-
</goals>
311-
</execution>
312-
</executions>
313-
</plugin>
314-
</plugins>
315-
</build>
316-
</profile>
280+
<profile>
281+
<id>travis</id>
282+
<activation>
283+
<property>
284+
<name>env.TRAVIS</name>
285+
<value>true</value>
286+
</property>
287+
</activation>
288+
<build>
289+
<plugins>
290+
<plugin>
291+
<groupId>org.jacoco</groupId>
292+
<artifactId>jacoco-maven-plugin</artifactId>
293+
</plugin>
294+
<plugin>
295+
<groupId>org.eluder.coveralls</groupId>
296+
<artifactId>coveralls-maven-plugin</artifactId>
297+
<version>2.2.0</version>
298+
</plugin>
299+
<plugin>
300+
<groupId>org.apache.maven.plugins</groupId>
301+
<artifactId>maven-javadoc-plugin</artifactId>
302+
<executions>
303+
<execution>
304+
<id>attach-javadocs</id>
305+
<goals>
306+
<goal>jar</goal>
307+
</goals>
308+
</execution>
309+
</executions>
310+
</plugin>
311+
<plugin>
312+
<groupId>org.apache.maven.plugins</groupId>
313+
<artifactId>maven-source-plugin</artifactId>
314+
<executions>
315+
<execution>
316+
<id>attach-sources</id>
317+
<goals>
318+
<goal>jar</goal>
319+
</goals>
320+
</execution>
321+
</executions>
322+
</plugin>
323+
</plugins>
324+
</build>
325+
</profile>
317326
<profile>
318327
<id>release-sign-artifacts</id>
319328
<activation>

0 commit comments

Comments
 (0)