Cannot locally build Camunda-bpm-camel

I cloned camunda-bpm-camel on my “new” machine and fail to build it.

Problem: pom.xml section

<plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>${plugin.version.javadoc}</version>
          <configuration>
            <additionalparam>-Xdoclint:none</additionalparam>
            <encoding>${project.build.sourceEncoding}</encoding>
            <source>${project.build.java.target}</source>
          </configuration>
        </plugin>

states that <additionalParam> is not allowed

mvn clean compile|package then fails with

 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project camunda-bpm-camel-common: Fatal error compiling: invalid flag: --release -> [Help 1]

[ERROR]

Could this project be relying on a specific maven version? Mine is 3.6.3 … I created this issue to standardize this.

Ideas?

Could you please share the full POM.xml, let me build it locally.

just clone: GitHub - camunda/camunda-bpm-camel: Community Extension to add Apache Camel support for Camunda BPM

thanks

I tested maven build in two places.

  1. outside eclipse with maven build (mvn version-3.6.3). build failed.

  2. Imported into eclipse, tested with built-in maven. Able to compile and did not see any errors. Attached the screen.