docker-maven icon indicating copy to clipboard operation
docker-maven copied to clipboard

Project build not working on new version 3.8.2

Open yellow-straw-hat opened this issue 3 years ago • 4 comments

Hello,

I'm using 3-amazoncorretto-11 as a base image, and since the new Maven version (3.8.2) our build is broken with the following error (using mvn clean install):

[ERROR] Failed to execute goal org.commonjava.maven.plugins:directory-maven-plugin:0.3.1:highest-basedir (directories) on project etoil-agences: Cannot find a single highest directory for this project set. First two candidates directories don't share a common root. -> [Help 1]

Note: we're using a multi module maven project.

yellow-straw-hat avatar Aug 17 '21 13:08 yellow-straw-hat

have you tried maven 3.8.2 outside of Docker?

carlossg avatar Aug 17 '21 14:08 carlossg

Yes, I have tried that on Windows and Linux platform using the maven binary, and still have the same issue. Other people are also impacted and seem to conclude to the same interpretation as me:

See: https://github.com/eclipse-ee4j/eclipselink/issues/1242

yellow-straw-hat avatar Aug 17 '21 14:08 yellow-straw-hat

this project is just about the Maven docker image, you should bring that up in the Apache Maven project jira or mailing list

carlossg avatar Aug 17 '21 18:08 carlossg

Looks like an issue with the org.commonjava.maven.plugins:directory-maven-plugin:0.3.1:highest-basedir (directories) on project etoil-agences: Cannot find a single highest directory for this project set....

khmarbaise avatar Oct 06 '21 12:10 khmarbaise