Hi dear community,
i just tried to build the WebAPI 2.8.2 in a Docker Build-Image. After some minutes of downloading the packages the process fails with the following message:
“[ERROR] Failed to execute goal com.qmino:miredot-plugin:2.2:restdoc (default) on project WebAPI: Execution default of goal com.qmino:miredot-plugin:2.2:restdoc failed: Plugin com.qmino:miredot-plugin:2.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.6.0 at specified path /usr/local/openjdk-11/…/lib/tools.jar -> [Help 1]”
Has anybody experienced the same problem? Until now I used the direct download of the WebAPI.war, but wanted to switch over to the dockerized way.
First i downloaded the current release from github. Then I tried to build the API. Here is my maven command:
mvn clean package -s WebAPIConfig/settings.xml -P webapi-postgresql -DskipTests -DskipUnitTests=true -DskipITtests=true
Kind regards,
Mirko