Skip to content

Commit 14c538f

Browse files
pom.xml: add java 9 profile, use java 9 compatible jacoco version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1812886 13f79535-47bb-0310-9956-ffa450edef68
1 parent 14d1dd1 commit 14c538f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pom.xml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ limitations under the License.
238238
<checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
239239
<checkstyle.version>2.17</checkstyle.version>
240240
<commons.clirr.version>2.8</commons.clirr.version>
241+
<!-- use java 9 compatible jacoco version -->
242+
<commons.jacoco.version>0.7.9</commons.jacoco.version>
241243
</properties>
242244
<build>
243245
<pluginManagement>
@@ -406,5 +408,17 @@ limitations under the License.
406408
</plugins>
407409
</build>
408410
</profile>
411+
<profile>
412+
<id>java9</id>
413+
<activation>
414+
<jdk>9</jdk>
415+
</activation>
416+
<properties>
417+
<!-- versions below 3.0.0 do not work with java 9 -->
418+
<commons.javadoc.version>3.0.0-M1</commons.javadoc.version>
419+
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
420+
<coveralls.skip>true</coveralls.skip>
421+
</properties>
422+
</profile>
409423
</profiles>
410424
</project>

0 commit comments

Comments
 (0)