You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2019/12/30 02:00:17 UTC
[commons-dbutils] branch master updated: Duplicate travis-jacoco
profile to force dependency on jaxb-api to solve build with coveralls
This is an automated email from the ASF dual-hosted git repository.
thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git
The following commit(s) were added to refs/heads/master by this push:
new dd3cd5d Duplicate travis-jacoco profile to force dependency on jaxb-api to solve build with coveralls
dd3cd5d is described below
commit dd3cd5d1b080c6af2dc109a06ae02532df194ef1
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Dec 29 17:59:42 2019 -0800
Duplicate travis-jacoco profile to force dependency on jaxb-api to solve build with coveralls
---
pom.xml | 34 ++++++++++++++++++++++++++++------
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index 490d0a6..cf3db32 100644
--- a/pom.xml
+++ b/pom.xml
@@ -388,15 +388,37 @@
</site>
</distributionManagement>
</profile>
+
<profile>
- <id>java9</id>
+ <id>travis-jacoco</id>
<activation>
- <jdk>9</jdk>
+ <jdk>[1.9,)</jdk>
</activation>
- <properties>
- <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
- <coveralls.skip>true</coveralls.skip>
- </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${commons.jacoco.version}</version>
+ </plugin>
+ <plugin>
+ <groupId>org.eluder.coveralls</groupId>
+ <artifactId>coveralls-maven-plugin</artifactId>
+ <version>${commons.coveralls.version}</version>
+ <configuration>
+ <timestampFormat>${commons.coveralls.timestampFormat}</timestampFormat>
+ </configuration>
+ <dependencies>
+ <!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
+ <dependency>
+ <groupId>javax.xml.bind</groupId>
+ <artifactId>jaxb-api</artifactId>
+ <version>2.3.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
</profile>
</profiles>