build: Align versions with main Apiman build
Activate doclint:none with Java 8, not just Java 11.
Test against 8, 11, 15
MODIFY
.github/workflows/verify.yaml
.github/workflows/verify.yaml
@@ -21,14 +21,17 @@ jobs:
build-verify:
name: Verify Build
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 8, 11, 15 ]
if: github.repository_owner == 'Apiman'
steps:
- name: Checkout Code
uses: actions/checkout@v2
- - name: Set up JDK 11
+ - name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
- java-version: 11
+ java-version: ${{ matrix.java }}
- name: Build Project
run: mvn clean install -Dinvoker.skip -Dmaven.javadoc.skip=true -Dmvn.skip.test=true -DskipTests=true
- name: Run Tests

MODIFY
pom.xml
pom.xml
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm:ss</maven.build.timestamp.format>
- <version.apiman>2.0.0.Final</version.apiman>
- <version.javadoc.plugin>2.10.1</version.javadoc.plugin>
+ <version.apiman>2.0.1-SNAPSHOT</version.apiman>
+ <version.javadoc.plugin>3.2.0</version.javadoc.plugin>
<version.compiler.plugin>3.2</version.compiler.plugin>
<version.enforcer.plugin>1.4</version.enforcer.plugin>
<version.maven-gpg-plugin.plugin>1.5</version.maven-gpg-plugin.plugin>
<version.nexus-staging-maven-plugin.plugin>1.6.3</version.nexus-staging-maven-plugin.plugin>
<version.source.plugin>2.4</version.source.plugin>
- <version.resources.plugin>2.7</version.resources.plugin>
+ <version.resources.plugin>3.1.0</version.resources.plugin>
<version.war.plugin>2.5</version.war.plugin>
- <version.assembly.plugin>3.1.1</version.assembly.plugin>
+ <version.assembly.plugin>3.2.0</version.assembly.plugin>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<version.org.mockito>1.9.5</version.org.mockito>
- <version.junit>4.11</version.junit>
+ <version.junit>4.13.1</version.junit>
<version.commons-lang>2.6</version.commons-lang>
<version.commons-validator>1.6</version.commons-validator>
<profiles>
<profile>
- <id>java11</id>
+ <id>java8</id>
<activation>
- <jdk>[11,)</jdk>
+ <jdk>[1.8,)</jdk>
</activation>
<build>
<plugins>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
- <additionalparam>-Xdoclint:none</additionalparam>
+ <!-- Skip Javadoc errors that are fatal on Java 8+ -->
+ <doclint>none</doclint>
+ <!-- https://bugs.openjdk.java.net/browse/JDK-8212233 -->
+ <source>8</source>
</configuration>
</plugin>
</plugins>

build: Align versions with main Apiman build

Activate doclint:none with Java 8, not just Java 11.

Test against 8, 11, 15