Skip to content

Commit 98d1e01

Browse files
committed
OpenJdk8?
1 parent 57e3929 commit 98d1e01

File tree

8 files changed

+431
-35
lines changed

8 files changed

+431
-35
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
include:
1010
# 1.1 Semver check
1111
- stage: test
12-
jdk: openjdk8
12+
jdk: openjdk11
1313
script: mvn verify -Pcheck-semantic-version -DskipTests=true -DskipITs=true
1414
env: CHECK_SEMANTIC_VERSION=true
1515

@@ -24,7 +24,7 @@ jobs:
2424
- jdk: openjdk11
2525
script: mvn -q verify
2626

27-
# 1.3 Check javadoc. We need to use this version to properly detect errors.
27+
# 1.3 Check javadoc. This version should be used to build cucumber-jvm
2828
- jdk: openjdk11
2929
env: JAVADOC=true
3030
script:

archetype/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
<version>5.1.0-SNAPSHOT</version>
1010
</parent>
1111

12+
1213
<artifactId>cucumber-archetype</artifactId>
1314
<packaging>maven-archetype</packaging>
14-
<name>cucumber-archetype</name>
15+
<name>Cucumber JVM: Archetype</name>
1516
<description>Cucumber JVM: Maven Archetype</description>
1617

1718
<!-- Not used by this module, but used by the integration tests of

junit-platform-engine/pom.xml

+32-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34

45
<parent>
@@ -12,7 +13,7 @@
1213
<name>Cucumber-JVM: JUnit Platform Engine</name>
1314

1415
<properties>
15-
<project.Automatic-Module-Name>io.cucumber.junit.platform.engine</project.Automatic-Module-Name>
16+
<javadoc.java.version>11</javadoc.java.version>
1617
</properties>
1718

1819
<profiles>
@@ -83,4 +84,33 @@
8384
</dependency>
8485
</dependencies>
8586

87+
<build>
88+
<plugins>
89+
<plugin>
90+
<groupId>org.apache.maven.plugins</groupId>
91+
<artifactId>maven-jar-plugin</artifactId>
92+
<configuration combine.self="override">
93+
<!-- Ignore Automatic module name -->
94+
<archive>
95+
<manifestEntries>
96+
<Multi-Release>true</Multi-Release>
97+
</manifestEntries>
98+
</archive>
99+
</configuration>
100+
</plugin>
101+
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-javadoc-plugin</artifactId>
105+
<configuration>
106+
<source>8</source>
107+
<!-- Fails Javadoc generation-->
108+
<!-- <links>-->
109+
<!-- <link>https://junit.org/junit5/docs/current/api/</link>-->
110+
<!--</links>-->
111+
</configuration>
112+
</plugin>
113+
</plugins>
114+
</build>
115+
86116
</project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
module io.cucumber.junit.platform.engine {
2+
requires org.opentest4j;
3+
requires org.junit.platform.commons;
4+
requires org.apiguardian.api;
5+
6+
requires io.cucumber.core;
7+
8+
requires transitive org.junit.platform.engine;
9+
10+
exports io.cucumber.junit.platform.engine;
11+
12+
provides org.junit.platform.engine.TestEngine with io.cucumber.junit.platform.engine.CucumberTestEngine;
13+
14+
}

junit/pom.xml

+16-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23
<modelVersion>4.0.0</modelVersion>
34

45
<parent>
@@ -12,7 +13,6 @@
1213
<name>Cucumber-JVM: JUnit</name>
1314

1415
<dependencies>
15-
1616
<dependency>
1717
<groupId>org.apiguardian</groupId>
1818
<artifactId>apiguardian-api</artifactId>
@@ -45,4 +45,18 @@
4545
<properties>
4646
<project.Automatic-Module-Name>io.cucumber.junit</project.Automatic-Module-Name>
4747
</properties>
48+
49+
<build>
50+
<plugins>
51+
<plugin>
52+
<groupId>org.apache.maven.plugins</groupId>
53+
<artifactId>maven-javadoc-plugin</artifactId>
54+
<configuration>
55+
<links>
56+
<link>https://junit.org/junit4/javadoc/latest/</link>
57+
</links>
58+
</configuration>
59+
</plugin>
60+
</plugins>
61+
</build>
4862
</project>

openejb/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474

7575
<!--
7676
Using source level 1.7 in combination with openejb-core results in 'An unknown compilation
77-
error'. Use 1.6 instead and compile up to 1.7 to avoid this problem.
77+
error'. Use 1.6 instead and compile up to avoid this problem.
7878
-->
7979
<build>
8080
<plugins>

0 commit comments

Comments
 (0)